moovio_sdk 0.17.1__py3-none-any.whl → 0.17.3__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 moovio_sdk might be problematic. Click here for more details.
- moovio_sdk/_version.py +2 -2
- moovio_sdk/models/components/__init__.py +83 -0
- moovio_sdk/models/components/amountdecimalvalidationerror.py +18 -0
- moovio_sdk/models/components/assignproductimage.py +16 -0
- moovio_sdk/models/components/assignproductimagevalidationerror.py +15 -0
- moovio_sdk/models/components/createproductoption.py +45 -0
- moovio_sdk/models/components/createproductoptiongroup.py +52 -0
- moovio_sdk/models/components/feeproperties.py +7 -1
- moovio_sdk/models/components/partnerpricing.py +12 -6
- moovio_sdk/models/components/partnerpricingagreement.py +10 -4
- moovio_sdk/models/components/product.py +77 -0
- moovio_sdk/models/components/productimagemetadata.py +27 -0
- moovio_sdk/models/components/productoption.py +49 -0
- moovio_sdk/models/components/productoptiongroup.py +56 -0
- moovio_sdk/models/components/productoptiongroupvalidationerror.py +31 -0
- moovio_sdk/models/components/productoptionvalidationerror.py +30 -0
- moovio_sdk/models/components/productrequest.py +57 -0
- moovio_sdk/models/components/volumerange.py +37 -0
- moovio_sdk/models/errors/__init__.py +8 -0
- moovio_sdk/models/errors/productrequestvalidationerror.py +58 -0
- moovio_sdk/models/operations/__init__.py +100 -0
- moovio_sdk/models/operations/createproduct.py +78 -0
- moovio_sdk/models/operations/disableproduct.py +67 -0
- moovio_sdk/models/operations/getproduct.py +71 -0
- moovio_sdk/models/operations/listproducts.py +81 -0
- moovio_sdk/models/operations/updateproduct.py +85 -0
- moovio_sdk/products.py +1232 -0
- moovio_sdk/sdk.py +3 -0
- {moovio_sdk-0.17.1.dist-info → moovio_sdk-0.17.3.dist-info}/METADATA +56 -45
- {moovio_sdk-0.17.1.dist-info → moovio_sdk-0.17.3.dist-info}/RECORD +31 -11
- {moovio_sdk-0.17.1.dist-info → moovio_sdk-0.17.3.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from moovio_sdk.models.components import product as components_product
|
|
5
|
+
from moovio_sdk.types import BaseModel
|
|
6
|
+
from moovio_sdk.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
HeaderMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
QueryParamMetadata,
|
|
11
|
+
)
|
|
12
|
+
import pydantic
|
|
13
|
+
from typing import Dict, List, Optional
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class ListProductsGlobalsTypedDict(TypedDict):
|
|
18
|
+
x_moov_version: NotRequired[str]
|
|
19
|
+
r"""Specify an API version.
|
|
20
|
+
|
|
21
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
+
- `YYYY` is the year
|
|
23
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
+
|
|
27
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class ListProductsGlobals(BaseModel):
|
|
32
|
+
x_moov_version: Annotated[
|
|
33
|
+
Optional[str],
|
|
34
|
+
pydantic.Field(alias="x-moov-version"),
|
|
35
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
36
|
+
] = "v2024.01.00"
|
|
37
|
+
r"""Specify an API version.
|
|
38
|
+
|
|
39
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
40
|
+
- `YYYY` is the year
|
|
41
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
42
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
43
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
44
|
+
|
|
45
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class ListProductsRequestTypedDict(TypedDict):
|
|
50
|
+
account_id: str
|
|
51
|
+
skip: NotRequired[int]
|
|
52
|
+
count: NotRequired[int]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class ListProductsRequest(BaseModel):
|
|
56
|
+
account_id: Annotated[
|
|
57
|
+
str,
|
|
58
|
+
pydantic.Field(alias="accountID"),
|
|
59
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
skip: Annotated[
|
|
63
|
+
Optional[int],
|
|
64
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
65
|
+
] = None
|
|
66
|
+
|
|
67
|
+
count: Annotated[
|
|
68
|
+
Optional[int],
|
|
69
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
70
|
+
] = None
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class ListProductsResponseTypedDict(TypedDict):
|
|
74
|
+
headers: Dict[str, List[str]]
|
|
75
|
+
result: List[components_product.ProductTypedDict]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class ListProductsResponse(BaseModel):
|
|
79
|
+
headers: Dict[str, List[str]]
|
|
80
|
+
|
|
81
|
+
result: List[components_product.Product]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from moovio_sdk.models.components import (
|
|
5
|
+
product as components_product,
|
|
6
|
+
productrequest as components_productrequest,
|
|
7
|
+
)
|
|
8
|
+
from moovio_sdk.types import BaseModel
|
|
9
|
+
from moovio_sdk.utils import (
|
|
10
|
+
FieldMetadata,
|
|
11
|
+
HeaderMetadata,
|
|
12
|
+
PathParamMetadata,
|
|
13
|
+
RequestMetadata,
|
|
14
|
+
)
|
|
15
|
+
import pydantic
|
|
16
|
+
from typing import Dict, List, Optional
|
|
17
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class UpdateProductGlobalsTypedDict(TypedDict):
|
|
21
|
+
x_moov_version: NotRequired[str]
|
|
22
|
+
r"""Specify an API version.
|
|
23
|
+
|
|
24
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
25
|
+
- `YYYY` is the year
|
|
26
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
27
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
28
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
29
|
+
|
|
30
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class UpdateProductGlobals(BaseModel):
|
|
35
|
+
x_moov_version: Annotated[
|
|
36
|
+
Optional[str],
|
|
37
|
+
pydantic.Field(alias="x-moov-version"),
|
|
38
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
39
|
+
] = "v2024.01.00"
|
|
40
|
+
r"""Specify an API version.
|
|
41
|
+
|
|
42
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
43
|
+
- `YYYY` is the year
|
|
44
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
45
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
46
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
47
|
+
|
|
48
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class UpdateProductRequestTypedDict(TypedDict):
|
|
53
|
+
account_id: str
|
|
54
|
+
product_id: str
|
|
55
|
+
product_request: components_productrequest.ProductRequestTypedDict
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class UpdateProductRequest(BaseModel):
|
|
59
|
+
account_id: Annotated[
|
|
60
|
+
str,
|
|
61
|
+
pydantic.Field(alias="accountID"),
|
|
62
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
product_id: Annotated[
|
|
66
|
+
str,
|
|
67
|
+
pydantic.Field(alias="productID"),
|
|
68
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
product_request: Annotated[
|
|
72
|
+
components_productrequest.ProductRequest,
|
|
73
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class UpdateProductResponseTypedDict(TypedDict):
|
|
78
|
+
headers: Dict[str, List[str]]
|
|
79
|
+
result: components_product.ProductTypedDict
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class UpdateProductResponse(BaseModel):
|
|
83
|
+
headers: Dict[str, List[str]]
|
|
84
|
+
|
|
85
|
+
result: components_product.Product
|