gr4vy 1.2.7__py3-none-any.whl → 1.2.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 +2 -2
- gr4vy/buyers_shipping_details.py +6 -6
- gr4vy/digital_wallets_sdk.py +6 -6
- gr4vy/domains.py +6 -6
- gr4vy/gift_cards_sdk.py +6 -6
- gr4vy/merchant_accounts_sdk.py +12 -0
- gr4vy/models/merchantaccount.py +6 -0
- gr4vy/models/merchantaccountcreate.py +6 -0
- gr4vy/models/merchantaccountupdate.py +6 -0
- gr4vy/payment_services_sdk.py +6 -6
- {gr4vy-1.2.7.dist-info → gr4vy-1.2.9.dist-info}/METADATA +3 -2
- {gr4vy-1.2.7.dist-info → gr4vy-1.2.9.dist-info}/RECORD +13 -13
- {gr4vy-1.2.7.dist-info → gr4vy-1.2.9.dist-info}/WHEEL +1 -1
gr4vy/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "gr4vy"
|
|
6
|
-
__version__: str = "1.2.
|
|
6
|
+
__version__: str = "1.2.9"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
8
|
__gen_version__: str = "2.698.4"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.2.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.2.9 2.698.4 1.0.0 gr4vy"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
gr4vy/buyers_shipping_details.py
CHANGED
|
@@ -1304,7 +1304,7 @@ class BuyersShippingDetails(BaseSDK):
|
|
|
1304
1304
|
server_url: Optional[str] = None,
|
|
1305
1305
|
timeout_ms: Optional[int] = None,
|
|
1306
1306
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1307
|
-
)
|
|
1307
|
+
):
|
|
1308
1308
|
r"""Delete a buyer's shipping details
|
|
1309
1309
|
|
|
1310
1310
|
Delete the shipping details associated to a specific buyer.
|
|
@@ -1391,8 +1391,8 @@ class BuyersShippingDetails(BaseSDK):
|
|
|
1391
1391
|
)
|
|
1392
1392
|
|
|
1393
1393
|
response_data: Any = None
|
|
1394
|
-
if utils.match_response(http_res, "
|
|
1395
|
-
return
|
|
1394
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1395
|
+
return
|
|
1396
1396
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1397
1397
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1398
1398
|
raise errors.Error400(response_data, http_res)
|
|
@@ -1450,7 +1450,7 @@ class BuyersShippingDetails(BaseSDK):
|
|
|
1450
1450
|
server_url: Optional[str] = None,
|
|
1451
1451
|
timeout_ms: Optional[int] = None,
|
|
1452
1452
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1453
|
-
)
|
|
1453
|
+
):
|
|
1454
1454
|
r"""Delete a buyer's shipping details
|
|
1455
1455
|
|
|
1456
1456
|
Delete the shipping details associated to a specific buyer.
|
|
@@ -1537,8 +1537,8 @@ class BuyersShippingDetails(BaseSDK):
|
|
|
1537
1537
|
)
|
|
1538
1538
|
|
|
1539
1539
|
response_data: Any = None
|
|
1540
|
-
if utils.match_response(http_res, "
|
|
1541
|
-
return
|
|
1540
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1541
|
+
return
|
|
1542
1542
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1543
1543
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1544
1544
|
raise errors.Error400(response_data, http_res)
|
gr4vy/digital_wallets_sdk.py
CHANGED
|
@@ -958,7 +958,7 @@ class DigitalWalletsSDK(BaseSDK):
|
|
|
958
958
|
server_url: Optional[str] = None,
|
|
959
959
|
timeout_ms: Optional[int] = None,
|
|
960
960
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
961
|
-
)
|
|
961
|
+
):
|
|
962
962
|
r"""Delete digital wallet
|
|
963
963
|
|
|
964
964
|
Delete a configured digital wallet.
|
|
@@ -1043,8 +1043,8 @@ class DigitalWalletsSDK(BaseSDK):
|
|
|
1043
1043
|
)
|
|
1044
1044
|
|
|
1045
1045
|
response_data: Any = None
|
|
1046
|
-
if utils.match_response(http_res, "
|
|
1047
|
-
return
|
|
1046
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1047
|
+
return
|
|
1048
1048
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1049
1049
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1050
1050
|
raise errors.Error400(response_data, http_res)
|
|
@@ -1101,7 +1101,7 @@ class DigitalWalletsSDK(BaseSDK):
|
|
|
1101
1101
|
server_url: Optional[str] = None,
|
|
1102
1102
|
timeout_ms: Optional[int] = None,
|
|
1103
1103
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1104
|
-
)
|
|
1104
|
+
):
|
|
1105
1105
|
r"""Delete digital wallet
|
|
1106
1106
|
|
|
1107
1107
|
Delete a configured digital wallet.
|
|
@@ -1186,8 +1186,8 @@ class DigitalWalletsSDK(BaseSDK):
|
|
|
1186
1186
|
)
|
|
1187
1187
|
|
|
1188
1188
|
response_data: Any = None
|
|
1189
|
-
if utils.match_response(http_res, "
|
|
1190
|
-
return
|
|
1189
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1190
|
+
return
|
|
1191
1191
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1192
1192
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1193
1193
|
raise errors.Error400(response_data, http_res)
|
gr4vy/domains.py
CHANGED
|
@@ -330,7 +330,7 @@ class Domains(BaseSDK):
|
|
|
330
330
|
server_url: Optional[str] = None,
|
|
331
331
|
timeout_ms: Optional[int] = None,
|
|
332
332
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
333
|
-
)
|
|
333
|
+
):
|
|
334
334
|
r"""Remove a digital wallet domain
|
|
335
335
|
|
|
336
336
|
Remove a digital wallet domain (Apple Pay only).
|
|
@@ -426,8 +426,8 @@ class Domains(BaseSDK):
|
|
|
426
426
|
)
|
|
427
427
|
|
|
428
428
|
response_data: Any = None
|
|
429
|
-
if utils.match_response(http_res, "
|
|
430
|
-
return
|
|
429
|
+
if utils.match_response(http_res, "204", "*"):
|
|
430
|
+
return
|
|
431
431
|
if utils.match_response(http_res, "400", "application/json"):
|
|
432
432
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
433
433
|
raise errors.Error400(response_data, http_res)
|
|
@@ -485,7 +485,7 @@ class Domains(BaseSDK):
|
|
|
485
485
|
server_url: Optional[str] = None,
|
|
486
486
|
timeout_ms: Optional[int] = None,
|
|
487
487
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
488
|
-
)
|
|
488
|
+
):
|
|
489
489
|
r"""Remove a digital wallet domain
|
|
490
490
|
|
|
491
491
|
Remove a digital wallet domain (Apple Pay only).
|
|
@@ -581,8 +581,8 @@ class Domains(BaseSDK):
|
|
|
581
581
|
)
|
|
582
582
|
|
|
583
583
|
response_data: Any = None
|
|
584
|
-
if utils.match_response(http_res, "
|
|
585
|
-
return
|
|
584
|
+
if utils.match_response(http_res, "204", "*"):
|
|
585
|
+
return
|
|
586
586
|
if utils.match_response(http_res, "400", "application/json"):
|
|
587
587
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
588
588
|
raise errors.Error400(response_data, http_res)
|
gr4vy/gift_cards_sdk.py
CHANGED
|
@@ -328,7 +328,7 @@ class GiftCardsSDK(BaseSDK):
|
|
|
328
328
|
server_url: Optional[str] = None,
|
|
329
329
|
timeout_ms: Optional[int] = None,
|
|
330
330
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
331
|
-
)
|
|
331
|
+
):
|
|
332
332
|
r"""Delete a gift card
|
|
333
333
|
|
|
334
334
|
Removes a gift card from our system.
|
|
@@ -413,8 +413,8 @@ class GiftCardsSDK(BaseSDK):
|
|
|
413
413
|
)
|
|
414
414
|
|
|
415
415
|
response_data: Any = None
|
|
416
|
-
if utils.match_response(http_res, "
|
|
417
|
-
return
|
|
416
|
+
if utils.match_response(http_res, "204", "*"):
|
|
417
|
+
return
|
|
418
418
|
if utils.match_response(http_res, "400", "application/json"):
|
|
419
419
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
420
420
|
raise errors.Error400(response_data, http_res)
|
|
@@ -471,7 +471,7 @@ class GiftCardsSDK(BaseSDK):
|
|
|
471
471
|
server_url: Optional[str] = None,
|
|
472
472
|
timeout_ms: Optional[int] = None,
|
|
473
473
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
474
|
-
)
|
|
474
|
+
):
|
|
475
475
|
r"""Delete a gift card
|
|
476
476
|
|
|
477
477
|
Removes a gift card from our system.
|
|
@@ -556,8 +556,8 @@ class GiftCardsSDK(BaseSDK):
|
|
|
556
556
|
)
|
|
557
557
|
|
|
558
558
|
response_data: Any = None
|
|
559
|
-
if utils.match_response(http_res, "
|
|
560
|
-
return
|
|
559
|
+
if utils.match_response(http_res, "204", "*"):
|
|
560
|
+
return
|
|
561
561
|
if utils.match_response(http_res, "400", "application/json"):
|
|
562
562
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
563
563
|
raise errors.Error400(response_data, http_res)
|
gr4vy/merchant_accounts_sdk.py
CHANGED
|
@@ -368,6 +368,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
368
368
|
amex_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
369
369
|
mastercard_network_tokens_requestor_id: OptionalNullable[str] = UNSET,
|
|
370
370
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
371
|
+
async_network_tokens_enabled: Optional[bool] = False,
|
|
371
372
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
372
373
|
server_url: Optional[str] = None,
|
|
373
374
|
timeout_ms: Optional[int] = None,
|
|
@@ -395,6 +396,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
395
396
|
:param amex_network_tokens_app_id: Application ID provided for American Express after onboarding to use Network Tokens.
|
|
396
397
|
:param mastercard_network_tokens_requestor_id: Requestor ID provided for Mastercard after onboarding to use Network Tokens.
|
|
397
398
|
:param mastercard_network_tokens_app_id: Application ID provided for Mastercard after onboarding to use Network Tokens.
|
|
399
|
+
:param async_network_tokens_enabled: When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing.
|
|
398
400
|
:param retries: Override the default retry configuration for this method
|
|
399
401
|
:param server_url: Override the default server URL for this method
|
|
400
402
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -427,6 +429,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
427
429
|
amex_network_tokens_app_id=amex_network_tokens_app_id,
|
|
428
430
|
mastercard_network_tokens_requestor_id=mastercard_network_tokens_requestor_id,
|
|
429
431
|
mastercard_network_tokens_app_id=mastercard_network_tokens_app_id,
|
|
432
|
+
async_network_tokens_enabled=async_network_tokens_enabled,
|
|
430
433
|
id=id,
|
|
431
434
|
display_name=display_name,
|
|
432
435
|
)
|
|
@@ -559,6 +562,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
559
562
|
amex_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
560
563
|
mastercard_network_tokens_requestor_id: OptionalNullable[str] = UNSET,
|
|
561
564
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
565
|
+
async_network_tokens_enabled: Optional[bool] = False,
|
|
562
566
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
563
567
|
server_url: Optional[str] = None,
|
|
564
568
|
timeout_ms: Optional[int] = None,
|
|
@@ -586,6 +590,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
586
590
|
:param amex_network_tokens_app_id: Application ID provided for American Express after onboarding to use Network Tokens.
|
|
587
591
|
:param mastercard_network_tokens_requestor_id: Requestor ID provided for Mastercard after onboarding to use Network Tokens.
|
|
588
592
|
:param mastercard_network_tokens_app_id: Application ID provided for Mastercard after onboarding to use Network Tokens.
|
|
593
|
+
:param async_network_tokens_enabled: When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing.
|
|
589
594
|
:param retries: Override the default retry configuration for this method
|
|
590
595
|
:param server_url: Override the default server URL for this method
|
|
591
596
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -618,6 +623,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
618
623
|
amex_network_tokens_app_id=amex_network_tokens_app_id,
|
|
619
624
|
mastercard_network_tokens_requestor_id=mastercard_network_tokens_requestor_id,
|
|
620
625
|
mastercard_network_tokens_app_id=mastercard_network_tokens_app_id,
|
|
626
|
+
async_network_tokens_enabled=async_network_tokens_enabled,
|
|
621
627
|
id=id,
|
|
622
628
|
display_name=display_name,
|
|
623
629
|
)
|
|
@@ -1031,6 +1037,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1031
1037
|
amex_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
1032
1038
|
mastercard_network_tokens_requestor_id: OptionalNullable[str] = UNSET,
|
|
1033
1039
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
1040
|
+
async_network_tokens_enabled: Optional[bool] = False,
|
|
1034
1041
|
display_name: OptionalNullable[str] = UNSET,
|
|
1035
1042
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1036
1043
|
server_url: Optional[str] = None,
|
|
@@ -1058,6 +1065,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1058
1065
|
:param amex_network_tokens_app_id: Application ID provided for American Express after onboarding to use Network Tokens.
|
|
1059
1066
|
:param mastercard_network_tokens_requestor_id: Requestor ID provided for Mastercard after onboarding to use Network Tokens.
|
|
1060
1067
|
:param mastercard_network_tokens_app_id: Application ID provided for Mastercard after onboarding to use Network Tokens.
|
|
1068
|
+
:param async_network_tokens_enabled: When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing.
|
|
1061
1069
|
:param display_name: The display name for the merchant account.
|
|
1062
1070
|
:param retries: Override the default retry configuration for this method
|
|
1063
1071
|
:param server_url: Override the default server URL for this method
|
|
@@ -1093,6 +1101,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1093
1101
|
amex_network_tokens_app_id=amex_network_tokens_app_id,
|
|
1094
1102
|
mastercard_network_tokens_requestor_id=mastercard_network_tokens_requestor_id,
|
|
1095
1103
|
mastercard_network_tokens_app_id=mastercard_network_tokens_app_id,
|
|
1104
|
+
async_network_tokens_enabled=async_network_tokens_enabled,
|
|
1096
1105
|
display_name=display_name,
|
|
1097
1106
|
),
|
|
1098
1107
|
)
|
|
@@ -1228,6 +1237,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1228
1237
|
amex_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
1229
1238
|
mastercard_network_tokens_requestor_id: OptionalNullable[str] = UNSET,
|
|
1230
1239
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET,
|
|
1240
|
+
async_network_tokens_enabled: Optional[bool] = False,
|
|
1231
1241
|
display_name: OptionalNullable[str] = UNSET,
|
|
1232
1242
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1233
1243
|
server_url: Optional[str] = None,
|
|
@@ -1255,6 +1265,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1255
1265
|
:param amex_network_tokens_app_id: Application ID provided for American Express after onboarding to use Network Tokens.
|
|
1256
1266
|
:param mastercard_network_tokens_requestor_id: Requestor ID provided for Mastercard after onboarding to use Network Tokens.
|
|
1257
1267
|
:param mastercard_network_tokens_app_id: Application ID provided for Mastercard after onboarding to use Network Tokens.
|
|
1268
|
+
:param async_network_tokens_enabled: When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing.
|
|
1258
1269
|
:param display_name: The display name for the merchant account.
|
|
1259
1270
|
:param retries: Override the default retry configuration for this method
|
|
1260
1271
|
:param server_url: Override the default server URL for this method
|
|
@@ -1290,6 +1301,7 @@ class MerchantAccountsSDK(BaseSDK):
|
|
|
1290
1301
|
amex_network_tokens_app_id=amex_network_tokens_app_id,
|
|
1291
1302
|
mastercard_network_tokens_requestor_id=mastercard_network_tokens_requestor_id,
|
|
1292
1303
|
mastercard_network_tokens_app_id=mastercard_network_tokens_app_id,
|
|
1304
|
+
async_network_tokens_enabled=async_network_tokens_enabled,
|
|
1293
1305
|
display_name=display_name,
|
|
1294
1306
|
),
|
|
1295
1307
|
)
|
gr4vy/models/merchantaccount.py
CHANGED
|
@@ -55,6 +55,8 @@ class MerchantAccountTypedDict(TypedDict):
|
|
|
55
55
|
r"""Requestor ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
56
56
|
mastercard_network_tokens_app_id: NotRequired[Nullable[str]]
|
|
57
57
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
58
|
+
async_network_tokens_enabled: NotRequired[bool]
|
|
59
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
class MerchantAccount(BaseModel):
|
|
@@ -129,6 +131,9 @@ class MerchantAccount(BaseModel):
|
|
|
129
131
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET
|
|
130
132
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
131
133
|
|
|
134
|
+
async_network_tokens_enabled: Optional[bool] = False
|
|
135
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
136
|
+
|
|
132
137
|
@model_serializer(mode="wrap")
|
|
133
138
|
def serialize_model(self, handler):
|
|
134
139
|
optional_fields = [
|
|
@@ -148,6 +153,7 @@ class MerchantAccount(BaseModel):
|
|
|
148
153
|
"amex_network_tokens_app_id",
|
|
149
154
|
"mastercard_network_tokens_requestor_id",
|
|
150
155
|
"mastercard_network_tokens_app_id",
|
|
156
|
+
"async_network_tokens_enabled",
|
|
151
157
|
]
|
|
152
158
|
nullable_fields = [
|
|
153
159
|
"loon_client_key",
|
|
@@ -47,6 +47,8 @@ class MerchantAccountCreateTypedDict(TypedDict):
|
|
|
47
47
|
r"""Requestor ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
48
48
|
mastercard_network_tokens_app_id: NotRequired[Nullable[str]]
|
|
49
49
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
50
|
+
async_network_tokens_enabled: NotRequired[bool]
|
|
51
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
50
52
|
|
|
51
53
|
|
|
52
54
|
class MerchantAccountCreate(BaseModel):
|
|
@@ -106,6 +108,9 @@ class MerchantAccountCreate(BaseModel):
|
|
|
106
108
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET
|
|
107
109
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
108
110
|
|
|
111
|
+
async_network_tokens_enabled: Optional[bool] = False
|
|
112
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
113
|
+
|
|
109
114
|
@model_serializer(mode="wrap")
|
|
110
115
|
def serialize_model(self, handler):
|
|
111
116
|
optional_fields = [
|
|
@@ -125,6 +130,7 @@ class MerchantAccountCreate(BaseModel):
|
|
|
125
130
|
"amex_network_tokens_app_id",
|
|
126
131
|
"mastercard_network_tokens_requestor_id",
|
|
127
132
|
"mastercard_network_tokens_app_id",
|
|
133
|
+
"async_network_tokens_enabled",
|
|
128
134
|
]
|
|
129
135
|
nullable_fields = [
|
|
130
136
|
"account_updater_request_encryption_key",
|
|
@@ -43,6 +43,8 @@ class MerchantAccountUpdateTypedDict(TypedDict):
|
|
|
43
43
|
r"""Requestor ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
44
44
|
mastercard_network_tokens_app_id: NotRequired[Nullable[str]]
|
|
45
45
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
46
|
+
async_network_tokens_enabled: NotRequired[bool]
|
|
47
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
46
48
|
display_name: NotRequired[Nullable[str]]
|
|
47
49
|
r"""The display name for the merchant account."""
|
|
48
50
|
|
|
@@ -98,6 +100,9 @@ class MerchantAccountUpdate(BaseModel):
|
|
|
98
100
|
mastercard_network_tokens_app_id: OptionalNullable[str] = UNSET
|
|
99
101
|
r"""Application ID provided for Mastercard after onboarding to use Network Tokens."""
|
|
100
102
|
|
|
103
|
+
async_network_tokens_enabled: Optional[bool] = False
|
|
104
|
+
r"""When enabled network tokens will be generated asynchronously and only used on subsequent transactions to speed up transaction processing."""
|
|
105
|
+
|
|
101
106
|
display_name: OptionalNullable[str] = UNSET
|
|
102
107
|
r"""The display name for the merchant account."""
|
|
103
108
|
|
|
@@ -120,6 +125,7 @@ class MerchantAccountUpdate(BaseModel):
|
|
|
120
125
|
"amex_network_tokens_app_id",
|
|
121
126
|
"mastercard_network_tokens_requestor_id",
|
|
122
127
|
"mastercard_network_tokens_app_id",
|
|
128
|
+
"async_network_tokens_enabled",
|
|
123
129
|
"display_name",
|
|
124
130
|
]
|
|
125
131
|
nullable_fields = [
|
gr4vy/payment_services_sdk.py
CHANGED
|
@@ -1492,7 +1492,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1492
1492
|
server_url: Optional[str] = None,
|
|
1493
1493
|
timeout_ms: Optional[int] = None,
|
|
1494
1494
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1495
|
-
)
|
|
1495
|
+
):
|
|
1496
1496
|
r"""Delete a configured payment service
|
|
1497
1497
|
|
|
1498
1498
|
Deletes all the configuration of a payment service.
|
|
@@ -1577,8 +1577,8 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1577
1577
|
)
|
|
1578
1578
|
|
|
1579
1579
|
response_data: Any = None
|
|
1580
|
-
if utils.match_response(http_res, "
|
|
1581
|
-
return
|
|
1580
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1581
|
+
return
|
|
1582
1582
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1583
1583
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1584
1584
|
raise errors.Error400(response_data, http_res)
|
|
@@ -1635,7 +1635,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1635
1635
|
server_url: Optional[str] = None,
|
|
1636
1636
|
timeout_ms: Optional[int] = None,
|
|
1637
1637
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1638
|
-
)
|
|
1638
|
+
):
|
|
1639
1639
|
r"""Delete a configured payment service
|
|
1640
1640
|
|
|
1641
1641
|
Deletes all the configuration of a payment service.
|
|
@@ -1720,8 +1720,8 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1720
1720
|
)
|
|
1721
1721
|
|
|
1722
1722
|
response_data: Any = None
|
|
1723
|
-
if utils.match_response(http_res, "
|
|
1724
|
-
return
|
|
1723
|
+
if utils.match_response(http_res, "204", "*"):
|
|
1724
|
+
return
|
|
1725
1725
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1726
1726
|
response_data = unmarshal_json_response(errors.Error400Data, http_res)
|
|
1727
1727
|
raise errors.Error400(response_data, http_res)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gr4vy
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.9
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Gr4vy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -9,6 +9,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
13
|
Requires-Dist: PyJWT (>=2.10.1,<3.0.0)
|
|
13
14
|
Requires-Dist: cryptography (>=45.0.7,<46.0.0)
|
|
14
15
|
Requires-Dist: httpcore (>=1.0.9)
|
|
@@ -2,7 +2,7 @@ gr4vy/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
|
|
2
2
|
gr4vy/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
gr4vy/_hooks/sdkhooks.py,sha256=3jKTs2B1lcAxBMJge9C-qL0RGbKGLcrHvikzi67Tbdo,2493
|
|
4
4
|
gr4vy/_hooks/types.py,sha256=0O7dbbolkiFAnHkNULvwoLsiXJu0_Wmhev163bvZbW8,3039
|
|
5
|
-
gr4vy/_version.py,sha256=
|
|
5
|
+
gr4vy/_version.py,sha256=5bIrnbp8InQlG0ljnJ6zGjvjjDH_i6efxmTazh7nu24,452
|
|
6
6
|
gr4vy/account_updater.py,sha256=mmTd25Oap80PBqQ3p4MvZ_buT5VS0zWc8s8cqfI7iyA,607
|
|
7
7
|
gr4vy/all.py,sha256=WwnLoNn3RgXNpf4Xoz12ct94JD7NMpLz-kzesHHh4m8,15172
|
|
8
8
|
gr4vy/audit_logs.py,sha256=duh_c9mO8vIcpCnB-c77EYn1tkuCp1cRT6a7l0VdZqc,17083
|
|
@@ -12,11 +12,11 @@ gr4vy/basesdk.py,sha256=blX6OgKfbCxGZ93GxJuXZaAOmfdIoi-yLHe8Zo5Wg1o,12173
|
|
|
12
12
|
gr4vy/buyers_gift_cards.py,sha256=TRQD2w-J82928Q8htFgnJ-Ulr7_1K4EsGayL-9NO84U,14114
|
|
13
13
|
gr4vy/buyers_payment_methods.py,sha256=lhYTmPxRo0b5_wvotz9NtfAJjfqd8fJ9pOvDdHv7PlY,15591
|
|
14
14
|
gr4vy/buyers_sdk.py,sha256=wM3pV27ggMN-eHfAmYQZGZJDdhg595feT0PKSYA-mkc,73594
|
|
15
|
-
gr4vy/buyers_shipping_details.py,sha256=
|
|
15
|
+
gr4vy/buyers_shipping_details.py,sha256=wEy-lJMgkWWejfDFZF7HiqCMXbqfz5AczmVVjNdRG_0,73277
|
|
16
16
|
gr4vy/card_scheme_definitions_sdk.py,sha256=qwoymeumRGbAi1G3rGPh-BRqsCaXEB-IQcTN0MNaekc,13639
|
|
17
17
|
gr4vy/checkout_sessions.py,sha256=njjoKuvOUSH09Rhw0vfrwbvBTPUYzLcoP-DE-NOZn34,57130
|
|
18
|
-
gr4vy/digital_wallets_sdk.py,sha256=
|
|
19
|
-
gr4vy/domains.py,sha256=
|
|
18
|
+
gr4vy/digital_wallets_sdk.py,sha256=ulzlFA1S3z0FNEwNaWiz6ircxyMUzedl1OH40zXLU0A,71111
|
|
19
|
+
gr4vy/domains.py,sha256=woz1r5DIqIo_Jd3J3Dbi1-Eths-k7f0R5Y5QBhMZ_Qw,28464
|
|
20
20
|
gr4vy/errors/__init__.py,sha256=ZDz7v86-UM-FLysIfPwSWRu-TH_1Xfu8xo8SCpVeFY8,3697
|
|
21
21
|
gr4vy/errors/apierror.py,sha256=X02Mmcfuc3odGA3Z5jU2Y1kIBeOfJ5jiady0f7xMBTQ,1273
|
|
22
22
|
gr4vy/errors/error400.py,sha256=SHVmNY_b_CrCU_yWu_I_CeCM_NW4gPFPOmRgWJmm1IQ,1532
|
|
@@ -36,10 +36,10 @@ gr4vy/errors/no_response_error.py,sha256=Kb7hmMtDo72KrLSjUEDNeQxvzZiVxUjOZym8TPd
|
|
|
36
36
|
gr4vy/errors/responsevalidationerror.py,sha256=qPWwBjicfLUExXdnpczJtnM0dxvIypEz2xoIF3SWlPM,740
|
|
37
37
|
gr4vy/events.py,sha256=BIMBWIzunyVMD86pj2zzWaUd_o5WY1MQZN77uxHe7es,14735
|
|
38
38
|
gr4vy/executions.py,sha256=fd0PCYJAMMoqisRSKoEdPVfMetgrHzVVhJFI8UCzKsM,43128
|
|
39
|
-
gr4vy/gift_cards_sdk.py,sha256=
|
|
39
|
+
gr4vy/gift_cards_sdk.py,sha256=vAyP-0LNSYKvgLQ0k6QQ-cj-cW2NN7cu2ekj5b3zJkI,57411
|
|
40
40
|
gr4vy/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
41
41
|
gr4vy/jobs.py,sha256=WHx0epnlxOMHFSXTJPwuI5dhOO_acGTX72Lbz6fvD8A,14565
|
|
42
|
-
gr4vy/merchant_accounts_sdk.py,sha256=
|
|
42
|
+
gr4vy/merchant_accounts_sdk.py,sha256=itqNYsJi_j9qGVSRvfbP1gYjbLbOIpy-6qRWhrqofOk,82247
|
|
43
43
|
gr4vy/models/__init__.py,sha256=JbrNyHNBK8OlW3Kfhcbk5auLFgXnT4RAKD8FBxc0bDI,131370
|
|
44
44
|
gr4vy/models/accountsreceivablesreportspec.py,sha256=X4YKJ5TII4KFi1I47BYt1Egxsfs84EaqXsb7g90IpLw,1012
|
|
45
45
|
gr4vy/models/accountupdaterinquirysummary.py,sha256=rOJn5uG7cNFUkd6BbsAve6ueUlAJzU5_d_zeDu6RBTg,1097
|
|
@@ -237,10 +237,10 @@ gr4vy/models/list_transaction_refundsop.py,sha256=-JDjz-RkU744XcBZ3m7IN1ZIL0WqZM
|
|
|
237
237
|
gr4vy/models/list_transaction_settlementsop.py,sha256=iS5odOFlm4uCMMmcrWDe5Sj6EQCLjubLpaw8zscx6-g,1579
|
|
238
238
|
gr4vy/models/list_transactionsop.py,sha256=55Zgymc890E9lw8yQoF7ViPjdGRGOboPJwUMGox7mYs,23050
|
|
239
239
|
gr4vy/models/mattildatapioptions.py,sha256=wa-shCYz4U-ajmufnoPmuibVD80JqtbIiZOH58zAQKw,1854
|
|
240
|
-
gr4vy/models/merchantaccount.py,sha256=
|
|
241
|
-
gr4vy/models/merchantaccountcreate.py,sha256=
|
|
240
|
+
gr4vy/models/merchantaccount.py,sha256=fBsLDcgStLJpTqTqm8-39Jwohp7tfpC9az1yfybjpW0,13927
|
|
241
|
+
gr4vy/models/merchantaccountcreate.py,sha256=GebggG-UD4Y_WHOArZ9FoogOMFn-W2SNdR43S9r-cj8,13234
|
|
242
242
|
gr4vy/models/merchantaccounts.py,sha256=fjYB6sA9GmjfV67nF9PcI-4I9iBgFsGujoK4PO3TGPY,2203
|
|
243
|
-
gr4vy/models/merchantaccountupdate.py,sha256=
|
|
243
|
+
gr4vy/models/merchantaccountupdate.py,sha256=b0i1z4ejWH-cLZ6pDW2fDrvCFyzWibYNq0BidY8-R9s,13226
|
|
244
244
|
gr4vy/models/merchantprofilescheme.py,sha256=1HteYG6DIYW2vOsAKuc-MRDrcPd0hDOHncSS6vzwEBA,1328
|
|
245
245
|
gr4vy/models/merchantprofileschemesummary.py,sha256=n5RpSe8APDVRmI-2a4DwBhPLQD9FD-1_rQZGxJ6oehs,1583
|
|
246
246
|
gr4vy/models/method.py,sha256=oOfRA8yoNFB4t3hk_zdIrENIRP_rQEIXLsDwv7Nf3zY,2254
|
|
@@ -396,7 +396,7 @@ gr4vy/payment_methods_payment_service_tokens.py,sha256=NO2Fip0_Aa3CQfvgBC9_5oZNr
|
|
|
396
396
|
gr4vy/payment_methods_sdk.py,sha256=959dmJ4abMxFr2AUNjzIdz3VwK8Odc8ssYoDFp8sI5M,58100
|
|
397
397
|
gr4vy/payment_options_sdk.py,sha256=i8_MNRvP2_0I0WK0fH_hcuORYbEWOTpNnvvvdHnLBi8,17079
|
|
398
398
|
gr4vy/payment_service_definitions_sdk.py,sha256=5Y3tHmcNtdwaJuJiUnUrzoR7GnG3DiNBK8CIx7pYbRc,41314
|
|
399
|
-
gr4vy/payment_services_sdk.py,sha256=
|
|
399
|
+
gr4vy/payment_services_sdk.py,sha256=aZxa9wlzYxbxe1KiaEdG_aqcjvU9L4HbGW6CLqdTyCo,113678
|
|
400
400
|
gr4vy/payouts.py,sha256=1Ai0JM0K-9TdnfdxMXVRcjG5VYpLcumqXUe8GTD5gbk,47745
|
|
401
401
|
gr4vy/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
402
402
|
gr4vy/refunds_sdk.py,sha256=kpU3NaVMsgKxhWblTF-jfAl_Cdpw1HqARP81TypFsjs,13551
|
|
@@ -428,6 +428,6 @@ gr4vy/utils/unmarshal_json_response.py,sha256=H7jxugtMDuagdBXdpGiPf0Vr5-PWLETp8B
|
|
|
428
428
|
gr4vy/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
429
429
|
gr4vy/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
430
430
|
gr4vy/webhooks.py,sha256=2L-ZhdK-XU2X0AkVqgZvhfRqDCKUVs7R4UNCmZJR78w,1359
|
|
431
|
-
gr4vy-1.2.
|
|
432
|
-
gr4vy-1.2.
|
|
433
|
-
gr4vy-1.2.
|
|
431
|
+
gr4vy-1.2.9.dist-info/METADATA,sha256=FbZyHiXRKeo149S90Ij9Na4ci-avLLXaR2AEDiB_3d0,44202
|
|
432
|
+
gr4vy-1.2.9.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
433
|
+
gr4vy-1.2.9.dist-info/RECORD,,
|