checkout-intents 0.6.0__py3-none-any.whl → 0.7.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.
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "checkout_intents"
4
- __version__ = "0.6.0" # x-release-please-version
4
+ __version__ = "0.7.0" # x-release-please-version
@@ -294,6 +294,7 @@ class CheckoutIntentsResource(SyncAPIResource):
294
294
  buyer: BuyerParam,
295
295
  product_url: str,
296
296
  quantity: float,
297
+ promo_codes: SequenceNotStr[str] | Omit = omit,
297
298
  variant_selections: Iterable[VariantSelectionParam] | Omit = omit,
298
299
  payment_method: PaymentMethodParam,
299
300
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -329,6 +330,7 @@ class CheckoutIntentsResource(SyncAPIResource):
329
330
  "payment_method": payment_method,
330
331
  "product_url": product_url,
331
332
  "quantity": quantity,
333
+ "promo_codes": promo_codes,
332
334
  "variant_selections": variant_selections,
333
335
  },
334
336
  checkout_intent_purchase_params.CheckoutIntentPurchaseParams
@@ -949,6 +951,7 @@ class AsyncCheckoutIntentsResource(AsyncAPIResource):
949
951
  buyer: BuyerParam,
950
952
  product_url: str,
951
953
  quantity: float,
954
+ promo_codes: SequenceNotStr[str] | Omit = omit,
952
955
  variant_selections: Iterable[VariantSelectionParam] | Omit = omit,
953
956
  payment_method: PaymentMethodParam,
954
957
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -984,6 +987,7 @@ class AsyncCheckoutIntentsResource(AsyncAPIResource):
984
987
  "payment_method": payment_method,
985
988
  "product_url": product_url,
986
989
  "quantity": quantity,
990
+ "promo_codes": promo_codes,
987
991
  "variant_selections": variant_selections,
988
992
  },
989
993
  checkout_intent_purchase_params.CheckoutIntentPurchaseParams
@@ -5,6 +5,7 @@ from __future__ import annotations
5
5
  from typing import Iterable
6
6
  from typing_extensions import Required, Annotated, TypedDict
7
7
 
8
+ from .._types import SequenceNotStr
8
9
  from .._utils import PropertyInfo
9
10
  from .buyer_param import BuyerParam
10
11
  from .payment_method_param import PaymentMethodParam
@@ -22,4 +23,6 @@ class CheckoutIntentPurchaseParams(TypedDict, total=False):
22
23
 
23
24
  quantity: Required[float]
24
25
 
26
+ promo_codes: Annotated[SequenceNotStr[str], PropertyInfo(alias="promoCodes")]
27
+
25
28
  variant_selections: Annotated[Iterable[VariantSelectionParam], PropertyInfo(alias="variantSelections")]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: checkout-intents
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: The official Python library for the Checkout Intents API
5
5
  Project-URL: Homepage, https://github.com/rye-com/checkout-intents-python
6
6
  Project-URL: Repository, https://github.com/rye-com/checkout-intents-python
@@ -11,7 +11,7 @@ checkout_intents/_resource.py,sha256=X-eWffEBAgzTZvakLqNUjwgidMKfBFRmCeeOiuko4lg
11
11
  checkout_intents/_response.py,sha256=sLqxWBxzmVqPsdr2x5z6d87h8jb1U-Huvh2YFg-U6nE,28876
12
12
  checkout_intents/_streaming.py,sha256=y8SjBVAw2SDdVczQsP1T3dufnx4040C5fQqz-jGSvmg,10257
13
13
  checkout_intents/_types.py,sha256=PTRxqWPBW57h6JvfwcVuR42gIMpY4nwSZbqAtv85Ado,7305
14
- checkout_intents/_version.py,sha256=966amIo052GT-pzkFrAnbNSvKYeP2QLWrFSs8_y1uhQ,168
14
+ checkout_intents/_version.py,sha256=5VUKZFNomyYEg-QEVbUYW_VqH4_Uo6ZBsPyAuMjG_4c,168
15
15
  checkout_intents/pagination.py,sha256=VMe3ftq-qqAku2ERRTOz7iZOoMQ_KKp2HIUl_I8oAXE,2908
16
16
  checkout_intents/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  checkout_intents/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
@@ -29,7 +29,7 @@ checkout_intents/_utils/_utils.py,sha256=g9ftElB09kVT6EVfCIlD_nUfANhDX5_vZO61FDW
29
29
  checkout_intents/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
30
30
  checkout_intents/resources/__init__.py,sha256=sHRW0nwo1GnFBFPoTNohkEbvOk7au-R3MdfVn_yb8Ds,1120
31
31
  checkout_intents/resources/brands.py,sha256=jJ5Jn2GG3MPkdKSg6_OG89dSQTaSGM9e7lBtovn-ABE,6389
32
- checkout_intents/resources/checkout_intents.py,sha256=Rsn0VNlKXziZAdU0BZ_-H8pxh2q4-f_Z24dP_N7wlVk,59540
32
+ checkout_intents/resources/checkout_intents.py,sha256=AkV2MsOPINapNgVJQiArVP8qTCAosbB1jlkknCRoIQ0,59756
33
33
  checkout_intents/types/__init__.py,sha256=VhZDCRhKlUnKs1h-8UNWj0HUUtJBjHFo16Stxy_kgS4,1298
34
34
  checkout_intents/types/base_checkout_intent.py,sha256=i31jUBw1fFlFQI4pUxLhiHAM82k3dDWiK3puTlKO5VE,728
35
35
  checkout_intents/types/brand_retrieve_response.py,sha256=c8DCAJvHFHcrIOW6onHj5Y51Yba7zyOrRXZuGfqYkBc,561
@@ -40,14 +40,14 @@ checkout_intents/types/checkout_intent_add_payment_params.py,sha256=s8KKWVM3Xain
40
40
  checkout_intents/types/checkout_intent_confirm_params.py,sha256=v_fcmuH5GoEwUJLbV7N9BDti63dg8z1nmhpcr4-1qcs,473
41
41
  checkout_intents/types/checkout_intent_create_params.py,sha256=DEfM_bAsMijLAtGTZpC0RjnwvJc3rQDd_H9jEgjFc28,812
42
42
  checkout_intents/types/checkout_intent_list_params.py,sha256=zc8_xwBHChOcl7bTMSjU7ZbHKIyQGYeUy5UrxeloJj0,521
43
- checkout_intents/types/checkout_intent_purchase_params.py,sha256=PzDCzbKExNzkYR5eWpTs-p0x9OJPgCroDTgv60XV0Co,848
43
+ checkout_intents/types/checkout_intent_purchase_params.py,sha256=aQ2mYStqnWiSR7BXKbWZ6dEPXD8fBDwhhBssh-d6ado,967
44
44
  checkout_intents/types/money.py,sha256=-AfFFrfnUy6cAaFykF_gWZQxDGlzA1r_dJzJZRxhUto,328
45
45
  checkout_intents/types/offer.py,sha256=9nGYAlA3tEiRU9lvsktnVl6EWj5dLNr6K9LB8WprckI,985
46
46
  checkout_intents/types/payment_method.py,sha256=-v5-L5RPojm8IDrdAhIMGmhVb89vwqT1jhgb-ZWOG7Q,1069
47
47
  checkout_intents/types/payment_method_param.py,sha256=_yzwZ5nw7bStK4U2-1ybtpjdJz5funCOMN7MALtF0xk,1225
48
48
  checkout_intents/types/variant_selection.py,sha256=y6mlU-qGwDfE77mU-x1GTXkDsmn6vuPpy5lBYXqXCBw,259
49
49
  checkout_intents/types/variant_selection_param.py,sha256=ahwTmDVIUMV8jvpggEo2jDUTIm9xvXbntDxmIZqT2_k,355
50
- checkout_intents-0.6.0.dist-info/METADATA,sha256=E8QgfXK6c2_9ZDcPlgqJ7LH5fs-no-JvRgA3QM55atc,23781
51
- checkout_intents-0.6.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
52
- checkout_intents-0.6.0.dist-info/licenses/LICENSE,sha256=dRDmL6lFnLaphTaman8kAc21qY1IQ_qsAETk1F-b6jY,1056
53
- checkout_intents-0.6.0.dist-info/RECORD,,
50
+ checkout_intents-0.7.0.dist-info/METADATA,sha256=821Ib8V0YkpJFBHUAmb-tZAWV4HIgOEhnuzhAwGo52s,23781
51
+ checkout_intents-0.7.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
52
+ checkout_intents-0.7.0.dist-info/licenses/LICENSE,sha256=dRDmL6lFnLaphTaman8kAc21qY1IQ_qsAETk1F-b6jY,1056
53
+ checkout_intents-0.7.0.dist-info/RECORD,,