checkout-intents 0.13.1__py3-none-any.whl → 0.14.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.
- checkout_intents/_client.py +39 -2
- checkout_intents/_version.py +1 -1
- checkout_intents/resources/__init__.py +14 -0
- checkout_intents/resources/checkout_intents/__init__.py +33 -0
- checkout_intents/resources/{checkout_intents.py → checkout_intents/checkout_intents.py} +45 -13
- checkout_intents/resources/checkout_intents/shipments.py +198 -0
- checkout_intents/resources/shipments.py +297 -0
- checkout_intents/types/__init__.py +2 -0
- checkout_intents/types/checkout_intents/__init__.py +5 -0
- checkout_intents/types/checkout_intents/shipment_list_params.py +15 -0
- checkout_intents/types/payment_method.py +14 -2
- checkout_intents/types/payment_method_param.py +14 -2
- checkout_intents/types/shipment.py +261 -0
- checkout_intents/types/shipment_list_params.py +22 -0
- {checkout_intents-0.13.1.dist-info → checkout_intents-0.14.0.dist-info}/METADATA +1 -1
- {checkout_intents-0.13.1.dist-info → checkout_intents-0.14.0.dist-info}/RECORD +18 -11
- {checkout_intents-0.13.1.dist-info → checkout_intents-0.14.0.dist-info}/WHEEL +0 -0
- {checkout_intents-0.13.1.dist-info → checkout_intents-0.14.0.dist-info}/licenses/LICENSE +0 -0
checkout_intents/_client.py
CHANGED
|
@@ -31,11 +31,12 @@ from ._base_client import (
|
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
if TYPE_CHECKING:
|
|
34
|
-
from .resources import betas, brands, products, checkout_intents
|
|
34
|
+
from .resources import betas, brands, products, shipments, checkout_intents
|
|
35
35
|
from .resources.brands import BrandsResource, AsyncBrandsResource
|
|
36
36
|
from .resources.products import ProductsResource, AsyncProductsResource
|
|
37
|
+
from .resources.shipments import ShipmentsResource, AsyncShipmentsResource
|
|
37
38
|
from .resources.betas.betas import BetasResource, AsyncBetasResource
|
|
38
|
-
from .resources.checkout_intents import CheckoutIntentsResource, AsyncCheckoutIntentsResource
|
|
39
|
+
from .resources.checkout_intents.checkout_intents import CheckoutIntentsResource, AsyncCheckoutIntentsResource
|
|
39
40
|
|
|
40
41
|
__all__ = [
|
|
41
42
|
"ENVIRONMENTS",
|
|
@@ -176,6 +177,12 @@ class CheckoutIntents(SyncAPIClient):
|
|
|
176
177
|
|
|
177
178
|
return CheckoutIntentsResource(self)
|
|
178
179
|
|
|
180
|
+
@cached_property
|
|
181
|
+
def shipments(self) -> ShipmentsResource:
|
|
182
|
+
from .resources.shipments import ShipmentsResource
|
|
183
|
+
|
|
184
|
+
return ShipmentsResource(self)
|
|
185
|
+
|
|
179
186
|
@cached_property
|
|
180
187
|
def betas(self) -> BetasResource:
|
|
181
188
|
from .resources.betas import BetasResource
|
|
@@ -413,6 +420,12 @@ class AsyncCheckoutIntents(AsyncAPIClient):
|
|
|
413
420
|
|
|
414
421
|
return AsyncCheckoutIntentsResource(self)
|
|
415
422
|
|
|
423
|
+
@cached_property
|
|
424
|
+
def shipments(self) -> AsyncShipmentsResource:
|
|
425
|
+
from .resources.shipments import AsyncShipmentsResource
|
|
426
|
+
|
|
427
|
+
return AsyncShipmentsResource(self)
|
|
428
|
+
|
|
416
429
|
@cached_property
|
|
417
430
|
def betas(self) -> AsyncBetasResource:
|
|
418
431
|
from .resources.betas import AsyncBetasResource
|
|
@@ -558,6 +571,12 @@ class CheckoutIntentsWithRawResponse:
|
|
|
558
571
|
|
|
559
572
|
return CheckoutIntentsResourceWithRawResponse(self._client.checkout_intents)
|
|
560
573
|
|
|
574
|
+
@cached_property
|
|
575
|
+
def shipments(self) -> shipments.ShipmentsResourceWithRawResponse:
|
|
576
|
+
from .resources.shipments import ShipmentsResourceWithRawResponse
|
|
577
|
+
|
|
578
|
+
return ShipmentsResourceWithRawResponse(self._client.shipments)
|
|
579
|
+
|
|
561
580
|
@cached_property
|
|
562
581
|
def betas(self) -> betas.BetasResourceWithRawResponse:
|
|
563
582
|
from .resources.betas import BetasResourceWithRawResponse
|
|
@@ -589,6 +608,12 @@ class AsyncCheckoutIntentsWithRawResponse:
|
|
|
589
608
|
|
|
590
609
|
return AsyncCheckoutIntentsResourceWithRawResponse(self._client.checkout_intents)
|
|
591
610
|
|
|
611
|
+
@cached_property
|
|
612
|
+
def shipments(self) -> shipments.AsyncShipmentsResourceWithRawResponse:
|
|
613
|
+
from .resources.shipments import AsyncShipmentsResourceWithRawResponse
|
|
614
|
+
|
|
615
|
+
return AsyncShipmentsResourceWithRawResponse(self._client.shipments)
|
|
616
|
+
|
|
592
617
|
@cached_property
|
|
593
618
|
def betas(self) -> betas.AsyncBetasResourceWithRawResponse:
|
|
594
619
|
from .resources.betas import AsyncBetasResourceWithRawResponse
|
|
@@ -620,6 +645,12 @@ class CheckoutIntentsWithStreamedResponse:
|
|
|
620
645
|
|
|
621
646
|
return CheckoutIntentsResourceWithStreamingResponse(self._client.checkout_intents)
|
|
622
647
|
|
|
648
|
+
@cached_property
|
|
649
|
+
def shipments(self) -> shipments.ShipmentsResourceWithStreamingResponse:
|
|
650
|
+
from .resources.shipments import ShipmentsResourceWithStreamingResponse
|
|
651
|
+
|
|
652
|
+
return ShipmentsResourceWithStreamingResponse(self._client.shipments)
|
|
653
|
+
|
|
623
654
|
@cached_property
|
|
624
655
|
def betas(self) -> betas.BetasResourceWithStreamingResponse:
|
|
625
656
|
from .resources.betas import BetasResourceWithStreamingResponse
|
|
@@ -651,6 +682,12 @@ class AsyncCheckoutIntentsWithStreamedResponse:
|
|
|
651
682
|
|
|
652
683
|
return AsyncCheckoutIntentsResourceWithStreamingResponse(self._client.checkout_intents)
|
|
653
684
|
|
|
685
|
+
@cached_property
|
|
686
|
+
def shipments(self) -> shipments.AsyncShipmentsResourceWithStreamingResponse:
|
|
687
|
+
from .resources.shipments import AsyncShipmentsResourceWithStreamingResponse
|
|
688
|
+
|
|
689
|
+
return AsyncShipmentsResourceWithStreamingResponse(self._client.shipments)
|
|
690
|
+
|
|
654
691
|
@cached_property
|
|
655
692
|
def betas(self) -> betas.AsyncBetasResourceWithStreamingResponse:
|
|
656
693
|
from .resources.betas import AsyncBetasResourceWithStreamingResponse
|
checkout_intents/_version.py
CHANGED
|
@@ -24,6 +24,14 @@ from .products import (
|
|
|
24
24
|
ProductsResourceWithStreamingResponse,
|
|
25
25
|
AsyncProductsResourceWithStreamingResponse,
|
|
26
26
|
)
|
|
27
|
+
from .shipments import (
|
|
28
|
+
ShipmentsResource,
|
|
29
|
+
AsyncShipmentsResource,
|
|
30
|
+
ShipmentsResourceWithRawResponse,
|
|
31
|
+
AsyncShipmentsResourceWithRawResponse,
|
|
32
|
+
ShipmentsResourceWithStreamingResponse,
|
|
33
|
+
AsyncShipmentsResourceWithStreamingResponse,
|
|
34
|
+
)
|
|
27
35
|
from .checkout_intents import (
|
|
28
36
|
CheckoutIntentsResource,
|
|
29
37
|
AsyncCheckoutIntentsResource,
|
|
@@ -40,6 +48,12 @@ __all__ = [
|
|
|
40
48
|
"AsyncCheckoutIntentsResourceWithRawResponse",
|
|
41
49
|
"CheckoutIntentsResourceWithStreamingResponse",
|
|
42
50
|
"AsyncCheckoutIntentsResourceWithStreamingResponse",
|
|
51
|
+
"ShipmentsResource",
|
|
52
|
+
"AsyncShipmentsResource",
|
|
53
|
+
"ShipmentsResourceWithRawResponse",
|
|
54
|
+
"AsyncShipmentsResourceWithRawResponse",
|
|
55
|
+
"ShipmentsResourceWithStreamingResponse",
|
|
56
|
+
"AsyncShipmentsResourceWithStreamingResponse",
|
|
43
57
|
"BetasResource",
|
|
44
58
|
"AsyncBetasResource",
|
|
45
59
|
"BetasResourceWithRawResponse",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .shipments import (
|
|
4
|
+
ShipmentsResource,
|
|
5
|
+
AsyncShipmentsResource,
|
|
6
|
+
ShipmentsResourceWithRawResponse,
|
|
7
|
+
AsyncShipmentsResourceWithRawResponse,
|
|
8
|
+
ShipmentsResourceWithStreamingResponse,
|
|
9
|
+
AsyncShipmentsResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .checkout_intents import (
|
|
12
|
+
CheckoutIntentsResource,
|
|
13
|
+
AsyncCheckoutIntentsResource,
|
|
14
|
+
CheckoutIntentsResourceWithRawResponse,
|
|
15
|
+
AsyncCheckoutIntentsResourceWithRawResponse,
|
|
16
|
+
CheckoutIntentsResourceWithStreamingResponse,
|
|
17
|
+
AsyncCheckoutIntentsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"ShipmentsResource",
|
|
22
|
+
"AsyncShipmentsResource",
|
|
23
|
+
"ShipmentsResourceWithRawResponse",
|
|
24
|
+
"AsyncShipmentsResourceWithRawResponse",
|
|
25
|
+
"ShipmentsResourceWithStreamingResponse",
|
|
26
|
+
"AsyncShipmentsResourceWithStreamingResponse",
|
|
27
|
+
"CheckoutIntentsResource",
|
|
28
|
+
"AsyncCheckoutIntentsResource",
|
|
29
|
+
"CheckoutIntentsResourceWithRawResponse",
|
|
30
|
+
"AsyncCheckoutIntentsResourceWithRawResponse",
|
|
31
|
+
"CheckoutIntentsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncCheckoutIntentsResourceWithStreamingResponse",
|
|
33
|
+
]
|
|
@@ -8,35 +8,43 @@ from typing_extensions import Literal, TypeGuard
|
|
|
8
8
|
|
|
9
9
|
import httpx
|
|
10
10
|
|
|
11
|
-
from
|
|
11
|
+
from ...types import (
|
|
12
12
|
checkout_intent_list_params,
|
|
13
13
|
checkout_intent_create_params,
|
|
14
14
|
checkout_intent_confirm_params,
|
|
15
15
|
checkout_intent_purchase_params,
|
|
16
16
|
checkout_intent_add_payment_params,
|
|
17
17
|
)
|
|
18
|
-
from
|
|
19
|
-
from
|
|
20
|
-
from
|
|
21
|
-
from
|
|
22
|
-
|
|
18
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
|
|
19
|
+
from ..._utils import maybe_transform, async_maybe_transform
|
|
20
|
+
from ..._compat import cached_property
|
|
21
|
+
from .shipments import (
|
|
22
|
+
ShipmentsResource,
|
|
23
|
+
AsyncShipmentsResource,
|
|
24
|
+
ShipmentsResourceWithRawResponse,
|
|
25
|
+
AsyncShipmentsResourceWithRawResponse,
|
|
26
|
+
ShipmentsResourceWithStreamingResponse,
|
|
27
|
+
AsyncShipmentsResourceWithStreamingResponse,
|
|
28
|
+
)
|
|
29
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
30
|
+
from ..._response import (
|
|
23
31
|
to_raw_response_wrapper,
|
|
24
32
|
to_streamed_response_wrapper,
|
|
25
33
|
async_to_raw_response_wrapper,
|
|
26
34
|
async_to_streamed_response_wrapper,
|
|
27
35
|
)
|
|
28
|
-
from
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
from
|
|
36
|
+
from ...pagination import SyncCursorPagination, AsyncCursorPagination
|
|
37
|
+
from ..._exceptions import PollTimeoutError
|
|
38
|
+
from ..._base_client import AsyncPaginator, make_request_options
|
|
39
|
+
from ...types.buyer_param import BuyerParam
|
|
40
|
+
from ...types.checkout_intent import (
|
|
33
41
|
CheckoutIntent,
|
|
34
42
|
FailedCheckoutIntent,
|
|
35
43
|
CompletedCheckoutIntent,
|
|
36
44
|
AwaitingConfirmationCheckoutIntent,
|
|
37
45
|
)
|
|
38
|
-
from
|
|
39
|
-
from
|
|
46
|
+
from ...types.payment_method_param import PaymentMethodParam
|
|
47
|
+
from ...types.variant_selection_param import VariantSelectionParam
|
|
40
48
|
|
|
41
49
|
__all__ = ["CheckoutIntentsResource", "AsyncCheckoutIntentsResource"]
|
|
42
50
|
|
|
@@ -46,6 +54,10 @@ logger: logging.Logger = logging.getLogger(__name__)
|
|
|
46
54
|
|
|
47
55
|
|
|
48
56
|
class CheckoutIntentsResource(SyncAPIResource):
|
|
57
|
+
@cached_property
|
|
58
|
+
def shipments(self) -> ShipmentsResource:
|
|
59
|
+
return ShipmentsResource(self._client)
|
|
60
|
+
|
|
49
61
|
@cached_property
|
|
50
62
|
def with_raw_response(self) -> CheckoutIntentsResourceWithRawResponse:
|
|
51
63
|
"""
|
|
@@ -735,6 +747,10 @@ class CheckoutIntentsResource(SyncAPIResource):
|
|
|
735
747
|
|
|
736
748
|
|
|
737
749
|
class AsyncCheckoutIntentsResource(AsyncAPIResource):
|
|
750
|
+
@cached_property
|
|
751
|
+
def shipments(self) -> AsyncShipmentsResource:
|
|
752
|
+
return AsyncShipmentsResource(self._client)
|
|
753
|
+
|
|
738
754
|
@cached_property
|
|
739
755
|
def with_raw_response(self) -> AsyncCheckoutIntentsResourceWithRawResponse:
|
|
740
756
|
"""
|
|
@@ -1460,6 +1476,10 @@ class CheckoutIntentsResourceWithRawResponse:
|
|
|
1460
1476
|
)
|
|
1461
1477
|
|
|
1462
1478
|
|
|
1479
|
+
@cached_property
|
|
1480
|
+
def shipments(self) -> ShipmentsResourceWithRawResponse:
|
|
1481
|
+
return ShipmentsResourceWithRawResponse(self._checkout_intents.shipments)
|
|
1482
|
+
|
|
1463
1483
|
|
|
1464
1484
|
class AsyncCheckoutIntentsResourceWithRawResponse:
|
|
1465
1485
|
def __init__(self, checkout_intents: AsyncCheckoutIntentsResource) -> None:
|
|
@@ -1497,6 +1517,10 @@ class AsyncCheckoutIntentsResourceWithRawResponse:
|
|
|
1497
1517
|
)
|
|
1498
1518
|
|
|
1499
1519
|
|
|
1520
|
+
@cached_property
|
|
1521
|
+
def shipments(self) -> AsyncShipmentsResourceWithRawResponse:
|
|
1522
|
+
return AsyncShipmentsResourceWithRawResponse(self._checkout_intents.shipments)
|
|
1523
|
+
|
|
1500
1524
|
|
|
1501
1525
|
class CheckoutIntentsResourceWithStreamingResponse:
|
|
1502
1526
|
def __init__(self, checkout_intents: CheckoutIntentsResource) -> None:
|
|
@@ -1534,6 +1558,10 @@ class CheckoutIntentsResourceWithStreamingResponse:
|
|
|
1534
1558
|
)
|
|
1535
1559
|
|
|
1536
1560
|
|
|
1561
|
+
@cached_property
|
|
1562
|
+
def shipments(self) -> ShipmentsResourceWithStreamingResponse:
|
|
1563
|
+
return ShipmentsResourceWithStreamingResponse(self._checkout_intents.shipments)
|
|
1564
|
+
|
|
1537
1565
|
|
|
1538
1566
|
class AsyncCheckoutIntentsResourceWithStreamingResponse:
|
|
1539
1567
|
def __init__(self, checkout_intents: AsyncCheckoutIntentsResource) -> None:
|
|
@@ -1569,3 +1597,7 @@ class AsyncCheckoutIntentsResourceWithStreamingResponse:
|
|
|
1569
1597
|
self.confirm_and_poll = async_to_streamed_response_wrapper(
|
|
1570
1598
|
checkout_intents.confirm_and_poll,
|
|
1571
1599
|
)
|
|
1600
|
+
|
|
1601
|
+
@cached_property
|
|
1602
|
+
def shipments(self) -> AsyncShipmentsResourceWithStreamingResponse:
|
|
1603
|
+
return AsyncShipmentsResourceWithStreamingResponse(self._checkout_intents.shipments)
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any, cast
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
10
|
+
from ..._utils import maybe_transform
|
|
11
|
+
from ..._compat import cached_property
|
|
12
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
13
|
+
from ..._response import (
|
|
14
|
+
to_raw_response_wrapper,
|
|
15
|
+
to_streamed_response_wrapper,
|
|
16
|
+
async_to_raw_response_wrapper,
|
|
17
|
+
async_to_streamed_response_wrapper,
|
|
18
|
+
)
|
|
19
|
+
from ...pagination import SyncCursorPagination, AsyncCursorPagination
|
|
20
|
+
from ..._base_client import AsyncPaginator, make_request_options
|
|
21
|
+
from ...types.shipment import Shipment
|
|
22
|
+
from ...types.checkout_intents import shipment_list_params
|
|
23
|
+
|
|
24
|
+
__all__ = ["ShipmentsResource", "AsyncShipmentsResource"]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class ShipmentsResource(SyncAPIResource):
|
|
28
|
+
@cached_property
|
|
29
|
+
def with_raw_response(self) -> ShipmentsResourceWithRawResponse:
|
|
30
|
+
"""
|
|
31
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
32
|
+
the raw response object instead of the parsed content.
|
|
33
|
+
|
|
34
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#accessing-raw-response-data-eg-headers
|
|
35
|
+
"""
|
|
36
|
+
return ShipmentsResourceWithRawResponse(self)
|
|
37
|
+
|
|
38
|
+
@cached_property
|
|
39
|
+
def with_streaming_response(self) -> ShipmentsResourceWithStreamingResponse:
|
|
40
|
+
"""
|
|
41
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
42
|
+
|
|
43
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#with_streaming_response
|
|
44
|
+
"""
|
|
45
|
+
return ShipmentsResourceWithStreamingResponse(self)
|
|
46
|
+
|
|
47
|
+
def list(
|
|
48
|
+
self,
|
|
49
|
+
id: str,
|
|
50
|
+
*,
|
|
51
|
+
after: str | Omit = omit,
|
|
52
|
+
before: str | Omit = omit,
|
|
53
|
+
limit: float | Omit = omit,
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
|
+
) -> SyncCursorPagination[Shipment]:
|
|
61
|
+
"""
|
|
62
|
+
List shipments for a checkout intent
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
if not id:
|
|
74
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
75
|
+
return self._get_api_list(
|
|
76
|
+
f"/api/v1/checkout-intents/{id}/shipments",
|
|
77
|
+
page=SyncCursorPagination[Shipment],
|
|
78
|
+
options=make_request_options(
|
|
79
|
+
extra_headers=extra_headers,
|
|
80
|
+
extra_query=extra_query,
|
|
81
|
+
extra_body=extra_body,
|
|
82
|
+
timeout=timeout,
|
|
83
|
+
query=maybe_transform(
|
|
84
|
+
{
|
|
85
|
+
"after": after,
|
|
86
|
+
"before": before,
|
|
87
|
+
"limit": limit,
|
|
88
|
+
},
|
|
89
|
+
shipment_list_params.ShipmentListParams,
|
|
90
|
+
),
|
|
91
|
+
),
|
|
92
|
+
model=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class AsyncShipmentsResource(AsyncAPIResource):
|
|
97
|
+
@cached_property
|
|
98
|
+
def with_raw_response(self) -> AsyncShipmentsResourceWithRawResponse:
|
|
99
|
+
"""
|
|
100
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
101
|
+
the raw response object instead of the parsed content.
|
|
102
|
+
|
|
103
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#accessing-raw-response-data-eg-headers
|
|
104
|
+
"""
|
|
105
|
+
return AsyncShipmentsResourceWithRawResponse(self)
|
|
106
|
+
|
|
107
|
+
@cached_property
|
|
108
|
+
def with_streaming_response(self) -> AsyncShipmentsResourceWithStreamingResponse:
|
|
109
|
+
"""
|
|
110
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
111
|
+
|
|
112
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#with_streaming_response
|
|
113
|
+
"""
|
|
114
|
+
return AsyncShipmentsResourceWithStreamingResponse(self)
|
|
115
|
+
|
|
116
|
+
def list(
|
|
117
|
+
self,
|
|
118
|
+
id: str,
|
|
119
|
+
*,
|
|
120
|
+
after: str | Omit = omit,
|
|
121
|
+
before: str | Omit = omit,
|
|
122
|
+
limit: float | Omit = omit,
|
|
123
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
124
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
125
|
+
extra_headers: Headers | None = None,
|
|
126
|
+
extra_query: Query | None = None,
|
|
127
|
+
extra_body: Body | None = None,
|
|
128
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
129
|
+
) -> AsyncPaginator[Shipment, AsyncCursorPagination[Shipment]]:
|
|
130
|
+
"""
|
|
131
|
+
List shipments for a checkout intent
|
|
132
|
+
|
|
133
|
+
Args:
|
|
134
|
+
extra_headers: Send extra headers
|
|
135
|
+
|
|
136
|
+
extra_query: Add additional query parameters to the request
|
|
137
|
+
|
|
138
|
+
extra_body: Add additional JSON properties to the request
|
|
139
|
+
|
|
140
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
141
|
+
"""
|
|
142
|
+
if not id:
|
|
143
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
144
|
+
return self._get_api_list(
|
|
145
|
+
f"/api/v1/checkout-intents/{id}/shipments",
|
|
146
|
+
page=AsyncCursorPagination[Shipment],
|
|
147
|
+
options=make_request_options(
|
|
148
|
+
extra_headers=extra_headers,
|
|
149
|
+
extra_query=extra_query,
|
|
150
|
+
extra_body=extra_body,
|
|
151
|
+
timeout=timeout,
|
|
152
|
+
query=maybe_transform(
|
|
153
|
+
{
|
|
154
|
+
"after": after,
|
|
155
|
+
"before": before,
|
|
156
|
+
"limit": limit,
|
|
157
|
+
},
|
|
158
|
+
shipment_list_params.ShipmentListParams,
|
|
159
|
+
),
|
|
160
|
+
),
|
|
161
|
+
model=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
class ShipmentsResourceWithRawResponse:
|
|
166
|
+
def __init__(self, shipments: ShipmentsResource) -> None:
|
|
167
|
+
self._shipments = shipments
|
|
168
|
+
|
|
169
|
+
self.list = to_raw_response_wrapper(
|
|
170
|
+
shipments.list,
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
class AsyncShipmentsResourceWithRawResponse:
|
|
175
|
+
def __init__(self, shipments: AsyncShipmentsResource) -> None:
|
|
176
|
+
self._shipments = shipments
|
|
177
|
+
|
|
178
|
+
self.list = async_to_raw_response_wrapper(
|
|
179
|
+
shipments.list,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class ShipmentsResourceWithStreamingResponse:
|
|
184
|
+
def __init__(self, shipments: ShipmentsResource) -> None:
|
|
185
|
+
self._shipments = shipments
|
|
186
|
+
|
|
187
|
+
self.list = to_streamed_response_wrapper(
|
|
188
|
+
shipments.list,
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class AsyncShipmentsResourceWithStreamingResponse:
|
|
193
|
+
def __init__(self, shipments: AsyncShipmentsResource) -> None:
|
|
194
|
+
self._shipments = shipments
|
|
195
|
+
|
|
196
|
+
self.list = async_to_streamed_response_wrapper(
|
|
197
|
+
shipments.list,
|
|
198
|
+
)
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any, List, cast
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
import httpx
|
|
9
|
+
|
|
10
|
+
from ..types import shipment_list_params
|
|
11
|
+
from .._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
|
|
12
|
+
from .._utils import maybe_transform
|
|
13
|
+
from .._compat import cached_property
|
|
14
|
+
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
+
from .._response import (
|
|
16
|
+
to_raw_response_wrapper,
|
|
17
|
+
to_streamed_response_wrapper,
|
|
18
|
+
async_to_raw_response_wrapper,
|
|
19
|
+
async_to_streamed_response_wrapper,
|
|
20
|
+
)
|
|
21
|
+
from ..pagination import SyncCursorPagination, AsyncCursorPagination
|
|
22
|
+
from .._base_client import AsyncPaginator, make_request_options
|
|
23
|
+
from ..types.shipment import Shipment
|
|
24
|
+
|
|
25
|
+
__all__ = ["ShipmentsResource", "AsyncShipmentsResource"]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class ShipmentsResource(SyncAPIResource):
|
|
29
|
+
@cached_property
|
|
30
|
+
def with_raw_response(self) -> ShipmentsResourceWithRawResponse:
|
|
31
|
+
"""
|
|
32
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
33
|
+
the raw response object instead of the parsed content.
|
|
34
|
+
|
|
35
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#accessing-raw-response-data-eg-headers
|
|
36
|
+
"""
|
|
37
|
+
return ShipmentsResourceWithRawResponse(self)
|
|
38
|
+
|
|
39
|
+
@cached_property
|
|
40
|
+
def with_streaming_response(self) -> ShipmentsResourceWithStreamingResponse:
|
|
41
|
+
"""
|
|
42
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
43
|
+
|
|
44
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#with_streaming_response
|
|
45
|
+
"""
|
|
46
|
+
return ShipmentsResourceWithStreamingResponse(self)
|
|
47
|
+
|
|
48
|
+
def retrieve(
|
|
49
|
+
self,
|
|
50
|
+
id: str,
|
|
51
|
+
*,
|
|
52
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
53
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
54
|
+
extra_headers: Headers | None = None,
|
|
55
|
+
extra_query: Query | None = None,
|
|
56
|
+
extra_body: Body | None = None,
|
|
57
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
58
|
+
) -> Shipment:
|
|
59
|
+
"""
|
|
60
|
+
Retrieve a shipment by id
|
|
61
|
+
|
|
62
|
+
Returns shipment information if the lookup succeeds.
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
if not id:
|
|
74
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
75
|
+
return cast(
|
|
76
|
+
Shipment,
|
|
77
|
+
self._get(
|
|
78
|
+
f"/api/v1/shipments/{id}",
|
|
79
|
+
options=make_request_options(
|
|
80
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
81
|
+
),
|
|
82
|
+
cast_to=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
83
|
+
),
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
def list(
|
|
87
|
+
self,
|
|
88
|
+
*,
|
|
89
|
+
after: str | Omit = omit,
|
|
90
|
+
before: str | Omit = omit,
|
|
91
|
+
ids: SequenceNotStr[str] | Omit = omit,
|
|
92
|
+
limit: float | Omit = omit,
|
|
93
|
+
status: List[Literal["out_for_delivery", "delivered", "shipped", "canceled", "delayed", "ordered"]]
|
|
94
|
+
| Omit = omit,
|
|
95
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
96
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
97
|
+
extra_headers: Headers | None = None,
|
|
98
|
+
extra_query: Query | None = None,
|
|
99
|
+
extra_body: Body | None = None,
|
|
100
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
101
|
+
) -> SyncCursorPagination[Shipment]:
|
|
102
|
+
"""
|
|
103
|
+
Retrieve a paginated list of shipments
|
|
104
|
+
|
|
105
|
+
Enables developers to query shipments associated with their account, with
|
|
106
|
+
filters and cursor-based pagination.
|
|
107
|
+
|
|
108
|
+
Args:
|
|
109
|
+
extra_headers: Send extra headers
|
|
110
|
+
|
|
111
|
+
extra_query: Add additional query parameters to the request
|
|
112
|
+
|
|
113
|
+
extra_body: Add additional JSON properties to the request
|
|
114
|
+
|
|
115
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
116
|
+
"""
|
|
117
|
+
return self._get_api_list(
|
|
118
|
+
"/api/v1/shipments",
|
|
119
|
+
page=SyncCursorPagination[Shipment],
|
|
120
|
+
options=make_request_options(
|
|
121
|
+
extra_headers=extra_headers,
|
|
122
|
+
extra_query=extra_query,
|
|
123
|
+
extra_body=extra_body,
|
|
124
|
+
timeout=timeout,
|
|
125
|
+
query=maybe_transform(
|
|
126
|
+
{
|
|
127
|
+
"after": after,
|
|
128
|
+
"before": before,
|
|
129
|
+
"ids": ids,
|
|
130
|
+
"limit": limit,
|
|
131
|
+
"status": status,
|
|
132
|
+
},
|
|
133
|
+
shipment_list_params.ShipmentListParams,
|
|
134
|
+
),
|
|
135
|
+
),
|
|
136
|
+
model=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class AsyncShipmentsResource(AsyncAPIResource):
|
|
141
|
+
@cached_property
|
|
142
|
+
def with_raw_response(self) -> AsyncShipmentsResourceWithRawResponse:
|
|
143
|
+
"""
|
|
144
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
145
|
+
the raw response object instead of the parsed content.
|
|
146
|
+
|
|
147
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#accessing-raw-response-data-eg-headers
|
|
148
|
+
"""
|
|
149
|
+
return AsyncShipmentsResourceWithRawResponse(self)
|
|
150
|
+
|
|
151
|
+
@cached_property
|
|
152
|
+
def with_streaming_response(self) -> AsyncShipmentsResourceWithStreamingResponse:
|
|
153
|
+
"""
|
|
154
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
155
|
+
|
|
156
|
+
For more information, see https://www.github.com/rye-com/checkout-intents-python#with_streaming_response
|
|
157
|
+
"""
|
|
158
|
+
return AsyncShipmentsResourceWithStreamingResponse(self)
|
|
159
|
+
|
|
160
|
+
async def retrieve(
|
|
161
|
+
self,
|
|
162
|
+
id: str,
|
|
163
|
+
*,
|
|
164
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
165
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
166
|
+
extra_headers: Headers | None = None,
|
|
167
|
+
extra_query: Query | None = None,
|
|
168
|
+
extra_body: Body | None = None,
|
|
169
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
170
|
+
) -> Shipment:
|
|
171
|
+
"""
|
|
172
|
+
Retrieve a shipment by id
|
|
173
|
+
|
|
174
|
+
Returns shipment information if the lookup succeeds.
|
|
175
|
+
|
|
176
|
+
Args:
|
|
177
|
+
extra_headers: Send extra headers
|
|
178
|
+
|
|
179
|
+
extra_query: Add additional query parameters to the request
|
|
180
|
+
|
|
181
|
+
extra_body: Add additional JSON properties to the request
|
|
182
|
+
|
|
183
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
184
|
+
"""
|
|
185
|
+
if not id:
|
|
186
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
187
|
+
return cast(
|
|
188
|
+
Shipment,
|
|
189
|
+
await self._get(
|
|
190
|
+
f"/api/v1/shipments/{id}",
|
|
191
|
+
options=make_request_options(
|
|
192
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
193
|
+
),
|
|
194
|
+
cast_to=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
195
|
+
),
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
def list(
|
|
199
|
+
self,
|
|
200
|
+
*,
|
|
201
|
+
after: str | Omit = omit,
|
|
202
|
+
before: str | Omit = omit,
|
|
203
|
+
ids: SequenceNotStr[str] | Omit = omit,
|
|
204
|
+
limit: float | Omit = omit,
|
|
205
|
+
status: List[Literal["out_for_delivery", "delivered", "shipped", "canceled", "delayed", "ordered"]]
|
|
206
|
+
| Omit = omit,
|
|
207
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
208
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
209
|
+
extra_headers: Headers | None = None,
|
|
210
|
+
extra_query: Query | None = None,
|
|
211
|
+
extra_body: Body | None = None,
|
|
212
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
213
|
+
) -> AsyncPaginator[Shipment, AsyncCursorPagination[Shipment]]:
|
|
214
|
+
"""
|
|
215
|
+
Retrieve a paginated list of shipments
|
|
216
|
+
|
|
217
|
+
Enables developers to query shipments associated with their account, with
|
|
218
|
+
filters and cursor-based pagination.
|
|
219
|
+
|
|
220
|
+
Args:
|
|
221
|
+
extra_headers: Send extra headers
|
|
222
|
+
|
|
223
|
+
extra_query: Add additional query parameters to the request
|
|
224
|
+
|
|
225
|
+
extra_body: Add additional JSON properties to the request
|
|
226
|
+
|
|
227
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
228
|
+
"""
|
|
229
|
+
return self._get_api_list(
|
|
230
|
+
"/api/v1/shipments",
|
|
231
|
+
page=AsyncCursorPagination[Shipment],
|
|
232
|
+
options=make_request_options(
|
|
233
|
+
extra_headers=extra_headers,
|
|
234
|
+
extra_query=extra_query,
|
|
235
|
+
extra_body=extra_body,
|
|
236
|
+
timeout=timeout,
|
|
237
|
+
query=maybe_transform(
|
|
238
|
+
{
|
|
239
|
+
"after": after,
|
|
240
|
+
"before": before,
|
|
241
|
+
"ids": ids,
|
|
242
|
+
"limit": limit,
|
|
243
|
+
"status": status,
|
|
244
|
+
},
|
|
245
|
+
shipment_list_params.ShipmentListParams,
|
|
246
|
+
),
|
|
247
|
+
),
|
|
248
|
+
model=cast(Any, Shipment), # Union types cannot be passed in as arguments in the type system
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
class ShipmentsResourceWithRawResponse:
|
|
253
|
+
def __init__(self, shipments: ShipmentsResource) -> None:
|
|
254
|
+
self._shipments = shipments
|
|
255
|
+
|
|
256
|
+
self.retrieve = to_raw_response_wrapper(
|
|
257
|
+
shipments.retrieve,
|
|
258
|
+
)
|
|
259
|
+
self.list = to_raw_response_wrapper(
|
|
260
|
+
shipments.list,
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
class AsyncShipmentsResourceWithRawResponse:
|
|
265
|
+
def __init__(self, shipments: AsyncShipmentsResource) -> None:
|
|
266
|
+
self._shipments = shipments
|
|
267
|
+
|
|
268
|
+
self.retrieve = async_to_raw_response_wrapper(
|
|
269
|
+
shipments.retrieve,
|
|
270
|
+
)
|
|
271
|
+
self.list = async_to_raw_response_wrapper(
|
|
272
|
+
shipments.list,
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class ShipmentsResourceWithStreamingResponse:
|
|
277
|
+
def __init__(self, shipments: ShipmentsResource) -> None:
|
|
278
|
+
self._shipments = shipments
|
|
279
|
+
|
|
280
|
+
self.retrieve = to_streamed_response_wrapper(
|
|
281
|
+
shipments.retrieve,
|
|
282
|
+
)
|
|
283
|
+
self.list = to_streamed_response_wrapper(
|
|
284
|
+
shipments.list,
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
class AsyncShipmentsResourceWithStreamingResponse:
|
|
289
|
+
def __init__(self, shipments: AsyncShipmentsResource) -> None:
|
|
290
|
+
self._shipments = shipments
|
|
291
|
+
|
|
292
|
+
self.retrieve = async_to_streamed_response_wrapper(
|
|
293
|
+
shipments.retrieve,
|
|
294
|
+
)
|
|
295
|
+
self.list = async_to_streamed_response_wrapper(
|
|
296
|
+
shipments.list,
|
|
297
|
+
)
|
|
@@ -6,6 +6,7 @@ from .buyer import Buyer as Buyer
|
|
|
6
6
|
from .money import Money as Money
|
|
7
7
|
from .offer import Offer as Offer
|
|
8
8
|
from .product import Product as Product
|
|
9
|
+
from .shipment import Shipment as Shipment
|
|
9
10
|
from .buyer_param import BuyerParam as BuyerParam
|
|
10
11
|
from .product_image import ProductImage as ProductImage
|
|
11
12
|
from .payment_method import PaymentMethod as PaymentMethod
|
|
@@ -15,6 +16,7 @@ from .variant_selection import VariantSelection as VariantSelection
|
|
|
15
16
|
from .base_checkout_intent import BaseCheckoutIntent as BaseCheckoutIntent
|
|
16
17
|
from .payment_method_param import PaymentMethodParam as PaymentMethodParam
|
|
17
18
|
from .product_availability import ProductAvailability as ProductAvailability
|
|
19
|
+
from .shipment_list_params import ShipmentListParams as ShipmentListParams
|
|
18
20
|
from .product_lookup_params import ProductLookupParams as ProductLookupParams
|
|
19
21
|
from .brand_retrieve_response import BrandRetrieveResponse as BrandRetrieveResponse
|
|
20
22
|
from .variant_selection_param import VariantSelectionParam as VariantSelectionParam
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["ShipmentListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ShipmentListParams(TypedDict, total=False):
|
|
11
|
+
after: str
|
|
12
|
+
|
|
13
|
+
before: str
|
|
14
|
+
|
|
15
|
+
limit: float
|
|
@@ -7,7 +7,13 @@ from pydantic import Field as FieldInfo
|
|
|
7
7
|
|
|
8
8
|
from .._models import BaseModel
|
|
9
9
|
|
|
10
|
-
__all__ = [
|
|
10
|
+
__all__ = [
|
|
11
|
+
"PaymentMethod",
|
|
12
|
+
"StripeTokenPaymentMethod",
|
|
13
|
+
"BasisTheoryPaymentMethod",
|
|
14
|
+
"NekudaPaymentMethod",
|
|
15
|
+
"DrawdownPaymentMethod",
|
|
16
|
+
]
|
|
11
17
|
|
|
12
18
|
|
|
13
19
|
class StripeTokenPaymentMethod(BaseModel):
|
|
@@ -31,4 +37,10 @@ class NekudaPaymentMethod(BaseModel):
|
|
|
31
37
|
"""Construct a type with a set of properties K of type T"""
|
|
32
38
|
|
|
33
39
|
|
|
34
|
-
|
|
40
|
+
class DrawdownPaymentMethod(BaseModel):
|
|
41
|
+
type: Literal["drawdown"]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
PaymentMethod: TypeAlias = Union[
|
|
45
|
+
StripeTokenPaymentMethod, BasisTheoryPaymentMethod, NekudaPaymentMethod, DrawdownPaymentMethod
|
|
46
|
+
]
|
|
@@ -7,7 +7,13 @@ from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
|
|
|
7
7
|
|
|
8
8
|
from .._utils import PropertyInfo
|
|
9
9
|
|
|
10
|
-
__all__ = [
|
|
10
|
+
__all__ = [
|
|
11
|
+
"PaymentMethodParam",
|
|
12
|
+
"StripeTokenPaymentMethod",
|
|
13
|
+
"BasisTheoryPaymentMethod",
|
|
14
|
+
"NekudaPaymentMethod",
|
|
15
|
+
"DrawdownPaymentMethod",
|
|
16
|
+
]
|
|
11
17
|
|
|
12
18
|
|
|
13
19
|
class StripeTokenPaymentMethod(TypedDict, total=False):
|
|
@@ -31,4 +37,10 @@ class NekudaPaymentMethod(TypedDict, total=False):
|
|
|
31
37
|
"""Construct a type with a set of properties K of type T"""
|
|
32
38
|
|
|
33
39
|
|
|
34
|
-
|
|
40
|
+
class DrawdownPaymentMethod(TypedDict, total=False):
|
|
41
|
+
type: Required[Literal["drawdown"]]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
PaymentMethodParam: TypeAlias = Union[
|
|
45
|
+
StripeTokenPaymentMethod, BasisTheoryPaymentMethod, NekudaPaymentMethod, DrawdownPaymentMethod
|
|
46
|
+
]
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union, Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
from pydantic import Field as FieldInfo
|
|
8
|
+
|
|
9
|
+
from .._models import BaseModel
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"Shipment",
|
|
13
|
+
"WithStatusBaseShipmentWithTrackingShipped",
|
|
14
|
+
"WithStatusBaseShipmentWithTrackingShippedTracking",
|
|
15
|
+
"WithStatusBaseShipmentWithTrackingShippedTrackingEvent",
|
|
16
|
+
"WithStatusBaseShipmentWithTrackingShippedTrackingEventLocation",
|
|
17
|
+
"DeliveredShipment",
|
|
18
|
+
"DeliveredShipmentTracking",
|
|
19
|
+
"DeliveredShipmentTrackingEvent",
|
|
20
|
+
"DeliveredShipmentTrackingEventLocation",
|
|
21
|
+
"WithStatusBaseShipmentWithTrackingDelayed",
|
|
22
|
+
"WithStatusBaseShipmentWithTrackingDelayedTracking",
|
|
23
|
+
"WithStatusBaseShipmentWithTrackingDelayedTrackingEvent",
|
|
24
|
+
"WithStatusBaseShipmentWithTrackingDelayedTrackingEventLocation",
|
|
25
|
+
"WithStatusBaseShipmentWithTrackingOutForDelivery",
|
|
26
|
+
"WithStatusBaseShipmentWithTrackingOutForDeliveryTracking",
|
|
27
|
+
"WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEvent",
|
|
28
|
+
"WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEventLocation",
|
|
29
|
+
"WithStatusBaseShipmentOrdered",
|
|
30
|
+
"WithStatusBaseShipmentCanceled",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class WithStatusBaseShipmentWithTrackingShippedTracking(BaseModel):
|
|
35
|
+
number: Optional[str] = None
|
|
36
|
+
|
|
37
|
+
carrier_name: Optional[str] = FieldInfo(alias="carrierName", default=None)
|
|
38
|
+
|
|
39
|
+
estimated_delivery_date: Optional[datetime] = FieldInfo(alias="estimatedDeliveryDate", default=None)
|
|
40
|
+
|
|
41
|
+
url: Optional[str] = None
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class WithStatusBaseShipmentWithTrackingShippedTrackingEventLocation(BaseModel):
|
|
45
|
+
city: Optional[str] = None
|
|
46
|
+
|
|
47
|
+
country: Optional[str] = None
|
|
48
|
+
|
|
49
|
+
province: Optional[str] = None
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class WithStatusBaseShipmentWithTrackingShippedTrackingEvent(BaseModel):
|
|
53
|
+
description: Optional[str] = None
|
|
54
|
+
|
|
55
|
+
display_date: Optional[str] = FieldInfo(alias="displayDate", default=None)
|
|
56
|
+
|
|
57
|
+
display_time: Optional[str] = FieldInfo(alias="displayTime", default=None)
|
|
58
|
+
|
|
59
|
+
location: WithStatusBaseShipmentWithTrackingShippedTrackingEventLocation
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class WithStatusBaseShipmentWithTrackingShipped(BaseModel):
|
|
63
|
+
id: str
|
|
64
|
+
|
|
65
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
66
|
+
|
|
67
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
68
|
+
|
|
69
|
+
external_id: str = FieldInfo(alias="externalId")
|
|
70
|
+
|
|
71
|
+
shipped_at: datetime = FieldInfo(alias="shippedAt")
|
|
72
|
+
|
|
73
|
+
status: Literal["shipped"]
|
|
74
|
+
|
|
75
|
+
tracking: WithStatusBaseShipmentWithTrackingShippedTracking
|
|
76
|
+
|
|
77
|
+
tracking_events: List[WithStatusBaseShipmentWithTrackingShippedTrackingEvent] = FieldInfo(alias="trackingEvents")
|
|
78
|
+
|
|
79
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class DeliveredShipmentTracking(BaseModel):
|
|
83
|
+
number: Optional[str] = None
|
|
84
|
+
|
|
85
|
+
carrier_name: Optional[str] = FieldInfo(alias="carrierName", default=None)
|
|
86
|
+
|
|
87
|
+
estimated_delivery_date: Optional[datetime] = FieldInfo(alias="estimatedDeliveryDate", default=None)
|
|
88
|
+
|
|
89
|
+
url: Optional[str] = None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class DeliveredShipmentTrackingEventLocation(BaseModel):
|
|
93
|
+
city: Optional[str] = None
|
|
94
|
+
|
|
95
|
+
country: Optional[str] = None
|
|
96
|
+
|
|
97
|
+
province: Optional[str] = None
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class DeliveredShipmentTrackingEvent(BaseModel):
|
|
101
|
+
description: Optional[str] = None
|
|
102
|
+
|
|
103
|
+
display_date: Optional[str] = FieldInfo(alias="displayDate", default=None)
|
|
104
|
+
|
|
105
|
+
display_time: Optional[str] = FieldInfo(alias="displayTime", default=None)
|
|
106
|
+
|
|
107
|
+
location: DeliveredShipmentTrackingEventLocation
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class DeliveredShipment(BaseModel):
|
|
111
|
+
id: str
|
|
112
|
+
|
|
113
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
114
|
+
|
|
115
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
116
|
+
|
|
117
|
+
delivered_at: datetime = FieldInfo(alias="deliveredAt")
|
|
118
|
+
|
|
119
|
+
external_id: str = FieldInfo(alias="externalId")
|
|
120
|
+
|
|
121
|
+
shipped_at: datetime = FieldInfo(alias="shippedAt")
|
|
122
|
+
|
|
123
|
+
status: Literal["delivered"]
|
|
124
|
+
|
|
125
|
+
tracking: DeliveredShipmentTracking
|
|
126
|
+
|
|
127
|
+
tracking_events: List[DeliveredShipmentTrackingEvent] = FieldInfo(alias="trackingEvents")
|
|
128
|
+
|
|
129
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class WithStatusBaseShipmentWithTrackingDelayedTracking(BaseModel):
|
|
133
|
+
number: Optional[str] = None
|
|
134
|
+
|
|
135
|
+
carrier_name: Optional[str] = FieldInfo(alias="carrierName", default=None)
|
|
136
|
+
|
|
137
|
+
estimated_delivery_date: Optional[datetime] = FieldInfo(alias="estimatedDeliveryDate", default=None)
|
|
138
|
+
|
|
139
|
+
url: Optional[str] = None
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
class WithStatusBaseShipmentWithTrackingDelayedTrackingEventLocation(BaseModel):
|
|
143
|
+
city: Optional[str] = None
|
|
144
|
+
|
|
145
|
+
country: Optional[str] = None
|
|
146
|
+
|
|
147
|
+
province: Optional[str] = None
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class WithStatusBaseShipmentWithTrackingDelayedTrackingEvent(BaseModel):
|
|
151
|
+
description: Optional[str] = None
|
|
152
|
+
|
|
153
|
+
display_date: Optional[str] = FieldInfo(alias="displayDate", default=None)
|
|
154
|
+
|
|
155
|
+
display_time: Optional[str] = FieldInfo(alias="displayTime", default=None)
|
|
156
|
+
|
|
157
|
+
location: WithStatusBaseShipmentWithTrackingDelayedTrackingEventLocation
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class WithStatusBaseShipmentWithTrackingDelayed(BaseModel):
|
|
161
|
+
id: str
|
|
162
|
+
|
|
163
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
164
|
+
|
|
165
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
166
|
+
|
|
167
|
+
external_id: str = FieldInfo(alias="externalId")
|
|
168
|
+
|
|
169
|
+
shipped_at: datetime = FieldInfo(alias="shippedAt")
|
|
170
|
+
|
|
171
|
+
status: Literal["delayed"]
|
|
172
|
+
|
|
173
|
+
tracking: WithStatusBaseShipmentWithTrackingDelayedTracking
|
|
174
|
+
|
|
175
|
+
tracking_events: List[WithStatusBaseShipmentWithTrackingDelayedTrackingEvent] = FieldInfo(alias="trackingEvents")
|
|
176
|
+
|
|
177
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class WithStatusBaseShipmentWithTrackingOutForDeliveryTracking(BaseModel):
|
|
181
|
+
number: Optional[str] = None
|
|
182
|
+
|
|
183
|
+
carrier_name: Optional[str] = FieldInfo(alias="carrierName", default=None)
|
|
184
|
+
|
|
185
|
+
estimated_delivery_date: Optional[datetime] = FieldInfo(alias="estimatedDeliveryDate", default=None)
|
|
186
|
+
|
|
187
|
+
url: Optional[str] = None
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEventLocation(BaseModel):
|
|
191
|
+
city: Optional[str] = None
|
|
192
|
+
|
|
193
|
+
country: Optional[str] = None
|
|
194
|
+
|
|
195
|
+
province: Optional[str] = None
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEvent(BaseModel):
|
|
199
|
+
description: Optional[str] = None
|
|
200
|
+
|
|
201
|
+
display_date: Optional[str] = FieldInfo(alias="displayDate", default=None)
|
|
202
|
+
|
|
203
|
+
display_time: Optional[str] = FieldInfo(alias="displayTime", default=None)
|
|
204
|
+
|
|
205
|
+
location: WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEventLocation
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
class WithStatusBaseShipmentWithTrackingOutForDelivery(BaseModel):
|
|
209
|
+
id: str
|
|
210
|
+
|
|
211
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
212
|
+
|
|
213
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
214
|
+
|
|
215
|
+
external_id: str = FieldInfo(alias="externalId")
|
|
216
|
+
|
|
217
|
+
shipped_at: datetime = FieldInfo(alias="shippedAt")
|
|
218
|
+
|
|
219
|
+
status: Literal["out_for_delivery"]
|
|
220
|
+
|
|
221
|
+
tracking: WithStatusBaseShipmentWithTrackingOutForDeliveryTracking
|
|
222
|
+
|
|
223
|
+
tracking_events: List[WithStatusBaseShipmentWithTrackingOutForDeliveryTrackingEvent] = FieldInfo(
|
|
224
|
+
alias="trackingEvents"
|
|
225
|
+
)
|
|
226
|
+
|
|
227
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
class WithStatusBaseShipmentOrdered(BaseModel):
|
|
231
|
+
id: str
|
|
232
|
+
|
|
233
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
234
|
+
|
|
235
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
236
|
+
|
|
237
|
+
status: Literal["ordered"]
|
|
238
|
+
|
|
239
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
class WithStatusBaseShipmentCanceled(BaseModel):
|
|
243
|
+
id: str
|
|
244
|
+
|
|
245
|
+
checkout_intent_id: str = FieldInfo(alias="checkoutIntentId")
|
|
246
|
+
|
|
247
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
248
|
+
|
|
249
|
+
status: Literal["canceled"]
|
|
250
|
+
|
|
251
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
Shipment: TypeAlias = Union[
|
|
255
|
+
WithStatusBaseShipmentWithTrackingShipped,
|
|
256
|
+
DeliveredShipment,
|
|
257
|
+
WithStatusBaseShipmentWithTrackingDelayed,
|
|
258
|
+
WithStatusBaseShipmentWithTrackingOutForDelivery,
|
|
259
|
+
WithStatusBaseShipmentOrdered,
|
|
260
|
+
WithStatusBaseShipmentCanceled,
|
|
261
|
+
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
from typing_extensions import Literal, TypedDict
|
|
7
|
+
|
|
8
|
+
from .._types import SequenceNotStr
|
|
9
|
+
|
|
10
|
+
__all__ = ["ShipmentListParams"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ShipmentListParams(TypedDict, total=False):
|
|
14
|
+
after: str
|
|
15
|
+
|
|
16
|
+
before: str
|
|
17
|
+
|
|
18
|
+
ids: SequenceNotStr[str]
|
|
19
|
+
|
|
20
|
+
limit: float
|
|
21
|
+
|
|
22
|
+
status: List[Literal["out_for_delivery", "delivered", "shipped", "canceled", "delayed", "ordered"]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: checkout-intents
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
checkout_intents/__init__.py,sha256=5m0_Ktnyya4CJ0vdWZbAv7qZMeR1VnXqN_MJtH3RJTM,2833
|
|
2
2
|
checkout_intents/_base_client.py,sha256=erZOquhcv6qskhIcqEJ2mLowvp4htuOuVBjTH4d2qlk,73668
|
|
3
|
-
checkout_intents/_client.py,sha256=
|
|
3
|
+
checkout_intents/_client.py,sha256=LdU8bgYmcHhVbpOVipuFjJSdlNkQjkoVrWU3RrA3uHw,28257
|
|
4
4
|
checkout_intents/_compat.py,sha256=teO44AYozpv2wFRrUi7brcZfGPpFSERQZ4fcdX6zVvs,6627
|
|
5
5
|
checkout_intents/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
checkout_intents/_exceptions.py,sha256=oQn7Y6LzccgRDOtdg20l68bXtgf2tgVNKIrufJPDsuk,4252
|
|
@@ -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=8crq0wrqM8FR-GJ-nXMwjLlp0QEjfJT5H01fve7mjs4,7604
|
|
14
|
-
checkout_intents/_version.py,sha256=
|
|
14
|
+
checkout_intents/_version.py,sha256=KLxSrhJcnfMbahZPtAV3d6BIhhrOaQK0573xyMVkqvI,169
|
|
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
|
|
@@ -28,14 +28,17 @@ checkout_intents/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3u
|
|
|
28
28
|
checkout_intents/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
|
|
29
29
|
checkout_intents/_utils/_utils.py,sha256=g9ftElB09kVT6EVfCIlD_nUfANhDX5_vZO61FDWoIQI,12334
|
|
30
30
|
checkout_intents/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
31
|
-
checkout_intents/resources/__init__.py,sha256=
|
|
31
|
+
checkout_intents/resources/__init__.py,sha256=Q5eSnRetPIIcXCcU2tXp2nMyUP1Hr0pVD5vYklg36yo,2522
|
|
32
32
|
checkout_intents/resources/brands.py,sha256=jJ5Jn2GG3MPkdKSg6_OG89dSQTaSGM9e7lBtovn-ABE,6389
|
|
33
|
-
checkout_intents/resources/checkout_intents.py,sha256=c2i_3b3l9LrnWEgL0MRrxVzlRv9mn_8QboLnF_8tiuM,62156
|
|
34
33
|
checkout_intents/resources/products.py,sha256=x3eHIkS_kv_a5XbpeKo0AFvptVR9pGvDi5ImR_eMi50,6025
|
|
34
|
+
checkout_intents/resources/shipments.py,sha256=oyoMMtyoPapKdHbGgBHJ4SlBKUy9pj3a3vox88RwILc,11154
|
|
35
35
|
checkout_intents/resources/betas/__init__.py,sha256=DQKAlEq_xKd67cDJhihmsFJowbKXwPwZVi6zbGUykfQ,1120
|
|
36
36
|
checkout_intents/resources/betas/betas.py,sha256=48PbcJQb3RFRJ2pbvr7aAR1KYi64bWBQgfxg6KtcqeU,3892
|
|
37
37
|
checkout_intents/resources/betas/checkout_sessions.py,sha256=0Q7IARFC7RUmTPge5HXZb4YY9LCizOX2jCNxsSx7kdI,8659
|
|
38
|
-
checkout_intents/
|
|
38
|
+
checkout_intents/resources/checkout_intents/__init__.py,sha256=yUgcALmpFAtOxAV166XYQQJDXaWJGk5ZBhqcbzeg78Y,1159
|
|
39
|
+
checkout_intents/resources/checkout_intents/checkout_intents.py,sha256=Mke_0UqGmvfhtZSE4TmwnTjTpu5dXOsjChEJ8KBsTZA,63365
|
|
40
|
+
checkout_intents/resources/checkout_intents/shipments.py,sha256=LrcSzG35eCndCwMtKLqAbg4fMmzhYsRRMkVCXaLIh1M,7326
|
|
41
|
+
checkout_intents/types/__init__.py,sha256=F54GIRr0qlM_xojya_EnH4P5ScVH89lfdXg2cTkzYgI,1732
|
|
39
42
|
checkout_intents/types/base_checkout_intent.py,sha256=pbGjljfrAcC8IwRc6A1ty2M-mdSTfa1_s2ddgy1h2ww,1437
|
|
40
43
|
checkout_intents/types/brand_retrieve_response.py,sha256=c8DCAJvHFHcrIOW6onHj5Y51Yba7zyOrRXZuGfqYkBc,561
|
|
41
44
|
checkout_intents/types/buyer.py,sha256=Ov6mVD-Hjm9A-i9p2dWCXtniLhYpG_6jvy9DReC54YQ,530
|
|
@@ -49,17 +52,21 @@ checkout_intents/types/checkout_intent_purchase_params.py,sha256=L_NSyWsifBxpZ29
|
|
|
49
52
|
checkout_intents/types/checkout_session.py,sha256=e1Ay_2GYO9Ybmz53S0Z0o3R4Et5Gm2kiS5wn1y1Ey3g,589
|
|
50
53
|
checkout_intents/types/money.py,sha256=tiB3lhLN-bHTkWrEA-11LuXiv-9SvF7WQyiru3mC7bE,326
|
|
51
54
|
checkout_intents/types/offer.py,sha256=9nGYAlA3tEiRU9lvsktnVl6EWj5dLNr6K9LB8WprckI,985
|
|
52
|
-
checkout_intents/types/payment_method.py,sha256
|
|
53
|
-
checkout_intents/types/payment_method_param.py,sha256=
|
|
55
|
+
checkout_intents/types/payment_method.py,sha256=WJf46fgdGnRYp0paCTPCCAx4MWY34jjAIkGTr1G9-YQ,1218
|
|
56
|
+
checkout_intents/types/payment_method_param.py,sha256=706BqStJiHhrys_Ba3POUEZ6c-DVoGJLynvzNiiLDik,1397
|
|
54
57
|
checkout_intents/types/product.py,sha256=jl8b4yezOyaLeyx7BgVHjPpT2nLSoEYMCm5-r-oKNtg,924
|
|
55
58
|
checkout_intents/types/product_availability.py,sha256=mzfVhS-KSXPgT4367qAEN0S3teGHPkNHQAy4FiA_BCc,277
|
|
56
59
|
checkout_intents/types/product_image.py,sha256=_iN7QsLuq4u3kywPkxLkdCkFFcYD3_n3uLem5NZ_yU4,289
|
|
57
60
|
checkout_intents/types/product_lookup_params.py,sha256=YFd1SWJoHifWr5jvZYT_KymSfFlf2Xc0h08eG5xIyuU,284
|
|
61
|
+
checkout_intents/types/shipment.py,sha256=YMV0K6DXmeTiFHP5_ERJXlkE9yWRn0i2GuQ6VO9GuZQ,7817
|
|
62
|
+
checkout_intents/types/shipment_list_params.py,sha256=UX-KPAJgRK22Riycmb0jRM21dvoF2O8scDlfaewZaQE,504
|
|
58
63
|
checkout_intents/types/variant_selection.py,sha256=y6mlU-qGwDfE77mU-x1GTXkDsmn6vuPpy5lBYXqXCBw,259
|
|
59
64
|
checkout_intents/types/variant_selection_param.py,sha256=ahwTmDVIUMV8jvpggEo2jDUTIm9xvXbntDxmIZqT2_k,355
|
|
60
65
|
checkout_intents/types/betas/__init__.py,sha256=ZeKE1oI6DbXReHgxvn2kIS3G3_k8MH8a-o22ONpi5dc,226
|
|
61
66
|
checkout_intents/types/betas/checkout_session_create_params.py,sha256=TdxIvwfNSJ2QX28ugqgTscIwTSBhsp_YrUj8xCYVfMY,2004
|
|
62
|
-
checkout_intents
|
|
63
|
-
checkout_intents
|
|
64
|
-
checkout_intents-0.
|
|
65
|
-
checkout_intents-0.
|
|
67
|
+
checkout_intents/types/checkout_intents/__init__.py,sha256=pvWF_PcY3FExgLferzdr6HA8Md7yq2TiqaxaLYMNYoE,198
|
|
68
|
+
checkout_intents/types/checkout_intents/shipment_list_params.py,sha256=lQBjpPqlv3XXFLLqd7F5ZLCMz1FCIxzxxqJAAL800VA,299
|
|
69
|
+
checkout_intents-0.14.0.dist-info/METADATA,sha256=aIIYl18ku5hIr2bQ21VYFMlh89NQnPXWhQfHCnlYkXw,24302
|
|
70
|
+
checkout_intents-0.14.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
71
|
+
checkout_intents-0.14.0.dist-info/licenses/LICENSE,sha256=BnK3I8R5OpT_XsQObbpssF9h8-B0aZaerlZjRgSPNpU,1056
|
|
72
|
+
checkout_intents-0.14.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|