gr4vy 1.9.0__py3-none-any.whl → 1.10.0__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.

Potentially problematic release.


This version of gr4vy might be problematic. Click here for more details.

Files changed (43) hide show
  1. gr4vy/_version.py +3 -3
  2. gr4vy/all.py +2 -0
  3. gr4vy/audit_logs.py +2 -0
  4. gr4vy/balances.py +2 -0
  5. gr4vy/basesdk.py +6 -0
  6. gr4vy/buyers_gift_cards.py +2 -0
  7. gr4vy/buyers_payment_methods.py +2 -0
  8. gr4vy/buyers_sdk.py +10 -0
  9. gr4vy/buyers_shipping_details.py +10 -0
  10. gr4vy/card_scheme_definitions_sdk.py +2 -0
  11. gr4vy/checkout_sessions.py +8 -0
  12. gr4vy/digital_wallets_sdk.py +10 -0
  13. gr4vy/domains.py +4 -0
  14. gr4vy/events.py +52 -5
  15. gr4vy/executions.py +6 -0
  16. gr4vy/gift_cards_sdk.py +8 -0
  17. gr4vy/jobs.py +2 -0
  18. gr4vy/merchant_accounts_sdk.py +8 -0
  19. gr4vy/models/__init__.py +6 -0
  20. gr4vy/models/list_transaction_eventsop.py +12 -1
  21. gr4vy/models/paymentlink.py +13 -0
  22. gr4vy/models/paymentlinkcreate.py +13 -0
  23. gr4vy/network_tokens_cryptogram.py +2 -0
  24. gr4vy/payment_links_sdk.py +20 -0
  25. gr4vy/payment_methods_network_tokens.py +10 -0
  26. gr4vy/payment_methods_payment_service_tokens.py +6 -0
  27. gr4vy/payment_methods_sdk.py +8 -0
  28. gr4vy/payment_options_sdk.py +2 -0
  29. gr4vy/payment_service_definitions_sdk.py +6 -0
  30. gr4vy/payment_services_sdk.py +14 -0
  31. gr4vy/payouts.py +6 -0
  32. gr4vy/refunds_sdk.py +2 -0
  33. gr4vy/report_executions_sdk.py +2 -0
  34. gr4vy/reports_sdk.py +8 -0
  35. gr4vy/sessions.py +6 -0
  36. gr4vy/transactions.py +16 -0
  37. gr4vy/transactions_refunds.py +6 -0
  38. gr4vy/transactions_settlements.py +4 -0
  39. gr4vy/utils/forms.py +21 -10
  40. gr4vy/utils/queryparams.py +14 -2
  41. {gr4vy-1.9.0.dist-info → gr4vy-1.10.0.dist-info}/METADATA +1 -1
  42. {gr4vy-1.9.0.dist-info → gr4vy-1.10.0.dist-info}/RECORD +43 -43
  43. {gr4vy-1.9.0.dist-info → gr4vy-1.10.0.dist-info}/WHEEL +0 -0
gr4vy/gift_cards_sdk.py CHANGED
@@ -77,6 +77,7 @@ class GiftCardsSDK(BaseSDK):
77
77
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
78
78
  ),
79
79
  security=self.sdk_configuration.security,
80
+ allow_empty_value=None,
80
81
  timeout_ms=timeout_ms,
81
82
  )
82
83
 
@@ -224,6 +225,7 @@ class GiftCardsSDK(BaseSDK):
224
225
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
225
226
  ),
226
227
  security=self.sdk_configuration.security,
228
+ allow_empty_value=None,
227
229
  timeout_ms=timeout_ms,
228
230
  )
229
231
 
@@ -371,6 +373,7 @@ class GiftCardsSDK(BaseSDK):
371
373
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
372
374
  ),
373
375
  security=self.sdk_configuration.security,
376
+ allow_empty_value=None,
374
377
  timeout_ms=timeout_ms,
375
378
  )
376
379
 
@@ -514,6 +517,7 @@ class GiftCardsSDK(BaseSDK):
514
517
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
515
518
  ),
516
519
  security=self.sdk_configuration.security,
520
+ allow_empty_value=None,
517
521
  timeout_ms=timeout_ms,
518
522
  )
519
523
 
@@ -671,6 +675,7 @@ class GiftCardsSDK(BaseSDK):
671
675
  get_serialized_body=lambda: utils.serialize_request_body(
672
676
  request.gift_card_create, False, False, "json", models.GiftCardCreate
673
677
  ),
678
+ allow_empty_value=None,
674
679
  timeout_ms=timeout_ms,
675
680
  )
676
681
 
@@ -828,6 +833,7 @@ class GiftCardsSDK(BaseSDK):
828
833
  get_serialized_body=lambda: utils.serialize_request_body(
829
834
  request.gift_card_create, False, False, "json", models.GiftCardCreate
830
835
  ),
836
+ allow_empty_value=None,
831
837
  timeout_ms=timeout_ms,
832
838
  )
833
839
 
@@ -980,6 +986,7 @@ class GiftCardsSDK(BaseSDK):
980
986
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
981
987
  ),
982
988
  security=self.sdk_configuration.security,
989
+ allow_empty_value=None,
983
990
  timeout_ms=timeout_ms,
984
991
  )
985
992
 
@@ -1159,6 +1166,7 @@ class GiftCardsSDK(BaseSDK):
1159
1166
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1160
1167
  ),
1161
1168
  security=self.sdk_configuration.security,
1169
+ allow_empty_value=None,
1162
1170
  timeout_ms=timeout_ms,
1163
1171
  )
1164
1172
 
gr4vy/jobs.py CHANGED
@@ -71,6 +71,7 @@ class Jobs(BaseSDK):
71
71
  "json",
72
72
  models.AccountUpdaterJobCreate,
73
73
  ),
74
+ allow_empty_value=None,
74
75
  timeout_ms=timeout_ms,
75
76
  )
76
77
 
@@ -225,6 +226,7 @@ class Jobs(BaseSDK):
225
226
  "json",
226
227
  models.AccountUpdaterJobCreate,
227
228
  ),
229
+ allow_empty_value=None,
228
230
  timeout_ms=timeout_ms,
229
231
  )
230
232
 
@@ -63,6 +63,7 @@ class MerchantAccountsSDK(BaseSDK):
63
63
  accept_header_value="application/json",
64
64
  http_headers=http_headers,
65
65
  security=self.sdk_configuration.security,
66
+ allow_empty_value=None,
66
67
  timeout_ms=timeout_ms,
67
68
  )
68
69
 
@@ -231,6 +232,7 @@ class MerchantAccountsSDK(BaseSDK):
231
232
  accept_header_value="application/json",
232
233
  http_headers=http_headers,
233
234
  security=self.sdk_configuration.security,
235
+ allow_empty_value=None,
234
236
  timeout_ms=timeout_ms,
235
237
  )
236
238
 
@@ -450,6 +452,7 @@ class MerchantAccountsSDK(BaseSDK):
450
452
  get_serialized_body=lambda: utils.serialize_request_body(
451
453
  request, False, False, "json", models.MerchantAccountCreate
452
454
  ),
455
+ allow_empty_value=None,
453
456
  timeout_ms=timeout_ms,
454
457
  )
455
458
 
@@ -644,6 +647,7 @@ class MerchantAccountsSDK(BaseSDK):
644
647
  get_serialized_body=lambda: utils.serialize_request_body(
645
648
  request, False, False, "json", models.MerchantAccountCreate
646
649
  ),
650
+ allow_empty_value=None,
647
651
  timeout_ms=timeout_ms,
648
652
  )
649
653
 
@@ -781,6 +785,7 @@ class MerchantAccountsSDK(BaseSDK):
781
785
  accept_header_value="application/json",
782
786
  http_headers=http_headers,
783
787
  security=self.sdk_configuration.security,
788
+ allow_empty_value=None,
784
789
  timeout_ms=timeout_ms,
785
790
  )
786
791
 
@@ -922,6 +927,7 @@ class MerchantAccountsSDK(BaseSDK):
922
927
  accept_header_value="application/json",
923
928
  http_headers=http_headers,
924
929
  security=self.sdk_configuration.security,
930
+ allow_empty_value=None,
925
931
  timeout_ms=timeout_ms,
926
932
  )
927
933
 
@@ -1126,6 +1132,7 @@ class MerchantAccountsSDK(BaseSDK):
1126
1132
  "json",
1127
1133
  models.MerchantAccountUpdate,
1128
1134
  ),
1135
+ allow_empty_value=None,
1129
1136
  timeout_ms=timeout_ms,
1130
1137
  )
1131
1138
 
@@ -1326,6 +1333,7 @@ class MerchantAccountsSDK(BaseSDK):
1326
1333
  "json",
1327
1334
  models.MerchantAccountUpdate,
1328
1335
  ),
1336
+ allow_empty_value=None,
1329
1337
  timeout_ms=timeout_ms,
1330
1338
  )
1331
1339
 
gr4vy/models/__init__.py CHANGED
@@ -731,6 +731,8 @@ if TYPE_CHECKING:
731
731
  ListTransactionEventsGlobalsTypedDict,
732
732
  ListTransactionEventsRequest,
733
733
  ListTransactionEventsRequestTypedDict,
734
+ ListTransactionEventsResponse,
735
+ ListTransactionEventsResponseTypedDict,
734
736
  )
735
737
  from .list_transaction_refundsop import (
736
738
  ListTransactionRefundsGlobals,
@@ -1713,6 +1715,8 @@ __all__ = [
1713
1715
  "ListTransactionEventsGlobalsTypedDict",
1714
1716
  "ListTransactionEventsRequest",
1715
1717
  "ListTransactionEventsRequestTypedDict",
1718
+ "ListTransactionEventsResponse",
1719
+ "ListTransactionEventsResponseTypedDict",
1716
1720
  "ListTransactionRefundsGlobals",
1717
1721
  "ListTransactionRefundsGlobalsTypedDict",
1718
1722
  "ListTransactionRefundsRequest",
@@ -2629,6 +2633,8 @@ _dynamic_imports: dict[str, str] = {
2629
2633
  "ListTransactionEventsGlobalsTypedDict": ".list_transaction_eventsop",
2630
2634
  "ListTransactionEventsRequest": ".list_transaction_eventsop",
2631
2635
  "ListTransactionEventsRequestTypedDict": ".list_transaction_eventsop",
2636
+ "ListTransactionEventsResponse": ".list_transaction_eventsop",
2637
+ "ListTransactionEventsResponseTypedDict": ".list_transaction_eventsop",
2632
2638
  "ListTransactionRefundsGlobals": ".list_transaction_refundsop",
2633
2639
  "ListTransactionRefundsGlobalsTypedDict": ".list_transaction_refundsop",
2634
2640
  "ListTransactionRefundsRequest": ".list_transaction_refundsop",
@@ -1,6 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .transactionevents import TransactionEvents, TransactionEventsTypedDict
4
5
  from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
5
6
  from gr4vy.utils import (
6
7
  FieldMetadata,
@@ -10,7 +11,7 @@ from gr4vy.utils import (
10
11
  )
11
12
  import pydantic
12
13
  from pydantic import model_serializer
13
- from typing import Optional
14
+ from typing import Callable, Optional
14
15
  from typing_extensions import Annotated, NotRequired, TypedDict
15
16
 
16
17
 
@@ -93,3 +94,13 @@ class ListTransactionEventsRequest(BaseModel):
93
94
  m[k] = val
94
95
 
95
96
  return m
97
+
98
+
99
+ class ListTransactionEventsResponseTypedDict(TypedDict):
100
+ result: TransactionEventsTypedDict
101
+
102
+
103
+ class ListTransactionEventsResponse(BaseModel):
104
+ next: Callable[[], Optional[ListTransactionEventsResponse]]
105
+
106
+ result: TransactionEvents
@@ -73,6 +73,10 @@ class PaymentLinkTypedDict(TypedDict):
73
73
  r"""The shipping details for the payment link."""
74
74
  connection_options: NotRequired[Nullable[Dict[str, Dict[str, Any]]]]
75
75
  r"""The connection options for the payment link."""
76
+ store: NotRequired[bool]
77
+ r"""Whether the payment method was stored."""
78
+ buyer_id: NotRequired[Nullable[str]]
79
+ r"""The ID of the buyer to associate with the stored payment method."""
76
80
 
77
81
 
78
82
  class PaymentLink(BaseModel):
@@ -166,6 +170,12 @@ class PaymentLink(BaseModel):
166
170
  connection_options: OptionalNullable[Dict[str, Dict[str, Any]]] = UNSET
167
171
  r"""The connection options for the payment link."""
168
172
 
173
+ store: Optional[bool] = False
174
+ r"""Whether the payment method was stored."""
175
+
176
+ buyer_id: OptionalNullable[str] = UNSET
177
+ r"""The ID of the buyer to associate with the stored payment method."""
178
+
169
179
  @model_serializer(mode="wrap")
170
180
  def serialize_model(self, handler):
171
181
  optional_fields = [
@@ -186,6 +196,8 @@ class PaymentLink(BaseModel):
186
196
  "buyer",
187
197
  "shipping_details",
188
198
  "connection_options",
199
+ "store",
200
+ "buyer_id",
189
201
  ]
190
202
  nullable_fields = [
191
203
  "expires_at",
@@ -205,6 +217,7 @@ class PaymentLink(BaseModel):
205
217
  "buyer",
206
218
  "shipping_details",
207
219
  "connection_options",
220
+ "buyer_id",
208
221
  ]
209
222
  null_default_fields = []
210
223
 
@@ -61,6 +61,10 @@ class PaymentLinkCreateTypedDict(TypedDict):
61
61
  r"""Arbitrary metadata for the payment link."""
62
62
  payment_source: NotRequired[TransactionPaymentSource]
63
63
  r"""The way payment method information made it to this transaction."""
64
+ store: NotRequired[bool]
65
+ r"""Whether to store the payment method for future use."""
66
+ buyer_id: NotRequired[Nullable[str]]
67
+ r"""The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer."""
64
68
 
65
69
 
66
70
  class PaymentLinkCreate(BaseModel):
@@ -130,6 +134,12 @@ class PaymentLinkCreate(BaseModel):
130
134
  ] = None
131
135
  r"""The way payment method information made it to this transaction."""
132
136
 
137
+ store: Optional[bool] = False
138
+ r"""Whether to store the payment method for future use."""
139
+
140
+ buyer_id: OptionalNullable[str] = UNSET
141
+ r"""The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer."""
142
+
133
143
  @model_serializer(mode="wrap")
134
144
  def serialize_model(self, handler):
135
145
  optional_fields = [
@@ -151,6 +161,8 @@ class PaymentLinkCreate(BaseModel):
151
161
  "cart_items",
152
162
  "metadata",
153
163
  "payment_source",
164
+ "store",
165
+ "buyer_id",
154
166
  ]
155
167
  nullable_fields = [
156
168
  "buyer",
@@ -169,6 +181,7 @@ class PaymentLinkCreate(BaseModel):
169
181
  "return_url",
170
182
  "cart_items",
171
183
  "metadata",
184
+ "buyer_id",
172
185
  ]
173
186
  null_default_fields = []
174
187
 
@@ -73,6 +73,7 @@ class NetworkTokensCryptogram(BaseSDK):
73
73
  get_serialized_body=lambda: utils.serialize_request_body(
74
74
  request.cryptogram_create, False, False, "json", models.CryptogramCreate
75
75
  ),
76
+ allow_empty_value=None,
76
77
  timeout_ms=timeout_ms,
77
78
  )
78
79
 
@@ -227,6 +228,7 @@ class NetworkTokensCryptogram(BaseSDK):
227
228
  get_serialized_body=lambda: utils.serialize_request_body(
228
229
  request.cryptogram_create, False, False, "json", models.CryptogramCreate
229
230
  ),
231
+ allow_empty_value=None,
230
232
  timeout_ms=timeout_ms,
231
233
  )
232
234
 
@@ -48,6 +48,8 @@ class PaymentLinksSDK(BaseSDK):
48
48
  ] = UNSET,
49
49
  metadata: OptionalNullable[Dict[str, Any]] = UNSET,
50
50
  payment_source: Optional[models.TransactionPaymentSource] = None,
51
+ store: Optional[bool] = False,
52
+ buyer_id: OptionalNullable[str] = UNSET,
51
53
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
52
54
  server_url: Optional[str] = None,
53
55
  timeout_ms: Optional[int] = None,
@@ -79,6 +81,8 @@ class PaymentLinksSDK(BaseSDK):
79
81
  :param cart_items: The cart items for the payment link.
80
82
  :param metadata: Arbitrary metadata for the payment link.
81
83
  :param payment_source: The way payment method information made it to this transaction.
84
+ :param store: Whether to store the payment method for future use.
85
+ :param buyer_id: The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer.
82
86
  :param retries: Override the default retry configuration for this method
83
87
  :param server_url: Override the default server URL for this method
84
88
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -127,6 +131,8 @@ class PaymentLinksSDK(BaseSDK):
127
131
  ),
128
132
  metadata=metadata,
129
133
  payment_source=payment_source,
134
+ store=store,
135
+ buyer_id=buyer_id,
130
136
  ),
131
137
  )
132
138
 
@@ -153,6 +159,7 @@ class PaymentLinksSDK(BaseSDK):
153
159
  "json",
154
160
  models.PaymentLinkCreate,
155
161
  ),
162
+ allow_empty_value=None,
156
163
  timeout_ms=timeout_ms,
157
164
  )
158
165
 
@@ -280,6 +287,8 @@ class PaymentLinksSDK(BaseSDK):
280
287
  ] = UNSET,
281
288
  metadata: OptionalNullable[Dict[str, Any]] = UNSET,
282
289
  payment_source: Optional[models.TransactionPaymentSource] = None,
290
+ store: Optional[bool] = False,
291
+ buyer_id: OptionalNullable[str] = UNSET,
283
292
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
284
293
  server_url: Optional[str] = None,
285
294
  timeout_ms: Optional[int] = None,
@@ -311,6 +320,8 @@ class PaymentLinksSDK(BaseSDK):
311
320
  :param cart_items: The cart items for the payment link.
312
321
  :param metadata: Arbitrary metadata for the payment link.
313
322
  :param payment_source: The way payment method information made it to this transaction.
323
+ :param store: Whether to store the payment method for future use.
324
+ :param buyer_id: The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer.
314
325
  :param retries: Override the default retry configuration for this method
315
326
  :param server_url: Override the default server URL for this method
316
327
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -359,6 +370,8 @@ class PaymentLinksSDK(BaseSDK):
359
370
  ),
360
371
  metadata=metadata,
361
372
  payment_source=payment_source,
373
+ store=store,
374
+ buyer_id=buyer_id,
362
375
  ),
363
376
  )
364
377
 
@@ -385,6 +398,7 @@ class PaymentLinksSDK(BaseSDK):
385
398
  "json",
386
399
  models.PaymentLinkCreate,
387
400
  ),
401
+ allow_empty_value=None,
388
402
  timeout_ms=timeout_ms,
389
403
  )
390
404
 
@@ -534,6 +548,7 @@ class PaymentLinksSDK(BaseSDK):
534
548
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
535
549
  ),
536
550
  security=self.sdk_configuration.security,
551
+ allow_empty_value=None,
537
552
  timeout_ms=timeout_ms,
538
553
  )
539
554
 
@@ -709,6 +724,7 @@ class PaymentLinksSDK(BaseSDK):
709
724
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
710
725
  ),
711
726
  security=self.sdk_configuration.security,
727
+ allow_empty_value=None,
712
728
  timeout_ms=timeout_ms,
713
729
  )
714
730
 
@@ -878,6 +894,7 @@ class PaymentLinksSDK(BaseSDK):
878
894
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
879
895
  ),
880
896
  security=self.sdk_configuration.security,
897
+ allow_empty_value=None,
881
898
  timeout_ms=timeout_ms,
882
899
  )
883
900
 
@@ -1021,6 +1038,7 @@ class PaymentLinksSDK(BaseSDK):
1021
1038
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1022
1039
  ),
1023
1040
  security=self.sdk_configuration.security,
1041
+ allow_empty_value=None,
1024
1042
  timeout_ms=timeout_ms,
1025
1043
  )
1026
1044
 
@@ -1164,6 +1182,7 @@ class PaymentLinksSDK(BaseSDK):
1164
1182
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1165
1183
  ),
1166
1184
  security=self.sdk_configuration.security,
1185
+ allow_empty_value=None,
1167
1186
  timeout_ms=timeout_ms,
1168
1187
  )
1169
1188
 
@@ -1311,6 +1330,7 @@ class PaymentLinksSDK(BaseSDK):
1311
1330
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1312
1331
  ),
1313
1332
  security=self.sdk_configuration.security,
1333
+ allow_empty_value=None,
1314
1334
  timeout_ms=timeout_ms,
1315
1335
  )
1316
1336
 
@@ -78,6 +78,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
78
78
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
79
79
  ),
80
80
  security=self.sdk_configuration.security,
81
+ allow_empty_value=None,
81
82
  timeout_ms=timeout_ms,
82
83
  )
83
84
 
@@ -225,6 +226,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
225
226
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
226
227
  ),
227
228
  security=self.sdk_configuration.security,
229
+ allow_empty_value=None,
228
230
  timeout_ms=timeout_ms,
229
231
  )
230
232
 
@@ -390,6 +392,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
390
392
  "json",
391
393
  models.NetworkTokenCreate,
392
394
  ),
395
+ allow_empty_value=None,
393
396
  timeout_ms=timeout_ms,
394
397
  )
395
398
 
@@ -551,6 +554,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
551
554
  "json",
552
555
  models.NetworkTokenCreate,
553
556
  ),
557
+ allow_empty_value=None,
554
558
  timeout_ms=timeout_ms,
555
559
  )
556
560
 
@@ -697,6 +701,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
697
701
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
698
702
  ),
699
703
  security=self.sdk_configuration.security,
704
+ allow_empty_value=None,
700
705
  timeout_ms=timeout_ms,
701
706
  )
702
707
 
@@ -843,6 +848,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
843
848
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
844
849
  ),
845
850
  security=self.sdk_configuration.security,
851
+ allow_empty_value=None,
846
852
  timeout_ms=timeout_ms,
847
853
  )
848
854
 
@@ -989,6 +995,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
989
995
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
990
996
  ),
991
997
  security=self.sdk_configuration.security,
998
+ allow_empty_value=None,
992
999
  timeout_ms=timeout_ms,
993
1000
  )
994
1001
 
@@ -1135,6 +1142,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
1135
1142
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1136
1143
  ),
1137
1144
  security=self.sdk_configuration.security,
1145
+ allow_empty_value=None,
1138
1146
  timeout_ms=timeout_ms,
1139
1147
  )
1140
1148
 
@@ -1281,6 +1289,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
1281
1289
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1282
1290
  ),
1283
1291
  security=self.sdk_configuration.security,
1292
+ allow_empty_value=None,
1284
1293
  timeout_ms=timeout_ms,
1285
1294
  )
1286
1295
 
@@ -1427,6 +1436,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
1427
1436
  merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
1428
1437
  ),
1429
1438
  security=self.sdk_configuration.security,
1439
+ allow_empty_value=None,
1430
1440
  timeout_ms=timeout_ms,
1431
1441
  )
1432
1442
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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