moovio_sdk 0.14.0__py3-none-any.whl → 0.14.1__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.
@@ -0,0 +1,80 @@
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
+ createwallet as components_createwallet,
6
+ wallet as components_wallet,
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 CreateWalletGlobalsTypedDict(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 CreateWalletGlobals(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 CreateWalletRequestTypedDict(TypedDict):
53
+ account_id: str
54
+ r"""The Moov account ID the wallet belongs to."""
55
+ create_wallet: components_createwallet.CreateWalletTypedDict
56
+
57
+
58
+ class CreateWalletRequest(BaseModel):
59
+ account_id: Annotated[
60
+ str,
61
+ pydantic.Field(alias="accountID"),
62
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
63
+ ]
64
+ r"""The Moov account ID the wallet belongs to."""
65
+
66
+ create_wallet: Annotated[
67
+ components_createwallet.CreateWallet,
68
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
69
+ ]
70
+
71
+
72
+ class CreateWalletResponseTypedDict(TypedDict):
73
+ headers: Dict[str, List[str]]
74
+ result: components_wallet.WalletTypedDict
75
+
76
+
77
+ class CreateWalletResponse(BaseModel):
78
+ headers: Dict[str, List[str]]
79
+
80
+ result: components_wallet.Wallet
@@ -1,9 +1,18 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from moovio_sdk.models.components import wallet as components_wallet
4
+ from moovio_sdk.models.components import (
5
+ wallet as components_wallet,
6
+ walletstatus as components_walletstatus,
7
+ wallettype as components_wallettype,
8
+ )
5
9
  from moovio_sdk.types import BaseModel
6
- from moovio_sdk.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
10
+ from moovio_sdk.utils import (
11
+ FieldMetadata,
12
+ HeaderMetadata,
13
+ PathParamMetadata,
14
+ QueryParamMetadata,
15
+ )
7
16
  import pydantic
8
17
  from typing import Dict, List, Optional
9
18
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -43,6 +52,12 @@ class ListWalletsGlobals(BaseModel):
43
52
 
44
53
  class ListWalletsRequestTypedDict(TypedDict):
45
54
  account_id: str
55
+ status: NotRequired[components_walletstatus.WalletStatus]
56
+ r"""Optional parameter for filtering wallets by status."""
57
+ wallet_type: NotRequired[components_wallettype.WalletType]
58
+ r"""Optional parameter for filtering wallets by type."""
59
+ skip: NotRequired[int]
60
+ count: NotRequired[int]
46
61
 
47
62
 
48
63
  class ListWalletsRequest(BaseModel):
@@ -52,6 +67,29 @@ class ListWalletsRequest(BaseModel):
52
67
  FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
53
68
  ]
54
69
 
70
+ status: Annotated[
71
+ Optional[components_walletstatus.WalletStatus],
72
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
73
+ ] = None
74
+ r"""Optional parameter for filtering wallets by status."""
75
+
76
+ wallet_type: Annotated[
77
+ Optional[components_wallettype.WalletType],
78
+ pydantic.Field(alias="walletType"),
79
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
80
+ ] = None
81
+ r"""Optional parameter for filtering wallets by type."""
82
+
83
+ skip: Annotated[
84
+ Optional[int],
85
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
86
+ ] = None
87
+
88
+ count: Annotated[
89
+ Optional[int],
90
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
91
+ ] = None
92
+
55
93
 
56
94
  class ListWalletsResponseTypedDict(TypedDict):
57
95
  headers: Dict[str, List[str]]
@@ -0,0 +1,89 @@
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
+ patchwallet as components_patchwallet,
6
+ wallet as components_wallet,
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 UpdateWalletGlobalsTypedDict(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 UpdateWalletGlobals(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 UpdateWalletRequestTypedDict(TypedDict):
53
+ wallet_id: str
54
+ r"""Identifier for the wallet."""
55
+ account_id: str
56
+ r"""The Moov account ID the wallet belongs to."""
57
+ patch_wallet: components_patchwallet.PatchWalletTypedDict
58
+
59
+
60
+ class UpdateWalletRequest(BaseModel):
61
+ wallet_id: Annotated[
62
+ str,
63
+ pydantic.Field(alias="walletID"),
64
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
65
+ ]
66
+ r"""Identifier for the wallet."""
67
+
68
+ account_id: Annotated[
69
+ str,
70
+ pydantic.Field(alias="accountID"),
71
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
72
+ ]
73
+ r"""The Moov account ID the wallet belongs to."""
74
+
75
+ patch_wallet: Annotated[
76
+ components_patchwallet.PatchWallet,
77
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
78
+ ]
79
+
80
+
81
+ class UpdateWalletResponseTypedDict(TypedDict):
82
+ headers: Dict[str, List[str]]
83
+ result: components_wallet.WalletTypedDict
84
+
85
+
86
+ class UpdateWalletResponse(BaseModel):
87
+ headers: Dict[str, List[str]]
88
+
89
+ result: components_wallet.Wallet