checkout-intents 0.1.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.
Files changed (50) hide show
  1. checkout_intents/__init__.py +104 -0
  2. checkout_intents/_base_client.py +1995 -0
  3. checkout_intents/_client.py +471 -0
  4. checkout_intents/_compat.py +219 -0
  5. checkout_intents/_constants.py +14 -0
  6. checkout_intents/_exceptions.py +108 -0
  7. checkout_intents/_files.py +123 -0
  8. checkout_intents/_models.py +840 -0
  9. checkout_intents/_qs.py +150 -0
  10. checkout_intents/_resource.py +43 -0
  11. checkout_intents/_response.py +832 -0
  12. checkout_intents/_streaming.py +331 -0
  13. checkout_intents/_types.py +260 -0
  14. checkout_intents/_utils/__init__.py +64 -0
  15. checkout_intents/_utils/_compat.py +45 -0
  16. checkout_intents/_utils/_datetime_parse.py +136 -0
  17. checkout_intents/_utils/_logs.py +25 -0
  18. checkout_intents/_utils/_proxy.py +65 -0
  19. checkout_intents/_utils/_reflection.py +42 -0
  20. checkout_intents/_utils/_resources_proxy.py +24 -0
  21. checkout_intents/_utils/_streams.py +12 -0
  22. checkout_intents/_utils/_sync.py +58 -0
  23. checkout_intents/_utils/_transform.py +457 -0
  24. checkout_intents/_utils/_typing.py +156 -0
  25. checkout_intents/_utils/_utils.py +421 -0
  26. checkout_intents/_version.py +4 -0
  27. checkout_intents/lib/.keep +4 -0
  28. checkout_intents/py.typed +0 -0
  29. checkout_intents/resources/__init__.py +33 -0
  30. checkout_intents/resources/brands.py +173 -0
  31. checkout_intents/resources/checkout_intents.py +480 -0
  32. checkout_intents/types/__init__.py +18 -0
  33. checkout_intents/types/base_checkout_intent.py +26 -0
  34. checkout_intents/types/brand_retrieve_response.py +21 -0
  35. checkout_intents/types/buyer.py +31 -0
  36. checkout_intents/types/buyer_param.py +31 -0
  37. checkout_intents/types/checkout_intent.py +83 -0
  38. checkout_intents/types/checkout_intent_add_payment_params.py +14 -0
  39. checkout_intents/types/checkout_intent_confirm_params.py +14 -0
  40. checkout_intents/types/checkout_intent_create_params.py +22 -0
  41. checkout_intents/types/money.py +13 -0
  42. checkout_intents/types/offer.py +40 -0
  43. checkout_intents/types/payment_method.py +15 -0
  44. checkout_intents/types/payment_method_param.py +15 -0
  45. checkout_intents/types/variant_selection.py +21 -0
  46. checkout_intents/types/variant_selection_param.py +22 -0
  47. checkout_intents-0.1.0.dist-info/METADATA +532 -0
  48. checkout_intents-0.1.0.dist-info/RECORD +50 -0
  49. checkout_intents-0.1.0.dist-info/WHEEL +4 -0
  50. checkout_intents-0.1.0.dist-info/licenses/LICENSE +7 -0
@@ -0,0 +1,532 @@
1
+ Metadata-Version: 2.3
2
+ Name: checkout-intents
3
+ Version: 0.1.0
4
+ Summary: The official Python library for the Checkout Intents API
5
+ Project-URL: Homepage, https://github.com/rye-com/checkout-intents-python
6
+ Project-URL: Repository, https://github.com/rye-com/checkout-intents-python
7
+ Author-email: Checkout Intents <dev@rye.com>
8
+ License: MIT
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.9
24
+ Requires-Dist: anyio<5,>=3.5.0
25
+ Requires-Dist: distro<2,>=1.7.0
26
+ Requires-Dist: httpx<1,>=0.23.0
27
+ Requires-Dist: pydantic<3,>=1.9.0
28
+ Requires-Dist: sniffio
29
+ Requires-Dist: typing-extensions<5,>=4.10
30
+ Provides-Extra: aiohttp
31
+ Requires-Dist: aiohttp; extra == 'aiohttp'
32
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
33
+ Description-Content-Type: text/markdown
34
+
35
+ # Checkout Intents Python API library
36
+
37
+ <!-- prettier-ignore -->
38
+ [![PyPI version](https://img.shields.io/pypi/v/checkout-intents.svg?label=pypi%20(stable))](https://pypi.org/project/checkout-intents/)
39
+
40
+ The Checkout Intents Python library provides convenient access to the Checkout Intents REST API from any Python 3.9+
41
+ application. The library includes type definitions for all request params and response fields,
42
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
43
+
44
+ It is generated with [Stainless](https://www.stainless.com/).
45
+
46
+ ## Documentation
47
+
48
+ The REST API documentation can be found on [docs.rye.com](https://docs.rye.com). The full API of this library can be found in [api.md](https://github.com/rye-com/checkout-intents-python/tree/main/api.md).
49
+
50
+ ## Installation
51
+
52
+ ```sh
53
+ # install from PyPI
54
+ pip install checkout-intents
55
+ ```
56
+
57
+ ## Usage
58
+
59
+ The full API of this library can be found in [api.md](https://github.com/rye-com/checkout-intents-python/tree/main/api.md).
60
+
61
+ ```python
62
+ from checkout_intents import CheckoutIntents
63
+
64
+ client = CheckoutIntents(
65
+ # defaults to "staging".
66
+ environment="production",
67
+ )
68
+
69
+ checkout_intent = client.checkout_intents.create(
70
+ buyer={
71
+ "address1": "123 Main St",
72
+ "city": "New York",
73
+ "country": "US",
74
+ "email": "john.doe@example.com",
75
+ "first_name": "John",
76
+ "last_name": "Doe",
77
+ "phone": "5555555555",
78
+ "postal_code": "10001",
79
+ "province": "NY",
80
+ },
81
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
82
+ quantity=1,
83
+ )
84
+ ```
85
+
86
+ While you can provide an `api_key` keyword argument,
87
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
88
+ to add `CHECKOUT_INTENTS_API_KEY="My API Key"` to your `.env` file
89
+ so that your API Key is not stored in source control.
90
+
91
+ ## Async usage
92
+
93
+ Simply import `AsyncCheckoutIntents` instead of `CheckoutIntents` and use `await` with each API call:
94
+
95
+ ```python
96
+ import asyncio
97
+ from checkout_intents import AsyncCheckoutIntents
98
+
99
+ client = AsyncCheckoutIntents(
100
+ # defaults to "staging".
101
+ environment="production",
102
+ )
103
+
104
+
105
+ async def main() -> None:
106
+ checkout_intent = await client.checkout_intents.create(
107
+ buyer={
108
+ "address1": "123 Main St",
109
+ "city": "New York",
110
+ "country": "US",
111
+ "email": "john.doe@example.com",
112
+ "first_name": "John",
113
+ "last_name": "Doe",
114
+ "phone": "5555555555",
115
+ "postal_code": "10001",
116
+ "province": "NY",
117
+ },
118
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
119
+ quantity=1,
120
+ )
121
+
122
+
123
+ asyncio.run(main())
124
+ ```
125
+
126
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
127
+
128
+ ### With aiohttp
129
+
130
+ By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
131
+
132
+ You can enable this by installing `aiohttp`:
133
+
134
+ ```sh
135
+ # install from PyPI
136
+ pip install checkout-intents[aiohttp]
137
+ ```
138
+
139
+ Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
140
+
141
+ ```python
142
+ import asyncio
143
+ from checkout_intents import DefaultAioHttpClient
144
+ from checkout_intents import AsyncCheckoutIntents
145
+
146
+
147
+ async def main() -> None:
148
+ async with AsyncCheckoutIntents(
149
+ http_client=DefaultAioHttpClient(),
150
+ ) as client:
151
+ checkout_intent = await client.checkout_intents.create(
152
+ buyer={
153
+ "address1": "123 Main St",
154
+ "city": "New York",
155
+ "country": "US",
156
+ "email": "john.doe@example.com",
157
+ "first_name": "John",
158
+ "last_name": "Doe",
159
+ "phone": "5555555555",
160
+ "postal_code": "10001",
161
+ "province": "NY",
162
+ },
163
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
164
+ quantity=1,
165
+ )
166
+
167
+
168
+ asyncio.run(main())
169
+ ```
170
+
171
+ ## Using types
172
+
173
+ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
174
+
175
+ - Serializing back into JSON, `model.to_json()`
176
+ - Converting to a dictionary, `model.to_dict()`
177
+
178
+ Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
179
+
180
+ ## Nested params
181
+
182
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
183
+
184
+ ```python
185
+ from checkout_intents import CheckoutIntents
186
+
187
+ client = CheckoutIntents()
188
+
189
+ checkout_intent = client.checkout_intents.create(
190
+ buyer={
191
+ "address1": "123 Main St",
192
+ "city": "New York",
193
+ "country": "US",
194
+ "email": "john.doe@example.com",
195
+ "first_name": "John",
196
+ "last_name": "Doe",
197
+ "phone": "5555555555",
198
+ "postal_code": "10001",
199
+ "province": "NY",
200
+ },
201
+ product_url="productUrl",
202
+ quantity=0,
203
+ )
204
+ print(checkout_intent.buyer)
205
+ ```
206
+
207
+ ## Handling errors
208
+
209
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `checkout_intents.APIConnectionError` is raised.
210
+
211
+ When the API returns a non-success status code (that is, 4xx or 5xx
212
+ response), a subclass of `checkout_intents.APIStatusError` is raised, containing `status_code` and `response` properties.
213
+
214
+ All errors inherit from `checkout_intents.APIError`.
215
+
216
+ ```python
217
+ import checkout_intents
218
+ from checkout_intents import CheckoutIntents
219
+
220
+ client = CheckoutIntents()
221
+
222
+ try:
223
+ client.checkout_intents.create(
224
+ buyer={
225
+ "address1": "123 Main St",
226
+ "city": "New York",
227
+ "country": "US",
228
+ "email": "john.doe@example.com",
229
+ "first_name": "John",
230
+ "last_name": "Doe",
231
+ "phone": "5555555555",
232
+ "postal_code": "10001",
233
+ "province": "NY",
234
+ },
235
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
236
+ quantity=1,
237
+ )
238
+ except checkout_intents.APIConnectionError as e:
239
+ print("The server could not be reached")
240
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
241
+ except checkout_intents.RateLimitError as e:
242
+ print("A 429 status code was received; we should back off a bit.")
243
+ except checkout_intents.APIStatusError as e:
244
+ print("Another non-200-range status code was received")
245
+ print(e.status_code)
246
+ print(e.response)
247
+ ```
248
+
249
+ Error codes are as follows:
250
+
251
+ | Status Code | Error Type |
252
+ | ----------- | -------------------------- |
253
+ | 400 | `BadRequestError` |
254
+ | 401 | `AuthenticationError` |
255
+ | 403 | `PermissionDeniedError` |
256
+ | 404 | `NotFoundError` |
257
+ | 422 | `UnprocessableEntityError` |
258
+ | 429 | `RateLimitError` |
259
+ | >=500 | `InternalServerError` |
260
+ | N/A | `APIConnectionError` |
261
+
262
+ ### Retries
263
+
264
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
265
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
266
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
267
+
268
+ You can use the `max_retries` option to configure or disable retry settings:
269
+
270
+ ```python
271
+ from checkout_intents import CheckoutIntents
272
+
273
+ # Configure the default for all requests:
274
+ client = CheckoutIntents(
275
+ # default is 2
276
+ max_retries=0,
277
+ )
278
+
279
+ # Or, configure per-request:
280
+ client.with_options(max_retries=5).checkout_intents.create(
281
+ buyer={
282
+ "address1": "123 Main St",
283
+ "city": "New York",
284
+ "country": "US",
285
+ "email": "john.doe@example.com",
286
+ "first_name": "John",
287
+ "last_name": "Doe",
288
+ "phone": "5555555555",
289
+ "postal_code": "10001",
290
+ "province": "NY",
291
+ },
292
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
293
+ quantity=1,
294
+ )
295
+ ```
296
+
297
+ ### Timeouts
298
+
299
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
300
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
301
+
302
+ ```python
303
+ from checkout_intents import CheckoutIntents
304
+
305
+ # Configure the default for all requests:
306
+ client = CheckoutIntents(
307
+ # 20 seconds (default is 1 minute)
308
+ timeout=20.0,
309
+ )
310
+
311
+ # More granular control:
312
+ client = CheckoutIntents(
313
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
314
+ )
315
+
316
+ # Override per-request:
317
+ client.with_options(timeout=5.0).checkout_intents.create(
318
+ buyer={
319
+ "address1": "123 Main St",
320
+ "city": "New York",
321
+ "country": "US",
322
+ "email": "john.doe@example.com",
323
+ "first_name": "John",
324
+ "last_name": "Doe",
325
+ "phone": "5555555555",
326
+ "postal_code": "10001",
327
+ "province": "NY",
328
+ },
329
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
330
+ quantity=1,
331
+ )
332
+ ```
333
+
334
+ On timeout, an `APITimeoutError` is thrown.
335
+
336
+ Note that requests that time out are [retried twice by default](https://github.com/rye-com/checkout-intents-python/tree/main/#retries).
337
+
338
+ ## Advanced
339
+
340
+ ### Logging
341
+
342
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
343
+
344
+ You can enable logging by setting the environment variable `CHECKOUT_INTENTS_LOG` to `info`.
345
+
346
+ ```shell
347
+ $ export CHECKOUT_INTENTS_LOG=info
348
+ ```
349
+
350
+ Or to `debug` for more verbose logging.
351
+
352
+ ### How to tell whether `None` means `null` or missing
353
+
354
+ In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
355
+
356
+ ```py
357
+ if response.my_field is None:
358
+ if 'my_field' not in response.model_fields_set:
359
+ print('Got json like {}, without a "my_field" key present at all.')
360
+ else:
361
+ print('Got json like {"my_field": null}.')
362
+ ```
363
+
364
+ ### Accessing raw response data (e.g. headers)
365
+
366
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
367
+
368
+ ```py
369
+ from checkout_intents import CheckoutIntents
370
+
371
+ client = CheckoutIntents()
372
+ response = client.checkout_intents.with_raw_response.create(
373
+ buyer={
374
+ "address1": "123 Main St",
375
+ "city": "New York",
376
+ "country": "US",
377
+ "email": "john.doe@example.com",
378
+ "first_name": "John",
379
+ "last_name": "Doe",
380
+ "phone": "5555555555",
381
+ "postal_code": "10001",
382
+ "province": "NY",
383
+ },
384
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
385
+ quantity=1,
386
+ )
387
+ print(response.headers.get('X-My-Header'))
388
+
389
+ checkout_intent = response.parse() # get the object that `checkout_intents.create()` would have returned
390
+ print(checkout_intent)
391
+ ```
392
+
393
+ These methods return an [`APIResponse`](https://github.com/rye-com/checkout-intents-python/tree/main/src/checkout_intents/_response.py) object.
394
+
395
+ The async client returns an [`AsyncAPIResponse`](https://github.com/rye-com/checkout-intents-python/tree/main/src/checkout_intents/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
396
+
397
+ #### `.with_streaming_response`
398
+
399
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
400
+
401
+ To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
402
+
403
+ ```python
404
+ with client.checkout_intents.with_streaming_response.create(
405
+ buyer={
406
+ "address1": "123 Main St",
407
+ "city": "New York",
408
+ "country": "US",
409
+ "email": "john.doe@example.com",
410
+ "first_name": "John",
411
+ "last_name": "Doe",
412
+ "phone": "5555555555",
413
+ "postal_code": "10001",
414
+ "province": "NY",
415
+ },
416
+ product_url="https://rye-protocol.myshopify.com/products/rye-sticker",
417
+ quantity=1,
418
+ ) as response:
419
+ print(response.headers.get("X-My-Header"))
420
+
421
+ for line in response.iter_lines():
422
+ print(line)
423
+ ```
424
+
425
+ The context manager is required so that the response will reliably be closed.
426
+
427
+ ### Making custom/undocumented requests
428
+
429
+ This library is typed for convenient access to the documented API.
430
+
431
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
432
+
433
+ #### Undocumented endpoints
434
+
435
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
436
+ http verbs. Options on the client will be respected (such as retries) when making this request.
437
+
438
+ ```py
439
+ import httpx
440
+
441
+ response = client.post(
442
+ "/foo",
443
+ cast_to=httpx.Response,
444
+ body={"my_param": True},
445
+ )
446
+
447
+ print(response.headers.get("x-foo"))
448
+ ```
449
+
450
+ #### Undocumented request params
451
+
452
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
453
+ options.
454
+
455
+ #### Undocumented response properties
456
+
457
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
458
+ can also get all the extra fields on the Pydantic model as a dict with
459
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
460
+
461
+ ### Configuring the HTTP client
462
+
463
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
464
+
465
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
466
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
467
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
468
+
469
+ ```python
470
+ import httpx
471
+ from checkout_intents import CheckoutIntents, DefaultHttpxClient
472
+
473
+ client = CheckoutIntents(
474
+ # Or use the `CHECKOUT_INTENTS_BASE_URL` env var
475
+ base_url="http://my.test.server.example.com:8083",
476
+ http_client=DefaultHttpxClient(
477
+ proxy="http://my.test.proxy.example.com",
478
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
479
+ ),
480
+ )
481
+ ```
482
+
483
+ You can also customize the client on a per-request basis by using `with_options()`:
484
+
485
+ ```python
486
+ client.with_options(http_client=DefaultHttpxClient(...))
487
+ ```
488
+
489
+ ### Managing HTTP resources
490
+
491
+ By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
492
+
493
+ ```py
494
+ from checkout_intents import CheckoutIntents
495
+
496
+ with CheckoutIntents() as client:
497
+ # make requests here
498
+ ...
499
+
500
+ # HTTP client is now closed
501
+ ```
502
+
503
+ ## Versioning
504
+
505
+ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
506
+
507
+ 1. Changes that only affect static types, without breaking runtime behavior.
508
+ 2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
509
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
510
+
511
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
512
+
513
+ We are keen for your feedback; please open an [issue](https://www.github.com/rye-com/checkout-intents-python/issues) with questions, bugs, or suggestions.
514
+
515
+ ### Determining the installed version
516
+
517
+ If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
518
+
519
+ You can determine the version that is being used at runtime with:
520
+
521
+ ```py
522
+ import checkout_intents
523
+ print(checkout_intents.__version__)
524
+ ```
525
+
526
+ ## Requirements
527
+
528
+ Python 3.9 or higher.
529
+
530
+ ## Contributing
531
+
532
+ See [the contributing documentation](https://github.com/rye-com/checkout-intents-python/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,50 @@
1
+ checkout_intents/__init__.py,sha256=_Y4Qxqr-oIONV3M6jqtFF1yMOaH_iOT7Em7EmCroKAY,2787
2
+ checkout_intents/_base_client.py,sha256=eB43s-6F0_5tyH_e9uX-HAovJJu6D9DdMGVcI2zP4qc,67057
3
+ checkout_intents/_client.py,sha256=jzpmFQeUmVwWQRYy5r2q77OAaO74BSghPPfR5FVrOPs,18814
4
+ checkout_intents/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
+ checkout_intents/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ checkout_intents/_exceptions.py,sha256=hwQX-kTpgIyHAc2zsdnyNU1h8fxQN_O4nw5srxROooU,3238
7
+ checkout_intents/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
+ checkout_intents/_models.py,sha256=_jpXNYoIJGzLCqeD4LcmiD4UgZKYMLg4cZ8TcWUn94I,30559
9
+ checkout_intents/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
10
+ checkout_intents/_resource.py,sha256=X-eWffEBAgzTZvakLqNUjwgidMKfBFRmCeeOiuko4lg,1154
11
+ checkout_intents/_response.py,sha256=sLqxWBxzmVqPsdr2x5z6d87h8jb1U-Huvh2YFg-U6nE,28876
12
+ checkout_intents/_streaming.py,sha256=XOY20ljJEmOSf-nT8_KvPZipmgllR5sO400ePyMVLIY,10185
13
+ checkout_intents/_types.py,sha256=4l2pVH65co-2pua9stzq-WV2VcGg9Hl4nRHd0lz5cko,7246
14
+ checkout_intents/_version.py,sha256=EAZcX0kAfIydwo7T3jYb_O2Svh_deoksAmQGQqT2ytw,168
15
+ checkout_intents/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ checkout_intents/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
+ checkout_intents/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
18
+ checkout_intents/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
19
+ checkout_intents/_utils/_logs.py,sha256=dw1slZVPfWp0Z_jBGEQvr8TDY0uu3V7pJuexM_MG4pk,804
20
+ checkout_intents/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
21
+ checkout_intents/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
22
+ checkout_intents/_utils/_resources_proxy.py,sha256=XZC7bGzCSt_4vNTinyWXLMxWJkOVntyBFS4mwQQ6JQY,639
23
+ checkout_intents/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
24
+ checkout_intents/_utils/_sync.py,sha256=HBnZkkBnzxtwOZe0212C4EyoRvxhTVtTrLFDz2_xVCg,1589
25
+ checkout_intents/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
26
+ checkout_intents/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
+ checkout_intents/_utils/_utils.py,sha256=ugfUaneOK7I8h9b3656flwf5u_kthY0gvNuqvgOLoSU,12252
28
+ checkout_intents/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
+ checkout_intents/resources/__init__.py,sha256=sHRW0nwo1GnFBFPoTNohkEbvOk7au-R3MdfVn_yb8Ds,1120
30
+ checkout_intents/resources/brands.py,sha256=LylMXefUeP4G540jtG8QHRAKwTMZHKI7vJhWnACS5Dc,6349
31
+ checkout_intents/resources/checkout_intents.py,sha256=lqkOZkvAW-dMzcyReRaLllczKQG4WmIDCnZ9uTsUzH0,19054
32
+ checkout_intents/types/__init__.py,sha256=QHuqIegrR01arvPOp6GI2C8VUw3o37KNxr2KDtjh0eE,1098
33
+ checkout_intents/types/base_checkout_intent.py,sha256=56Qp3ssWYmcdu6A9Z0pvL3ewm1LTvQHiboiJ7Aogx2M,644
34
+ checkout_intents/types/brand_retrieve_response.py,sha256=1Z7yjrXl3NO1u9NFO5lDBJ-sucpEH501MUfUS_XeqbY,550
35
+ checkout_intents/types/buyer.py,sha256=Ov6mVD-Hjm9A-i9p2dWCXtniLhYpG_6jvy9DReC54YQ,530
36
+ checkout_intents/types/buyer_param.py,sha256=DAtEoK4VSzv2qDBBlC4RRE4FbHd87pieTOlfRntbjqg,695
37
+ checkout_intents/types/checkout_intent.py,sha256=7Wv8rv3bU_C7dZYqzgJoBEKFHyKQQrXhQJ1nm2ByIjk,2124
38
+ checkout_intents/types/checkout_intent_add_payment_params.py,sha256=s8KKWVM3XainGTLCwdfUjb5vgS80o2_W0wwUwRCFbk0,479
39
+ checkout_intents/types/checkout_intent_confirm_params.py,sha256=v_fcmuH5GoEwUJLbV7N9BDti63dg8z1nmhpcr4-1qcs,473
40
+ checkout_intents/types/checkout_intent_create_params.py,sha256=nQ5l74ABrn7t-nE7Hnw50hQ8VKyvu54LYia2hnp1twE,693
41
+ checkout_intents/types/money.py,sha256=-AfFFrfnUy6cAaFykF_gWZQxDGlzA1r_dJzJZRxhUto,328
42
+ checkout_intents/types/offer.py,sha256=pxem4nhE9pMd-o9sfKipPuxyZg5WWur1w46oBfwHpB8,809
43
+ checkout_intents/types/payment_method.py,sha256=Mw85dZNa0z7Sr5FoQ9_nOUOjjKEHoE2xCHa2PCwn-Qc,352
44
+ checkout_intents/types/payment_method_param.py,sha256=jbqAao2w7wxEHd_nshOthmZ53Ww7I4EiFmddpa_ejis,437
45
+ checkout_intents/types/variant_selection.py,sha256=M8O6CpcpIlFqfPlQW_wFcJ6rwt459n6dJkjLkLB1klk,493
46
+ checkout_intents/types/variant_selection_param.py,sha256=CMz4y1bDpuHNpnUmCcyeiYs6uwLBS9CJwo9iSpGMu-Q,589
47
+ checkout_intents-0.1.0.dist-info/METADATA,sha256=5IyIauLcYzfpz0EOC7OHMBCH2x-_F9lvP1o7wHWh6hM,17734
48
+ checkout_intents-0.1.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
49
+ checkout_intents-0.1.0.dist-info/licenses/LICENSE,sha256=dRDmL6lFnLaphTaman8kAc21qY1IQ_qsAETk1F-b6jY,1056
50
+ checkout_intents-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.26.3
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,7 @@
1
+ Copyright 2025 Checkout Intents
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.