gr4vy 1.9.1__py3-none-any.whl → 1.10.1__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/all.py +2 -0
- gr4vy/audit_logs.py +2 -0
- gr4vy/balances.py +2 -0
- gr4vy/basesdk.py +6 -0
- gr4vy/buyers_gift_cards.py +2 -0
- gr4vy/buyers_payment_methods.py +2 -0
- gr4vy/buyers_sdk.py +10 -0
- gr4vy/buyers_shipping_details.py +10 -0
- gr4vy/card_scheme_definitions_sdk.py +2 -0
- gr4vy/checkout_sessions.py +8 -0
- gr4vy/digital_wallets_sdk.py +10 -0
- gr4vy/domains.py +4 -0
- gr4vy/events.py +2 -0
- gr4vy/executions.py +6 -0
- gr4vy/gift_cards_sdk.py +8 -0
- gr4vy/jobs.py +2 -0
- gr4vy/merchant_accounts_sdk.py +8 -0
- gr4vy/models/paymentlink.py +13 -0
- gr4vy/models/paymentlinkcreate.py +13 -0
- gr4vy/network_tokens_cryptogram.py +2 -0
- gr4vy/payment_links_sdk.py +20 -0
- gr4vy/payment_methods_network_tokens.py +10 -0
- gr4vy/payment_methods_payment_service_tokens.py +6 -0
- gr4vy/payment_methods_sdk.py +8 -0
- gr4vy/payment_options_sdk.py +2 -0
- gr4vy/payment_service_definitions_sdk.py +6 -0
- gr4vy/payment_services_sdk.py +14 -0
- gr4vy/payouts.py +6 -0
- gr4vy/refunds_sdk.py +2 -0
- gr4vy/report_executions_sdk.py +2 -0
- gr4vy/reports_sdk.py +8 -0
- gr4vy/sessions.py +6 -0
- gr4vy/transactions.py +16 -0
- gr4vy/transactions_refunds.py +6 -0
- gr4vy/transactions_settlements.py +4 -0
- gr4vy/utils/forms.py +21 -10
- gr4vy/utils/queryparams.py +14 -2
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.1.dist-info}/METADATA +33 -33
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.1.dist-info}/RECORD +41 -41
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.1.dist-info}/WHEEL +0 -0
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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
gr4vy/transactions.py
CHANGED
|
@@ -217,6 +217,7 @@ class Transactions(BaseSDK):
|
|
|
217
217
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
218
218
|
),
|
|
219
219
|
security=self.sdk_configuration.security,
|
|
220
|
+
allow_empty_value=None,
|
|
220
221
|
timeout_ms=timeout_ms,
|
|
221
222
|
)
|
|
222
223
|
|
|
@@ -556,6 +557,7 @@ class Transactions(BaseSDK):
|
|
|
556
557
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
557
558
|
),
|
|
558
559
|
security=self.sdk_configuration.security,
|
|
560
|
+
allow_empty_value=None,
|
|
559
561
|
timeout_ms=timeout_ms,
|
|
560
562
|
)
|
|
561
563
|
|
|
@@ -963,6 +965,7 @@ class Transactions(BaseSDK):
|
|
|
963
965
|
"json",
|
|
964
966
|
models.TransactionCreate,
|
|
965
967
|
),
|
|
968
|
+
allow_empty_value=None,
|
|
966
969
|
timeout_ms=timeout_ms,
|
|
967
970
|
)
|
|
968
971
|
|
|
@@ -1303,6 +1306,7 @@ class Transactions(BaseSDK):
|
|
|
1303
1306
|
"json",
|
|
1304
1307
|
models.TransactionCreate,
|
|
1305
1308
|
),
|
|
1309
|
+
allow_empty_value=None,
|
|
1306
1310
|
timeout_ms=timeout_ms,
|
|
1307
1311
|
)
|
|
1308
1312
|
|
|
@@ -1446,6 +1450,7 @@ class Transactions(BaseSDK):
|
|
|
1446
1450
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1447
1451
|
),
|
|
1448
1452
|
security=self.sdk_configuration.security,
|
|
1453
|
+
allow_empty_value=None,
|
|
1449
1454
|
timeout_ms=timeout_ms,
|
|
1450
1455
|
)
|
|
1451
1456
|
|
|
@@ -1593,6 +1598,7 @@ class Transactions(BaseSDK):
|
|
|
1593
1598
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1594
1599
|
),
|
|
1595
1600
|
security=self.sdk_configuration.security,
|
|
1601
|
+
allow_empty_value=None,
|
|
1596
1602
|
timeout_ms=timeout_ms,
|
|
1597
1603
|
)
|
|
1598
1604
|
|
|
@@ -1766,6 +1772,7 @@ class Transactions(BaseSDK):
|
|
|
1766
1772
|
"json",
|
|
1767
1773
|
models.TransactionUpdate,
|
|
1768
1774
|
),
|
|
1775
|
+
allow_empty_value=None,
|
|
1769
1776
|
timeout_ms=timeout_ms,
|
|
1770
1777
|
)
|
|
1771
1778
|
|
|
@@ -1935,6 +1942,7 @@ class Transactions(BaseSDK):
|
|
|
1935
1942
|
"json",
|
|
1936
1943
|
models.TransactionUpdate,
|
|
1937
1944
|
),
|
|
1945
|
+
allow_empty_value=None,
|
|
1938
1946
|
timeout_ms=timeout_ms,
|
|
1939
1947
|
)
|
|
1940
1948
|
|
|
@@ -2100,6 +2108,7 @@ class Transactions(BaseSDK):
|
|
|
2100
2108
|
"json",
|
|
2101
2109
|
models.TransactionCaptureCreate,
|
|
2102
2110
|
),
|
|
2111
|
+
allow_empty_value=None,
|
|
2103
2112
|
timeout_ms=timeout_ms,
|
|
2104
2113
|
)
|
|
2105
2114
|
|
|
@@ -2265,6 +2274,7 @@ class Transactions(BaseSDK):
|
|
|
2265
2274
|
"json",
|
|
2266
2275
|
models.TransactionCaptureCreate,
|
|
2267
2276
|
),
|
|
2277
|
+
allow_empty_value=None,
|
|
2268
2278
|
timeout_ms=timeout_ms,
|
|
2269
2279
|
)
|
|
2270
2280
|
|
|
@@ -2411,6 +2421,7 @@ class Transactions(BaseSDK):
|
|
|
2411
2421
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
2412
2422
|
),
|
|
2413
2423
|
security=self.sdk_configuration.security,
|
|
2424
|
+
allow_empty_value=None,
|
|
2414
2425
|
timeout_ms=timeout_ms,
|
|
2415
2426
|
)
|
|
2416
2427
|
|
|
@@ -2557,6 +2568,7 @@ class Transactions(BaseSDK):
|
|
|
2557
2568
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
2558
2569
|
),
|
|
2559
2570
|
security=self.sdk_configuration.security,
|
|
2571
|
+
allow_empty_value=None,
|
|
2560
2572
|
timeout_ms=timeout_ms,
|
|
2561
2573
|
)
|
|
2562
2574
|
|
|
@@ -2700,6 +2712,7 @@ class Transactions(BaseSDK):
|
|
|
2700
2712
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
2701
2713
|
),
|
|
2702
2714
|
security=self.sdk_configuration.security,
|
|
2715
|
+
allow_empty_value=None,
|
|
2703
2716
|
timeout_ms=timeout_ms,
|
|
2704
2717
|
)
|
|
2705
2718
|
|
|
@@ -2843,6 +2856,7 @@ class Transactions(BaseSDK):
|
|
|
2843
2856
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
2844
2857
|
),
|
|
2845
2858
|
security=self.sdk_configuration.security,
|
|
2859
|
+
allow_empty_value=None,
|
|
2846
2860
|
timeout_ms=timeout_ms,
|
|
2847
2861
|
)
|
|
2848
2862
|
|
|
@@ -2986,6 +3000,7 @@ class Transactions(BaseSDK):
|
|
|
2986
3000
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
2987
3001
|
),
|
|
2988
3002
|
security=self.sdk_configuration.security,
|
|
3003
|
+
allow_empty_value=None,
|
|
2989
3004
|
timeout_ms=timeout_ms,
|
|
2990
3005
|
)
|
|
2991
3006
|
|
|
@@ -3129,6 +3144,7 @@ class Transactions(BaseSDK):
|
|
|
3129
3144
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
3130
3145
|
),
|
|
3131
3146
|
security=self.sdk_configuration.security,
|
|
3147
|
+
allow_empty_value=None,
|
|
3132
3148
|
timeout_ms=timeout_ms,
|
|
3133
3149
|
)
|
|
3134
3150
|
|
gr4vy/transactions_refunds.py
CHANGED
|
@@ -76,6 +76,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
76
76
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
77
77
|
),
|
|
78
78
|
security=self.sdk_configuration.security,
|
|
79
|
+
allow_empty_value=None,
|
|
79
80
|
timeout_ms=timeout_ms,
|
|
80
81
|
)
|
|
81
82
|
|
|
@@ -223,6 +224,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
223
224
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
224
225
|
),
|
|
225
226
|
security=self.sdk_configuration.security,
|
|
227
|
+
allow_empty_value=None,
|
|
226
228
|
timeout_ms=timeout_ms,
|
|
227
229
|
)
|
|
228
230
|
|
|
@@ -394,6 +396,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
394
396
|
"json",
|
|
395
397
|
models.TransactionRefundCreate,
|
|
396
398
|
),
|
|
399
|
+
allow_empty_value=None,
|
|
397
400
|
timeout_ms=timeout_ms,
|
|
398
401
|
)
|
|
399
402
|
|
|
@@ -561,6 +564,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
561
564
|
"json",
|
|
562
565
|
models.TransactionRefundCreate,
|
|
563
566
|
),
|
|
567
|
+
allow_empty_value=None,
|
|
564
568
|
timeout_ms=timeout_ms,
|
|
565
569
|
)
|
|
566
570
|
|
|
@@ -707,6 +711,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
707
711
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
708
712
|
),
|
|
709
713
|
security=self.sdk_configuration.security,
|
|
714
|
+
allow_empty_value=None,
|
|
710
715
|
timeout_ms=timeout_ms,
|
|
711
716
|
)
|
|
712
717
|
|
|
@@ -857,6 +862,7 @@ class TransactionsRefunds(BaseSDK):
|
|
|
857
862
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
858
863
|
),
|
|
859
864
|
security=self.sdk_configuration.security,
|
|
865
|
+
allow_empty_value=None,
|
|
860
866
|
timeout_ms=timeout_ms,
|
|
861
867
|
)
|
|
862
868
|
|
|
@@ -65,6 +65,7 @@ class TransactionsSettlements(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
|
|
|
@@ -215,6 +216,7 @@ class TransactionsSettlements(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
|
|
|
@@ -362,6 +364,7 @@ class TransactionsSettlements(BaseSDK):
|
|
|
362
364
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
363
365
|
),
|
|
364
366
|
security=self.sdk_configuration.security,
|
|
367
|
+
allow_empty_value=None,
|
|
365
368
|
timeout_ms=timeout_ms,
|
|
366
369
|
)
|
|
367
370
|
|
|
@@ -509,6 +512,7 @@ class TransactionsSettlements(BaseSDK):
|
|
|
509
512
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
510
513
|
),
|
|
511
514
|
security=self.sdk_configuration.security,
|
|
515
|
+
allow_empty_value=None,
|
|
512
516
|
timeout_ms=timeout_ms,
|
|
513
517
|
)
|
|
514
518
|
|
gr4vy/utils/forms.py
CHANGED
|
@@ -142,16 +142,21 @@ def serialize_multipart_form(
|
|
|
142
142
|
if field_metadata.file:
|
|
143
143
|
if isinstance(val, List):
|
|
144
144
|
# Handle array of files
|
|
145
|
+
array_field_name = f_name + "[]"
|
|
145
146
|
for file_obj in val:
|
|
146
147
|
if not _is_set(file_obj):
|
|
147
148
|
continue
|
|
148
|
-
|
|
149
|
-
file_name, content, content_type = _extract_file_properties(
|
|
149
|
+
|
|
150
|
+
file_name, content, content_type = _extract_file_properties(
|
|
151
|
+
file_obj
|
|
152
|
+
)
|
|
150
153
|
|
|
151
154
|
if content_type is not None:
|
|
152
|
-
files.append(
|
|
155
|
+
files.append(
|
|
156
|
+
(array_field_name, (file_name, content, content_type))
|
|
157
|
+
)
|
|
153
158
|
else:
|
|
154
|
-
files.append((
|
|
159
|
+
files.append((array_field_name, (file_name, content)))
|
|
155
160
|
else:
|
|
156
161
|
# Handle single file
|
|
157
162
|
file_name, content, content_type = _extract_file_properties(val)
|
|
@@ -161,11 +166,16 @@ def serialize_multipart_form(
|
|
|
161
166
|
else:
|
|
162
167
|
files.append((f_name, (file_name, content)))
|
|
163
168
|
elif field_metadata.json:
|
|
164
|
-
files.append(
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
files.append(
|
|
170
|
+
(
|
|
171
|
+
f_name,
|
|
172
|
+
(
|
|
173
|
+
None,
|
|
174
|
+
marshal_json(val, request_field_types[name]),
|
|
175
|
+
"application/json",
|
|
176
|
+
),
|
|
177
|
+
)
|
|
178
|
+
)
|
|
169
179
|
else:
|
|
170
180
|
if isinstance(val, List):
|
|
171
181
|
values = []
|
|
@@ -175,7 +185,8 @@ def serialize_multipart_form(
|
|
|
175
185
|
continue
|
|
176
186
|
values.append(_val_to_string(value))
|
|
177
187
|
|
|
178
|
-
|
|
188
|
+
array_field_name = f_name + "[]"
|
|
189
|
+
form[array_field_name] = values
|
|
179
190
|
else:
|
|
180
191
|
form[f_name] = _val_to_string(val)
|
|
181
192
|
return media_type, form, files
|
gr4vy/utils/queryparams.py
CHANGED
|
@@ -27,12 +27,13 @@ from .forms import _populate_form
|
|
|
27
27
|
def get_query_params(
|
|
28
28
|
query_params: Any,
|
|
29
29
|
gbls: Optional[Any] = None,
|
|
30
|
+
allow_empty_value: Optional[List[str]] = None,
|
|
30
31
|
) -> Dict[str, List[str]]:
|
|
31
32
|
params: Dict[str, List[str]] = {}
|
|
32
33
|
|
|
33
|
-
globals_already_populated = _populate_query_params(query_params, gbls, params, [])
|
|
34
|
+
globals_already_populated = _populate_query_params(query_params, gbls, params, [], allow_empty_value)
|
|
34
35
|
if _is_set(gbls):
|
|
35
|
-
_populate_query_params(gbls, None, params, globals_already_populated)
|
|
36
|
+
_populate_query_params(gbls, None, params, globals_already_populated, allow_empty_value)
|
|
36
37
|
|
|
37
38
|
return params
|
|
38
39
|
|
|
@@ -42,6 +43,7 @@ def _populate_query_params(
|
|
|
42
43
|
gbls: Any,
|
|
43
44
|
query_param_values: Dict[str, List[str]],
|
|
44
45
|
skip_fields: List[str],
|
|
46
|
+
allow_empty_value: Optional[List[str]] = None,
|
|
45
47
|
) -> List[str]:
|
|
46
48
|
globals_already_populated: List[str] = []
|
|
47
49
|
|
|
@@ -69,6 +71,16 @@ def _populate_query_params(
|
|
|
69
71
|
globals_already_populated.append(name)
|
|
70
72
|
|
|
71
73
|
f_name = field.alias if field.alias is not None else name
|
|
74
|
+
|
|
75
|
+
allow_empty_set = set(allow_empty_value or [])
|
|
76
|
+
should_include_empty = f_name in allow_empty_set and (
|
|
77
|
+
value is None or value == [] or value == ""
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
if should_include_empty:
|
|
81
|
+
query_param_values[f_name] = [""]
|
|
82
|
+
continue
|
|
83
|
+
|
|
72
84
|
serialization = metadata.serialization
|
|
73
85
|
if serialization is not None:
|
|
74
86
|
serialized_parms = _get_serialized_params(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gr4vy
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.10.1
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Gr4vy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -320,15 +320,15 @@ except ValueError as error:
|
|
|
320
320
|
<details open>
|
|
321
321
|
<summary>Available methods</summary>
|
|
322
322
|
|
|
323
|
-
|
|
323
|
+
### [AccountUpdater.Jobs](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/jobs/README.md)
|
|
324
324
|
|
|
325
325
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/jobs/README.md#create) - Create account updater job
|
|
326
326
|
|
|
327
|
-
### [
|
|
327
|
+
### [AuditLogs](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/auditlogs/README.md)
|
|
328
328
|
|
|
329
329
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/auditlogs/README.md#list) - List audit log entries
|
|
330
330
|
|
|
331
|
-
### [
|
|
331
|
+
### [Buyers](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerssdk/README.md)
|
|
332
332
|
|
|
333
333
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerssdk/README.md#list) - List all buyers
|
|
334
334
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerssdk/README.md#create) - Add a buyer
|
|
@@ -336,15 +336,15 @@ except ValueError as error:
|
|
|
336
336
|
* [update](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerssdk/README.md#update) - Update a buyer
|
|
337
337
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerssdk/README.md#delete) - Delete a buyer
|
|
338
338
|
|
|
339
|
-
#### [
|
|
339
|
+
#### [Buyers.GiftCards](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersgiftcards/README.md)
|
|
340
340
|
|
|
341
341
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersgiftcards/README.md#list) - List gift cards for a buyer
|
|
342
342
|
|
|
343
|
-
#### [
|
|
343
|
+
#### [Buyers.PaymentMethods](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerspaymentmethods/README.md)
|
|
344
344
|
|
|
345
345
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyerspaymentmethods/README.md#list) - List payment methods for a buyer
|
|
346
346
|
|
|
347
|
-
#### [
|
|
347
|
+
#### [Buyers.ShippingDetails](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersshippingdetails/README.md)
|
|
348
348
|
|
|
349
349
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersshippingdetails/README.md#create) - Add buyer shipping details
|
|
350
350
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersshippingdetails/README.md#list) - List a buyer's shipping details
|
|
@@ -352,18 +352,18 @@ except ValueError as error:
|
|
|
352
352
|
* [update](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersshippingdetails/README.md#update) - Update a buyer's shipping details
|
|
353
353
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/buyersshippingdetails/README.md#delete) - Delete a buyer's shipping details
|
|
354
354
|
|
|
355
|
-
### [
|
|
355
|
+
### [CardSchemeDefinitions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/cardschemedefinitionssdk/README.md)
|
|
356
356
|
|
|
357
357
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/cardschemedefinitionssdk/README.md#list) - List card scheme definitions
|
|
358
358
|
|
|
359
|
-
### [
|
|
359
|
+
### [CheckoutSessions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/checkoutsessions/README.md)
|
|
360
360
|
|
|
361
361
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/checkoutsessions/README.md#create) - Create checkout session
|
|
362
362
|
* [update](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/checkoutsessions/README.md#update) - Update checkout session
|
|
363
363
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/checkoutsessions/README.md#get) - Get checkout session
|
|
364
364
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/checkoutsessions/README.md#delete) - Delete checkout session
|
|
365
365
|
|
|
366
|
-
### [
|
|
366
|
+
### [DigitalWallets](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/digitalwalletssdk/README.md)
|
|
367
367
|
|
|
368
368
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/digitalwalletssdk/README.md#create) - Register digital wallet
|
|
369
369
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/digitalwalletssdk/README.md#list) - List digital wallets
|
|
@@ -371,50 +371,50 @@ except ValueError as error:
|
|
|
371
371
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/digitalwalletssdk/README.md#delete) - Delete digital wallet
|
|
372
372
|
* [update](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/digitalwalletssdk/README.md#update) - Update digital wallet
|
|
373
373
|
|
|
374
|
-
#### [
|
|
374
|
+
#### [DigitalWallets.Domains](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/domains/README.md)
|
|
375
375
|
|
|
376
376
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/domains/README.md#create) - Register a digital wallet domain
|
|
377
377
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/domains/README.md#delete) - Remove a digital wallet domain
|
|
378
378
|
|
|
379
|
-
#### [
|
|
379
|
+
#### [DigitalWallets.Sessions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/sessions/README.md)
|
|
380
380
|
|
|
381
381
|
* [google_pay](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/sessions/README.md#google_pay) - Create a Google Pay session
|
|
382
382
|
* [apple_pay](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/sessions/README.md#apple_pay) - Create a Apple Pay session
|
|
383
383
|
* [click_to_pay](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/sessions/README.md#click_to_pay) - Create a Click to Pay session
|
|
384
384
|
|
|
385
|
-
### [
|
|
385
|
+
### [GiftCards](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/giftcardssdk/README.md)
|
|
386
386
|
|
|
387
387
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/giftcardssdk/README.md#get) - Get gift card
|
|
388
388
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/giftcardssdk/README.md#delete) - Delete a gift card
|
|
389
389
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/giftcardssdk/README.md#create) - Create gift card
|
|
390
390
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/giftcardssdk/README.md#list) - List gift cards
|
|
391
391
|
|
|
392
|
-
#### [
|
|
392
|
+
#### [GiftCards.Balances](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/balances/README.md)
|
|
393
393
|
|
|
394
394
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/balances/README.md#list) - List gift card balances
|
|
395
395
|
|
|
396
|
-
### [
|
|
396
|
+
### [MerchantAccounts](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/merchantaccountssdk/README.md)
|
|
397
397
|
|
|
398
398
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/merchantaccountssdk/README.md#list) - List all merchant accounts
|
|
399
399
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/merchantaccountssdk/README.md#create) - Create a merchant account
|
|
400
400
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/merchantaccountssdk/README.md#get) - Get a merchant account
|
|
401
401
|
* [update](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/merchantaccountssdk/README.md#update) - Update a merchant account
|
|
402
402
|
|
|
403
|
-
### [
|
|
403
|
+
### [PaymentLinks](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentlinkssdk/README.md)
|
|
404
404
|
|
|
405
405
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentlinkssdk/README.md#create) - Add a payment link
|
|
406
406
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentlinkssdk/README.md#list) - List all payment links
|
|
407
407
|
* [expire](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentlinkssdk/README.md#expire) - Expire a payment link
|
|
408
408
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentlinkssdk/README.md#get) - Get payment link
|
|
409
409
|
|
|
410
|
-
### [
|
|
410
|
+
### [PaymentMethods](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodssdk/README.md)
|
|
411
411
|
|
|
412
412
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodssdk/README.md#list) - List all payment methods
|
|
413
413
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodssdk/README.md#create) - Create payment method
|
|
414
414
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodssdk/README.md#get) - Get payment method
|
|
415
415
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodssdk/README.md#delete) - Delete payment method
|
|
416
416
|
|
|
417
|
-
#### [
|
|
417
|
+
#### [PaymentMethods.NetworkTokens](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodsnetworktokens/README.md)
|
|
418
418
|
|
|
419
419
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodsnetworktokens/README.md#list) - List network tokens
|
|
420
420
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodsnetworktokens/README.md#create) - Provision network token
|
|
@@ -422,27 +422,27 @@ except ValueError as error:
|
|
|
422
422
|
* [resume](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodsnetworktokens/README.md#resume) - Resume network token
|
|
423
423
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodsnetworktokens/README.md#delete) - Delete network token
|
|
424
424
|
|
|
425
|
-
|
|
425
|
+
##### [PaymentMethods.NetworkTokens.Cryptogram](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/networktokenscryptogram/README.md)
|
|
426
426
|
|
|
427
427
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/networktokenscryptogram/README.md#create) - Provision network token cryptogram
|
|
428
428
|
|
|
429
|
-
#### [
|
|
429
|
+
#### [PaymentMethods.PaymentServiceTokens](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodspaymentservicetokens/README.md)
|
|
430
430
|
|
|
431
431
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodspaymentservicetokens/README.md#list) - List payment service tokens
|
|
432
432
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodspaymentservicetokens/README.md#create) - Create payment service token
|
|
433
433
|
* [delete](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentmethodspaymentservicetokens/README.md#delete) - Delete payment service token
|
|
434
434
|
|
|
435
|
-
### [
|
|
435
|
+
### [PaymentOptions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentoptionssdk/README.md)
|
|
436
436
|
|
|
437
437
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentoptionssdk/README.md#list) - List payment options
|
|
438
438
|
|
|
439
|
-
### [
|
|
439
|
+
### [PaymentServiceDefinitions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicedefinitionssdk/README.md)
|
|
440
440
|
|
|
441
441
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicedefinitionssdk/README.md#list) - List payment service definitions
|
|
442
442
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicedefinitionssdk/README.md#get) - Get a payment service definition
|
|
443
443
|
* [session](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicedefinitionssdk/README.md#session) - Create a session for a payment service definition
|
|
444
444
|
|
|
445
|
-
### [
|
|
445
|
+
### [PaymentServices](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicessdk/README.md)
|
|
446
446
|
|
|
447
447
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicessdk/README.md#list) - List payment services
|
|
448
448
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicessdk/README.md#create) - Update a configured payment service
|
|
@@ -452,34 +452,34 @@ except ValueError as error:
|
|
|
452
452
|
* [verify](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicessdk/README.md#verify) - Verify payment service credentials
|
|
453
453
|
* [session](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/paymentservicessdk/README.md#session) - Create a session for a payment service definition
|
|
454
454
|
|
|
455
|
-
### [
|
|
455
|
+
### [Payouts](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/payouts/README.md)
|
|
456
456
|
|
|
457
457
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/payouts/README.md#list) - List payouts created
|
|
458
458
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/payouts/README.md#create) - Create a payout
|
|
459
459
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/payouts/README.md#get) - Get a payout
|
|
460
460
|
|
|
461
|
-
### [
|
|
461
|
+
### [Refunds](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/refundssdk/README.md)
|
|
462
462
|
|
|
463
463
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/refundssdk/README.md#get) - Get refund
|
|
464
464
|
|
|
465
|
-
### [
|
|
465
|
+
### [ReportExecutions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportexecutionssdk/README.md)
|
|
466
466
|
|
|
467
467
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportexecutionssdk/README.md#list) - List executed reports
|
|
468
468
|
|
|
469
|
-
### [
|
|
469
|
+
### [Reports](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportssdk/README.md)
|
|
470
470
|
|
|
471
471
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportssdk/README.md#list) - List configured reports
|
|
472
472
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportssdk/README.md#create) - Add a report
|
|
473
473
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportssdk/README.md#get) - Get a report
|
|
474
474
|
* [put](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/reportssdk/README.md#put) - Update a report
|
|
475
475
|
|
|
476
|
-
#### [
|
|
476
|
+
#### [Reports.Executions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/executions/README.md)
|
|
477
477
|
|
|
478
478
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/executions/README.md#list) - List executions for report
|
|
479
479
|
* [url](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/executions/README.md#url) - Create URL for executed report
|
|
480
480
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/executions/README.md#get) - Get executed report
|
|
481
481
|
|
|
482
|
-
### [
|
|
482
|
+
### [Transactions](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactions/README.md)
|
|
483
483
|
|
|
484
484
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactions/README.md#list) - List transactions
|
|
485
485
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactions/README.md#create) - Create transaction
|
|
@@ -490,21 +490,21 @@ except ValueError as error:
|
|
|
490
490
|
* [cancel](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactions/README.md#cancel) - Cancel transaction
|
|
491
491
|
* [sync](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactions/README.md#sync) - Sync transaction
|
|
492
492
|
|
|
493
|
-
#### [
|
|
493
|
+
#### [Transactions.Events](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/events/README.md)
|
|
494
494
|
|
|
495
495
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/events/README.md#list) - List transaction events
|
|
496
496
|
|
|
497
|
-
#### [
|
|
497
|
+
#### [Transactions.Refunds](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionsrefunds/README.md)
|
|
498
498
|
|
|
499
499
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionsrefunds/README.md#list) - List transaction refunds
|
|
500
500
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionsrefunds/README.md#create) - Create transaction refund
|
|
501
501
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionsrefunds/README.md#get) - Get transaction refund
|
|
502
502
|
|
|
503
|
-
|
|
503
|
+
##### [Transactions.Refunds.All](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/all/README.md)
|
|
504
504
|
|
|
505
505
|
* [create](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/all/README.md#create) - Create batch transaction refund
|
|
506
506
|
|
|
507
|
-
#### [
|
|
507
|
+
#### [Transactions.Settlements](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionssettlements/README.md)
|
|
508
508
|
|
|
509
509
|
* [get](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionssettlements/README.md#get) - Get transaction settlement
|
|
510
510
|
* [list](https://github.com/gr4vy/gr4vy-python/blob/master/docs/sdks/transactionssettlements/README.md#list) - List transaction settlements
|