moovio_sdk 0.13.12__py3-none-any.whl → 0.13.13__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.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/accounts.py +8 -8
- moovio_sdk/models/components/__init__.py +0 -10
- moovio_sdk/models/errors/__init__.py +10 -10
- moovio_sdk/models/errors/createaccounterror.py +53 -0
- moovio_sdk/models/errors/patchaccounterror.py +49 -0
- moovio_sdk/support.py +30 -0
- {moovio_sdk-0.13.12.dist-info → moovio_sdk-0.13.13.dist-info}/METADATA +18 -3
- {moovio_sdk-0.13.12.dist-info → moovio_sdk-0.13.13.dist-info}/RECORD +10 -12
- moovio_sdk/models/components/createaccounterror.py +0 -44
- moovio_sdk/models/components/patchaccounterror.py +0 -38
- moovio_sdk/models/errors/createaccount.py +0 -30
- moovio_sdk/models/errors/updateaccount.py +0 -30
- {moovio_sdk-0.13.12.dist-info → moovio_sdk-0.13.13.dist-info}/WHEEL +0 -0
moovio_sdk/_version.py
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "moovio_sdk"
|
6
|
-
__version__: str = "0.13.
|
6
|
+
__version__: str = "0.13.13"
|
7
7
|
__openapi_doc_version__: str = "latest"
|
8
|
-
__gen_version__: str = "2.
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.13.
|
8
|
+
__gen_version__: str = "2.667.0"
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.13.13 2.667.0 latest moovio_sdk"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
moovio_sdk/accounts.py
CHANGED
@@ -161,9 +161,9 @@ class Accounts(BaseSDK):
|
|
161
161
|
raise errors.GenericError(response_data, http_res)
|
162
162
|
if utils.match_response(http_res, "422", "application/json"):
|
163
163
|
response_data = unmarshal_json_response(
|
164
|
-
errors.
|
164
|
+
errors.CreateAccountErrorData, http_res
|
165
165
|
)
|
166
|
-
raise errors.
|
166
|
+
raise errors.CreateAccountError(response_data, http_res)
|
167
167
|
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
168
168
|
http_res_text = utils.stream_to_text(http_res)
|
169
169
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
@@ -329,9 +329,9 @@ class Accounts(BaseSDK):
|
|
329
329
|
raise errors.GenericError(response_data, http_res)
|
330
330
|
if utils.match_response(http_res, "422", "application/json"):
|
331
331
|
response_data = unmarshal_json_response(
|
332
|
-
errors.
|
332
|
+
errors.CreateAccountErrorData, http_res
|
333
333
|
)
|
334
|
-
raise errors.
|
334
|
+
raise errors.CreateAccountError(response_data, http_res)
|
335
335
|
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
336
336
|
http_res_text = await utils.stream_to_text_async(http_res)
|
337
337
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
@@ -949,9 +949,9 @@ class Accounts(BaseSDK):
|
|
949
949
|
raise errors.GenericError(response_data, http_res)
|
950
950
|
if utils.match_response(http_res, "422", "application/json"):
|
951
951
|
response_data = unmarshal_json_response(
|
952
|
-
errors.
|
952
|
+
errors.PatchAccountErrorData, http_res
|
953
953
|
)
|
954
|
-
raise errors.
|
954
|
+
raise errors.PatchAccountError(response_data, http_res)
|
955
955
|
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
956
956
|
http_res_text = utils.stream_to_text(http_res)
|
957
957
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
@@ -1123,9 +1123,9 @@ class Accounts(BaseSDK):
|
|
1123
1123
|
raise errors.GenericError(response_data, http_res)
|
1124
1124
|
if utils.match_response(http_res, "422", "application/json"):
|
1125
1125
|
response_data = unmarshal_json_response(
|
1126
|
-
errors.
|
1126
|
+
errors.PatchAccountErrorData, http_res
|
1127
1127
|
)
|
1128
|
-
raise errors.
|
1128
|
+
raise errors.PatchAccountError(response_data, http_res)
|
1129
1129
|
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
|
1130
1130
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1131
1131
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
@@ -239,7 +239,6 @@ if TYPE_CHECKING:
|
|
239
239
|
CreateAccountTermsOfServiceTypedDict,
|
240
240
|
CreateAccountTypedDict,
|
241
241
|
)
|
242
|
-
from .createaccounterror import CreateAccountError, CreateAccountErrorTypedDict
|
243
242
|
from .createaccountsettings import (
|
244
243
|
AchPayment,
|
245
244
|
AchPaymentTypedDict,
|
@@ -633,7 +632,6 @@ if TYPE_CHECKING:
|
|
633
632
|
PatchAccountTermsOfServiceTypedDict,
|
634
633
|
PatchAccountTypedDict,
|
635
634
|
)
|
636
|
-
from .patchaccounterror import PatchAccountError, PatchAccountErrorTypedDict
|
637
635
|
from .patchbusiness import PatchBusiness, PatchBusinessTypedDict
|
638
636
|
from .patchindividual import PatchIndividual, PatchIndividualTypedDict
|
639
637
|
from .patchprofile import PatchProfile, PatchProfileTypedDict
|
@@ -1290,8 +1288,6 @@ __all__ = [
|
|
1290
1288
|
"CountriesErrors",
|
1291
1289
|
"CountriesErrorsTypedDict",
|
1292
1290
|
"CreateAccount",
|
1293
|
-
"CreateAccountError",
|
1294
|
-
"CreateAccountErrorTypedDict",
|
1295
1291
|
"CreateAccountSettings",
|
1296
1292
|
"CreateAccountSettingsTypedDict",
|
1297
1293
|
"CreateAccountTermsOfService",
|
@@ -1608,8 +1604,6 @@ __all__ = [
|
|
1608
1604
|
"PatchAccount",
|
1609
1605
|
"PatchAccountCustomerSupport",
|
1610
1606
|
"PatchAccountCustomerSupportTypedDict",
|
1611
|
-
"PatchAccountError",
|
1612
|
-
"PatchAccountErrorTypedDict",
|
1613
1607
|
"PatchAccountTermsOfService",
|
1614
1608
|
"PatchAccountTermsOfServiceTypedDict",
|
1615
1609
|
"PatchAccountTypedDict",
|
@@ -2198,8 +2192,6 @@ _dynamic_imports: dict[str, str] = {
|
|
2198
2192
|
"CreateAccountTermsOfService": ".createaccount",
|
2199
2193
|
"CreateAccountTermsOfServiceTypedDict": ".createaccount",
|
2200
2194
|
"CreateAccountTypedDict": ".createaccount",
|
2201
|
-
"CreateAccountError": ".createaccounterror",
|
2202
|
-
"CreateAccountErrorTypedDict": ".createaccounterror",
|
2203
2195
|
"AchPayment": ".createaccountsettings",
|
2204
2196
|
"AchPaymentTypedDict": ".createaccountsettings",
|
2205
2197
|
"CardPayment": ".createaccountsettings",
|
@@ -2514,8 +2506,6 @@ _dynamic_imports: dict[str, str] = {
|
|
2514
2506
|
"PatchAccountTermsOfService": ".patchaccount",
|
2515
2507
|
"PatchAccountTermsOfServiceTypedDict": ".patchaccount",
|
2516
2508
|
"PatchAccountTypedDict": ".patchaccount",
|
2517
|
-
"PatchAccountError": ".patchaccounterror",
|
2518
|
-
"PatchAccountErrorTypedDict": ".patchaccounterror",
|
2519
2509
|
"PatchBusiness": ".patchbusiness",
|
2520
2510
|
"PatchBusinessTypedDict": ".patchbusiness",
|
2521
2511
|
"PatchIndividual": ".patchindividual",
|
@@ -18,7 +18,7 @@ if TYPE_CHECKING:
|
|
18
18
|
)
|
19
19
|
from .brandvalidationerror import BrandValidationError, BrandValidationErrorData
|
20
20
|
from .cardacquiringrefund import CardAcquiringRefund, CardAcquiringRefundData
|
21
|
-
from .
|
21
|
+
from .createaccounterror import CreateAccountError, CreateAccountErrorData
|
22
22
|
from .createpaymentlinkerror import (
|
23
23
|
CreatePaymentLinkError,
|
24
24
|
CreatePaymentLinkErrorData,
|
@@ -46,6 +46,7 @@ if TYPE_CHECKING:
|
|
46
46
|
from .mooverror import MoovError
|
47
47
|
from .no_response_error import NoResponseError
|
48
48
|
from .onboardinginviteerror import OnboardingInviteError, OnboardingInviteErrorData
|
49
|
+
from .patchaccounterror import PatchAccountError, PatchAccountErrorData
|
49
50
|
from .patchsweepconfigerror import PatchSweepConfigError, PatchSweepConfigErrorData
|
50
51
|
from .refundvalidationerror import RefundValidationError, RefundValidationErrorData
|
51
52
|
from .representativevalidationerror import (
|
@@ -81,7 +82,6 @@ if TYPE_CHECKING:
|
|
81
82
|
TransferValidationError,
|
82
83
|
TransferValidationErrorData,
|
83
84
|
)
|
84
|
-
from .updateaccount import UpdateAccountResponseBody, UpdateAccountResponseBodyData
|
85
85
|
from .updatecarderror import UpdateCardError, UpdateCardErrorData
|
86
86
|
from .updateissuedcarderror import UpdateIssuedCardError, UpdateIssuedCardErrorData
|
87
87
|
from .updatepaymentlinkerror import (
|
@@ -116,8 +116,8 @@ __all__ = [
|
|
116
116
|
"BrandValidationErrorData",
|
117
117
|
"CardAcquiringRefund",
|
118
118
|
"CardAcquiringRefundData",
|
119
|
-
"
|
120
|
-
"
|
119
|
+
"CreateAccountError",
|
120
|
+
"CreateAccountErrorData",
|
121
121
|
"CreatePaymentLinkError",
|
122
122
|
"CreatePaymentLinkErrorData",
|
123
123
|
"CreateSweepConfigError",
|
@@ -146,6 +146,8 @@ __all__ = [
|
|
146
146
|
"NoResponseError",
|
147
147
|
"OnboardingInviteError",
|
148
148
|
"OnboardingInviteErrorData",
|
149
|
+
"PatchAccountError",
|
150
|
+
"PatchAccountErrorData",
|
149
151
|
"PatchSweepConfigError",
|
150
152
|
"PatchSweepConfigErrorData",
|
151
153
|
"RefundValidationError",
|
@@ -169,8 +171,6 @@ __all__ = [
|
|
169
171
|
"TransferOptionsValidationErrorData",
|
170
172
|
"TransferValidationError",
|
171
173
|
"TransferValidationErrorData",
|
172
|
-
"UpdateAccountResponseBody",
|
173
|
-
"UpdateAccountResponseBodyData",
|
174
174
|
"UpdateCardError",
|
175
175
|
"UpdateCardErrorData",
|
176
176
|
"UpdateIssuedCardError",
|
@@ -203,8 +203,8 @@ _dynamic_imports: dict[str, str] = {
|
|
203
203
|
"BrandValidationErrorData": ".brandvalidationerror",
|
204
204
|
"CardAcquiringRefund": ".cardacquiringrefund",
|
205
205
|
"CardAcquiringRefundData": ".cardacquiringrefund",
|
206
|
-
"
|
207
|
-
"
|
206
|
+
"CreateAccountError": ".createaccounterror",
|
207
|
+
"CreateAccountErrorData": ".createaccounterror",
|
208
208
|
"CreatePaymentLinkError": ".createpaymentlinkerror",
|
209
209
|
"CreatePaymentLinkErrorData": ".createpaymentlinkerror",
|
210
210
|
"CreateSweepConfigError": ".createsweepconfigerror",
|
@@ -231,6 +231,8 @@ _dynamic_imports: dict[str, str] = {
|
|
231
231
|
"NoResponseError": ".no_response_error",
|
232
232
|
"OnboardingInviteError": ".onboardinginviteerror",
|
233
233
|
"OnboardingInviteErrorData": ".onboardinginviteerror",
|
234
|
+
"PatchAccountError": ".patchaccounterror",
|
235
|
+
"PatchAccountErrorData": ".patchaccounterror",
|
234
236
|
"PatchSweepConfigError": ".patchsweepconfigerror",
|
235
237
|
"PatchSweepConfigErrorData": ".patchsweepconfigerror",
|
236
238
|
"RefundValidationError": ".refundvalidationerror",
|
@@ -256,8 +258,6 @@ _dynamic_imports: dict[str, str] = {
|
|
256
258
|
"TransferOptionsValidationErrorData": ".transferoptionsvalidationerror",
|
257
259
|
"TransferValidationError": ".transfervalidationerror",
|
258
260
|
"TransferValidationErrorData": ".transfervalidationerror",
|
259
|
-
"UpdateAccountResponseBody": ".updateaccount",
|
260
|
-
"UpdateAccountResponseBodyData": ".updateaccount",
|
261
261
|
"UpdateCardError": ".updatecarderror",
|
262
262
|
"UpdateCardErrorData": ".updatecarderror",
|
263
263
|
"UpdateIssuedCardError": ".updateissuedcarderror",
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
import httpx
|
5
|
+
from moovio_sdk.models.components import (
|
6
|
+
createaccountsettings as components_createaccountsettings,
|
7
|
+
createprofileerror as components_createprofileerror,
|
8
|
+
customersupporterror as components_customersupporterror,
|
9
|
+
termsofserviceerror as components_termsofserviceerror,
|
10
|
+
)
|
11
|
+
from moovio_sdk.models.errors import MoovError
|
12
|
+
from moovio_sdk.types import BaseModel
|
13
|
+
import pydantic
|
14
|
+
from typing import Dict, Optional
|
15
|
+
from typing_extensions import Annotated
|
16
|
+
|
17
|
+
|
18
|
+
class CreateAccountErrorData(BaseModel):
|
19
|
+
account_type: Annotated[Optional[str], pydantic.Field(alias="accountType")] = None
|
20
|
+
|
21
|
+
profile: Optional[components_createprofileerror.CreateProfileError] = None
|
22
|
+
|
23
|
+
metadata: Optional[str] = None
|
24
|
+
|
25
|
+
terms_of_service: Annotated[
|
26
|
+
Optional[components_termsofserviceerror.TermsOfServiceError],
|
27
|
+
pydantic.Field(alias="termsOfService"),
|
28
|
+
] = None
|
29
|
+
|
30
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
31
|
+
|
32
|
+
customer_support: Annotated[
|
33
|
+
Optional[components_customersupporterror.CustomerSupportError],
|
34
|
+
pydantic.Field(alias="customerSupport"),
|
35
|
+
] = None
|
36
|
+
|
37
|
+
settings: Optional[components_createaccountsettings.CreateAccountSettings] = None
|
38
|
+
|
39
|
+
capabilities: Optional[Dict[str, str]] = None
|
40
|
+
|
41
|
+
|
42
|
+
class CreateAccountError(MoovError):
|
43
|
+
data: CreateAccountErrorData
|
44
|
+
|
45
|
+
def __init__(
|
46
|
+
self,
|
47
|
+
data: CreateAccountErrorData,
|
48
|
+
raw_response: httpx.Response,
|
49
|
+
body: Optional[str] = None,
|
50
|
+
):
|
51
|
+
message = body or raw_response.text
|
52
|
+
super().__init__(message, raw_response, body)
|
53
|
+
self.data = data
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
import httpx
|
5
|
+
from moovio_sdk.models.components import (
|
6
|
+
createaccountsettings as components_createaccountsettings,
|
7
|
+
createprofileerror as components_createprofileerror,
|
8
|
+
customersupporterror as components_customersupporterror,
|
9
|
+
termsofserviceerror as components_termsofserviceerror,
|
10
|
+
)
|
11
|
+
from moovio_sdk.models.errors import MoovError
|
12
|
+
from moovio_sdk.types import BaseModel
|
13
|
+
import pydantic
|
14
|
+
from typing import Optional
|
15
|
+
from typing_extensions import Annotated
|
16
|
+
|
17
|
+
|
18
|
+
class PatchAccountErrorData(BaseModel):
|
19
|
+
profile: Optional[components_createprofileerror.CreateProfileError] = None
|
20
|
+
|
21
|
+
metadata: Optional[str] = None
|
22
|
+
|
23
|
+
terms_of_service: Annotated[
|
24
|
+
Optional[components_termsofserviceerror.TermsOfServiceError],
|
25
|
+
pydantic.Field(alias="termsOfService"),
|
26
|
+
] = None
|
27
|
+
|
28
|
+
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
29
|
+
|
30
|
+
customer_support: Annotated[
|
31
|
+
Optional[components_customersupporterror.CustomerSupportError],
|
32
|
+
pydantic.Field(alias="customerSupport"),
|
33
|
+
] = None
|
34
|
+
|
35
|
+
settings: Optional[components_createaccountsettings.CreateAccountSettings] = None
|
36
|
+
|
37
|
+
|
38
|
+
class PatchAccountError(MoovError):
|
39
|
+
data: PatchAccountErrorData
|
40
|
+
|
41
|
+
def __init__(
|
42
|
+
self,
|
43
|
+
data: PatchAccountErrorData,
|
44
|
+
raw_response: httpx.Response,
|
45
|
+
body: Optional[str] = None,
|
46
|
+
):
|
47
|
+
message = body or raw_response.text
|
48
|
+
super().__init__(message, raw_response, body)
|
49
|
+
self.data = data
|
moovio_sdk/support.py
CHANGED
@@ -28,6 +28,9 @@ class Support(BaseSDK):
|
|
28
28
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
29
29
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
30
30
|
|
31
|
+
If you're creating the ticket on behalf of another account, then you'll need to
|
32
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
33
|
+
|
31
34
|
:param account_id:
|
32
35
|
:param title:
|
33
36
|
:param body:
|
@@ -159,6 +162,9 @@ class Support(BaseSDK):
|
|
159
162
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
160
163
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
161
164
|
|
165
|
+
If you're creating the ticket on behalf of another account, then you'll need to
|
166
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
167
|
+
|
162
168
|
:param account_id:
|
163
169
|
:param title:
|
164
170
|
:param body:
|
@@ -290,6 +296,9 @@ class Support(BaseSDK):
|
|
290
296
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
291
297
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
292
298
|
|
299
|
+
If you're listing another account's tickets, then you'll need to
|
300
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
301
|
+
|
293
302
|
:param account_id:
|
294
303
|
:param cursor:
|
295
304
|
:param count:
|
@@ -397,6 +406,9 @@ class Support(BaseSDK):
|
|
397
406
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
398
407
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
399
408
|
|
409
|
+
If you're listing another account's tickets, then you'll need to
|
410
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
411
|
+
|
400
412
|
:param account_id:
|
401
413
|
:param cursor:
|
402
414
|
:param count:
|
@@ -502,6 +514,9 @@ class Support(BaseSDK):
|
|
502
514
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
503
515
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
504
516
|
|
517
|
+
If you're retrieving another account's ticket, then you'll need to
|
518
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
519
|
+
|
505
520
|
:param account_id:
|
506
521
|
:param ticket_id:
|
507
522
|
:param retries: Override the default retry configuration for this method
|
@@ -601,6 +616,9 @@ class Support(BaseSDK):
|
|
601
616
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
602
617
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
603
618
|
|
619
|
+
If you're retrieving another account's ticket, then you'll need to
|
620
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
621
|
+
|
604
622
|
:param account_id:
|
605
623
|
:param ticket_id:
|
606
624
|
:param retries: Override the default retry configuration for this method
|
@@ -701,6 +719,9 @@ class Support(BaseSDK):
|
|
701
719
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
702
720
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
703
721
|
|
722
|
+
If you're updating the ticket on behalf of another account, then you'll need to
|
723
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
724
|
+
|
704
725
|
:param account_id:
|
705
726
|
:param ticket_id:
|
706
727
|
:param status:
|
@@ -829,6 +850,9 @@ class Support(BaseSDK):
|
|
829
850
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
830
851
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
831
852
|
|
853
|
+
If you're updating the ticket on behalf of another account, then you'll need to
|
854
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
855
|
+
|
832
856
|
:param account_id:
|
833
857
|
:param ticket_id:
|
834
858
|
:param status:
|
@@ -956,6 +980,9 @@ class Support(BaseSDK):
|
|
956
980
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
957
981
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
958
982
|
|
983
|
+
If you're listing another account's messages, then you'll need to
|
984
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
985
|
+
|
959
986
|
:param account_id:
|
960
987
|
:param ticket_id:
|
961
988
|
:param retries: Override the default retry configuration for this method
|
@@ -1057,6 +1084,9 @@ class Support(BaseSDK):
|
|
1057
1084
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1058
1085
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
1059
1086
|
|
1087
|
+
If you're listing another account's messages, then you'll need to
|
1088
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
1089
|
+
|
1060
1090
|
:param account_id:
|
1061
1091
|
:param ticket_id:
|
1062
1092
|
:param retries: Override the default retry configuration for this method
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: moovio_sdk
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.13
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9.2
|
@@ -1013,23 +1013,38 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
1013
1013
|
|
1014
1014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1015
1015
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
1016
|
+
|
1017
|
+
If you're creating the ticket on behalf of another account, then you'll need to
|
1018
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
1016
1019
|
* [list_tickets](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md#list_tickets) - List all the support tickets created under a Moov account.
|
1017
1020
|
|
1018
1021
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1019
1022
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
1023
|
+
|
1024
|
+
If you're listing another account's tickets, then you'll need to
|
1025
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
1020
1026
|
* [get_ticket](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md#get_ticket) - Retrieve a support ticket by ID.
|
1021
1027
|
|
1022
1028
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1023
1029
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
1030
|
+
|
1031
|
+
If you're retrieving another account's ticket, then you'll need to
|
1032
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
1024
1033
|
* [update_ticket](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md#update_ticket) - Updates a support ticket.
|
1025
1034
|
|
1026
1035
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1027
1036
|
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
1037
|
+
|
1038
|
+
If you're updating the ticket on behalf of another account, then you'll need to
|
1039
|
+
specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
1028
1040
|
* [list_ticket_messages](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/support/README.md#list_ticket_messages) - List all the messages for a support ticket.
|
1029
1041
|
|
1030
1042
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
1031
1043
|
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
1032
1044
|
|
1045
|
+
If you're listing another account's messages, then you'll need to
|
1046
|
+
specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
1047
|
+
|
1033
1048
|
### [sweeps](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/sweeps/README.md)
|
1034
1049
|
|
1035
1050
|
* [create_config](https://github.com/moovfinancial/moov-python/blob/master/docs/sdks/sweeps/README.md#create_config) - Create a sweep config for a wallet.
|
@@ -1458,8 +1473,8 @@ with Moov(
|
|
1458
1473
|
* [`TerminalApplicationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/terminalapplicationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 143 methods.*
|
1459
1474
|
* [`Transfer`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/transfer.py): Details of a Transfer. Status code `409`. Applicable to 1 of 143 methods.*
|
1460
1475
|
* [`CardAcquiringRefund`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/cardacquiringrefund.py): Details of a card refund. Status code `409`. Applicable to 1 of 143 methods.*
|
1461
|
-
* [`
|
1462
|
-
* [`
|
1476
|
+
* [`CreateAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/createaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 143 methods.*
|
1477
|
+
* [`PatchAccountError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/patchaccounterror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 143 methods.*
|
1463
1478
|
* [`AssignCountriesError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/assigncountrieserror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 143 methods.*
|
1464
1479
|
* [`LinkApplePayError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/linkapplepayerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 143 methods.*
|
1465
1480
|
* [`BankAccountValidationError`](https://github.com/moovfinancial/moov-python/blob/master/./src/moovio_sdk/models/errors/bankaccountvalidationerror.py): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 143 methods.*
|
@@ -3,9 +3,9 @@ moovio_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c
|
|
3
3
|
moovio_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
4
4
|
moovio_sdk/_hooks/sdkhooks.py,sha256=2XuMgiV2N7UE7lN00Is-c3spxVWigYitXS6xSmS_Qow,2560
|
5
5
|
moovio_sdk/_hooks/types.py,sha256=Yi9LD8_sd4zG7_idzCZY4MTxTXMhDlmCdpQvU4dXFI4,3049
|
6
|
-
moovio_sdk/_version.py,sha256=
|
6
|
+
moovio_sdk/_version.py,sha256=sLSMzgtKDrXuhM-Z5E2Sg6E9KM53eJx1rzQVw1YBXxU,468
|
7
7
|
moovio_sdk/account_terminal_applications.py,sha256=ldTg5uAukIAwfziQFgmuq6vlAsUPS5DqMkgdCx9bwn8,38522
|
8
|
-
moovio_sdk/accounts.py,sha256=
|
8
|
+
moovio_sdk/accounts.py,sha256=IuMPB1CBZzkCWAnUSSrB4O5N9hnYq7DkavMGAbRDvNA,100656
|
9
9
|
moovio_sdk/adjustments.py,sha256=U2AtbA2k71S1IpwjJ96LT4SdGUDqR3JEgOSvMm9a2yU,17613
|
10
10
|
moovio_sdk/apple_pay.py,sha256=lHiL6TZjNBG9nMjikb6vQAxCTB82gz3iUjeyTyFsnOQ,56494
|
11
11
|
moovio_sdk/authentication.py,sha256=TId_hYg-JZeidt26NMQXMYeEC4lkAmqkBXpQsU_shuU,22171
|
@@ -27,7 +27,7 @@ moovio_sdk/industries.py,sha256=ZUdnD3w84e1oOOQlye60I9QTFn_0JLGF0uMDrASl8A4,9372
|
|
27
27
|
moovio_sdk/institutions.py,sha256=Kp90bbtOsfb1slR_8RgmYHkgH8G6Pp9FZds2rc7J6Ck,20523
|
28
28
|
moovio_sdk/issuing_transactions.py,sha256=pckxIPSAJDMt-PcKduqdVhd7fsbUwCKzlkGb_UBwRW0,48949
|
29
29
|
moovio_sdk/models/__init__.py,sha256=wIW9sbvSKlrGyoPY4mXvHqw-_Inpl6zqpN6U6j-w6SU,83
|
30
|
-
moovio_sdk/models/components/__init__.py,sha256=
|
30
|
+
moovio_sdk/models/components/__init__.py,sha256=Lzl29mex8ucP6ZsML4N88HyTe63ZhM18oNe1bzizZgo,120667
|
31
31
|
moovio_sdk/models/components/account.py,sha256=QejMoPHYyHF-6TRrUVKYyfD_6Qbl7lFVOEaE8zlOgmI,4181
|
32
32
|
moovio_sdk/models/components/accountcapability.py,sha256=LJ908Zr4lw2qtMwUMLWoscTUjj5wV7YlZ4Z0Vv_abjg,527
|
33
33
|
moovio_sdk/models/components/accountcountries.py,sha256=sI1VAu3PqS2HTOarkT7f6FbkgUT55NL57PvAZKcbRHw,456
|
@@ -144,7 +144,6 @@ moovio_sdk/models/components/completemicrodeposits.py,sha256=POm5oRn9d3RKRr6hfaq
|
|
144
144
|
moovio_sdk/models/components/contact.py,sha256=c7PSjU5QezG4QjGNbsh0mmhbGOh1iyM9W8rfzkDWp5o,437
|
145
145
|
moovio_sdk/models/components/countrieserrors.py,sha256=Dti0Kd5Z3IXq4de3BfQxXOQbT989RU43ZI62WSztsEA,352
|
146
146
|
moovio_sdk/models/components/createaccount.py,sha256=E4Csx_VK6kkIOLksGmhFzrVd-LwzpIQCujLv3LyBPws,3202
|
147
|
-
moovio_sdk/models/components/createaccounterror.py,sha256=ZvhavI3PIu-dzPGS3Zr2rgQVXYzvd4-Jsm9aoh05w30,1686
|
148
147
|
moovio_sdk/models/components/createaccountsettings.py,sha256=1ob3YFYjtQbQYNxpdB4dvRCoHK5CG1JYaeJGadWjhoA,1094
|
149
148
|
moovio_sdk/models/components/createaccounttype.py,sha256=pIjmayXMBjCXC2s7EnYnt4QPatOb6BkLJO4PwUYKrzk,224
|
150
149
|
moovio_sdk/models/components/createapplepaysession.py,sha256=KMa_qsK3pHG22Oe7VT5_MYrhdPHhqodllaG1QU1xe4I,786
|
@@ -299,7 +298,6 @@ moovio_sdk/models/components/partialscheduleaccount.py,sha256=EtOAuIhRyc6nLEWadS
|
|
299
298
|
moovio_sdk/models/components/partnerpricing.py,sha256=XH8XCRTML7AyygqRtLqF-QedIsgB8vKBSLANmR2iEE8,2531
|
300
299
|
moovio_sdk/models/components/partnerpricingagreement.py,sha256=bh3DknfJcKHKyP3cCvNNmOSbxHKgpiVRhEhcenNPcLY,2900
|
301
300
|
moovio_sdk/models/components/patchaccount.py,sha256=iwK7AVVTR03-EBybeWo-g2KPY2OtHtUU7NJF1ne_lHs,4524
|
302
|
-
moovio_sdk/models/components/patchaccounterror.py,sha256=68urJQxtMBlvzimAQcj8BR7NX-q140Jj15WVq5NCY30,1458
|
303
301
|
moovio_sdk/models/components/patchbusiness.py,sha256=MXhweZYmjmbXJ5PF9-eiue2R2DP-zI2qeFQWoO0kBLI,2700
|
304
302
|
moovio_sdk/models/components/patchindividual.py,sha256=eG1P_IJkcu6qdeXD7uudZA2QXf4FRC9nc4u7yvlEu5o,1496
|
305
303
|
moovio_sdk/models/components/patchprofile.py,sha256=85D_j6JmQfJiFT15FM2HKDRzXSDH-Qb5rpniFeMKzLM,1072
|
@@ -482,7 +480,7 @@ moovio_sdk/models/components/webhookeventtype.py,sha256=Pfmhhf77wBjNZ0msKUsCCKcE
|
|
482
480
|
moovio_sdk/models/components/webhooktransferpaymentmethoddetails.py,sha256=UW1IFVidGtC0bOT5sV0m0uiJwblvbP6KopkTqkj5SYg,688
|
483
481
|
moovio_sdk/models/components/wireinstitution.py,sha256=HAouMCzuM9UtkAW9hgtRW8cMq8vBgYuxj_NFQxsiCbY,810
|
484
482
|
moovio_sdk/models/components/wireservices.py,sha256=5LbfeTazeWxrCRk2HBCtyByTZSeg9g4fdhK81lmYICo,1207
|
485
|
-
moovio_sdk/models/errors/__init__.py,sha256=
|
483
|
+
moovio_sdk/models/errors/__init__.py,sha256=_l-9PpFWhWFbIaYQ4ksH5mRDcvf731bWq7XSGaqbhFw,12165
|
486
484
|
moovio_sdk/models/errors/accountterminalapplicationerror.py,sha256=4_L-gUxQyac3xyO5BbPZvx9a3IH5mzE5AsQVRSOXCr4,855
|
487
485
|
moovio_sdk/models/errors/addcapabilitieserror.py,sha256=xqYH8BOxhlNGZNMsT6VM_l4s-sJAzhkc1TfpnXQE6xs,808
|
488
486
|
moovio_sdk/models/errors/apierror.py,sha256=RjnwNB8JXX70lx2_77NFneGKOc_N9T3tfoUqW4hJgC0,1225
|
@@ -491,7 +489,7 @@ moovio_sdk/models/errors/authtokenrequesterror.py,sha256=8e9Z7zkIpICRwij_p5F6RR1
|
|
491
489
|
moovio_sdk/models/errors/bankaccountvalidationerror.py,sha256=OtbFcpW9QyC8mJvS5WR9i1PFfapB_YA9dHNdzOlrYj4,927
|
492
490
|
moovio_sdk/models/errors/brandvalidationerror.py,sha256=hdT5N5vqTkto1M3PhsSEq2o7OO03NjSumHKZ73g-r_k,825
|
493
491
|
moovio_sdk/models/errors/cardacquiringrefund.py,sha256=tgpZb1shDc_LyASLpgdegsOyhL5rbnUoRitvu3AHXSw,1419
|
494
|
-
moovio_sdk/models/errors/
|
492
|
+
moovio_sdk/models/errors/createaccounterror.py,sha256=n149m3KyhABnJ7uzRuYoNRW9FZIvLpeeUI7ltPZ_iVg,1730
|
495
493
|
moovio_sdk/models/errors/createpaymentlinkerror.py,sha256=K-4ghMgBPq-oVVEsqufRmUU6OJz8gCaBlFEKZLSDseE,1712
|
496
494
|
moovio_sdk/models/errors/createsweepconfigerror.py,sha256=gJz4xRomUPiM_2GH5CUigvFCGXj65mnVrijWU3EBh9A,1278
|
497
495
|
moovio_sdk/models/errors/createticketerror.py,sha256=MOzGjh_C7X0cJuVAN2BXSskJSs3Fi8HFzn8WfXl2dVQ,907
|
@@ -505,6 +503,7 @@ moovio_sdk/models/errors/microdepositvalidationerror.py,sha256=c-lAgLUz2aCbM6u9Y
|
|
505
503
|
moovio_sdk/models/errors/mooverror.py,sha256=AS3nGSw1zwyT9VaQjoIsD5NWHTlpwBx56fcs-f5-snk,711
|
506
504
|
moovio_sdk/models/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
|
507
505
|
moovio_sdk/models/errors/onboardinginviteerror.py,sha256=rDSbX286KtWF9Jr-XkH4mUDbO1YYaAbD-ZtqDzZjPs0,1110
|
506
|
+
moovio_sdk/models/errors/patchaccounterror.py,sha256=Oq2fj2pILHnYoFjxjTx4kYOymsYN00HkDe5gBxn5yFM,1581
|
508
507
|
moovio_sdk/models/errors/patchsweepconfigerror.py,sha256=iNfqe_jCDWfssQow0fwyTNFzIQy0Gq5Z3PIA6Bthip0,1192
|
509
508
|
moovio_sdk/models/errors/refundvalidationerror.py,sha256=MpjsR070yqKDevbFucNEPybKgjHWBJuKugU4rLB-30I,808
|
510
509
|
moovio_sdk/models/errors/representativevalidationerror.py,sha256=_xrqZTCqB_paSwLyxtNttOt2eNKHyxEmuawOHCFbaOk,2557
|
@@ -517,7 +516,6 @@ moovio_sdk/models/errors/terminalapplicationerror.py,sha256=yhXxU90rPVyrtMhzCo4J
|
|
517
516
|
moovio_sdk/models/errors/transfer.py,sha256=BtC5mPgtq1EQgDBeREPTC5MoM4dKO8xfh_fvqtEN2UQ,4730
|
518
517
|
moovio_sdk/models/errors/transferoptionsvalidationerror.py,sha256=Bke5Y8abRvNmcRwdXxoHIwRp1JbzGQ-6mYjfx8d6OZo,779
|
519
518
|
moovio_sdk/models/errors/transfervalidationerror.py,sha256=YLho74iRSj9kqCNRHvIHC1hymdo7-K9iMVmYtBn9tGA,1592
|
520
|
-
moovio_sdk/models/errors/updateaccount.py,sha256=3jXoaecJImwTDzFVix5ymUp26_UtC18w1cbwhZg8Xgw,937
|
521
519
|
moovio_sdk/models/errors/updatecarderror.py,sha256=Tpu7of6Q4miaWUl2XavokpjLA-8Mhv0WWQMovzcDDTQ,1463
|
522
520
|
moovio_sdk/models/errors/updateissuedcarderror.py,sha256=aW8H8uLv0dtZo9AmUBAWQ2LsGNYJeyBId9uIq9dNeYA,1049
|
523
521
|
moovio_sdk/models/errors/updatepaymentlinkerror.py,sha256=48AePpIg8ioRZbXv-bKOWOOqRNY9trJ7xWVmQ1WO9BM,1391
|
@@ -680,7 +678,7 @@ moovio_sdk/representatives.py,sha256=3XG8tnLGs5pB8gDzMNgGCxiqcHp29vFSc12G7S-K3A8
|
|
680
678
|
moovio_sdk/scheduling.py,sha256=CldoqnTp7yEZHc0qESYaSYLYQC22M1Y73jvQk_SNHc0,60556
|
681
679
|
moovio_sdk/sdk.py,sha256=9PhJ_WSLVeg8HDfviwTVIfpeyujXR83dyHtCvCB5B20,11998
|
682
680
|
moovio_sdk/sdkconfiguration.py,sha256=vvZHznUDI2m3Z8ddTKDFUXkQu4mNBGX8Q9Zx7XpR3WY,1665
|
683
|
-
moovio_sdk/support.py,sha256=
|
681
|
+
moovio_sdk/support.py,sha256=OmxIcudl2fI5Ah6bBDDGtPO8WhbyXw9xPiigP9FmNrc,49911
|
684
682
|
moovio_sdk/sweeps.py,sha256=bp71dtVpazfJo3BmB7SKru5e9XLWgFKZEVJ4R-fw6WQ,61528
|
685
683
|
moovio_sdk/terminal_applications.py,sha256=1mn5glbRSlm5d3nVm-7CCejqPXbIFT-JMb5jcpXSFss,50977
|
686
684
|
moovio_sdk/transfers.py,sha256=VqHZ4w2SHjVWoxY5AtqRBNAxcgY2N-aFLMKJ4XBMU7o,126143
|
@@ -706,6 +704,6 @@ moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
706
704
|
moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
707
705
|
moovio_sdk/wallet_transactions.py,sha256=rWA4_DLFg6QegHSA1GCsCQWx2EfO12vimnvYZg0dRbc,23208
|
708
706
|
moovio_sdk/wallets.py,sha256=V5yUDAo42AG9AlkMsY_9_mmF65JJM-9ApLJdxqIIZLE,17591
|
709
|
-
moovio_sdk-0.13.
|
710
|
-
moovio_sdk-0.13.
|
711
|
-
moovio_sdk-0.13.
|
707
|
+
moovio_sdk-0.13.13.dist-info/METADATA,sha256=-7yC9tqPsHbVBAN3ZsqFydr9XeDPUDV-CS6oT1iF0lQ,110775
|
708
|
+
moovio_sdk-0.13.13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
709
|
+
moovio_sdk-0.13.13.dist-info/RECORD,,
|
@@ -1,44 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
|
5
|
-
from .createprofileerror import CreateProfileError, CreateProfileErrorTypedDict
|
6
|
-
from .customersupporterror import CustomerSupportError, CustomerSupportErrorTypedDict
|
7
|
-
from .termsofserviceerror import TermsOfServiceError, TermsOfServiceErrorTypedDict
|
8
|
-
from moovio_sdk.types import BaseModel
|
9
|
-
import pydantic
|
10
|
-
from typing import Dict, Optional
|
11
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
-
|
13
|
-
|
14
|
-
class CreateAccountErrorTypedDict(TypedDict):
|
15
|
-
account_type: NotRequired[str]
|
16
|
-
profile: NotRequired[CreateProfileErrorTypedDict]
|
17
|
-
metadata: NotRequired[str]
|
18
|
-
terms_of_service: NotRequired[TermsOfServiceErrorTypedDict]
|
19
|
-
foreign_id: NotRequired[str]
|
20
|
-
customer_support: NotRequired[CustomerSupportErrorTypedDict]
|
21
|
-
settings: NotRequired[CreateAccountSettingsTypedDict]
|
22
|
-
capabilities: NotRequired[Dict[str, str]]
|
23
|
-
|
24
|
-
|
25
|
-
class CreateAccountError(BaseModel):
|
26
|
-
account_type: Annotated[Optional[str], pydantic.Field(alias="accountType")] = None
|
27
|
-
|
28
|
-
profile: Optional[CreateProfileError] = None
|
29
|
-
|
30
|
-
metadata: Optional[str] = None
|
31
|
-
|
32
|
-
terms_of_service: Annotated[
|
33
|
-
Optional[TermsOfServiceError], pydantic.Field(alias="termsOfService")
|
34
|
-
] = None
|
35
|
-
|
36
|
-
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
37
|
-
|
38
|
-
customer_support: Annotated[
|
39
|
-
Optional[CustomerSupportError], pydantic.Field(alias="customerSupport")
|
40
|
-
] = None
|
41
|
-
|
42
|
-
settings: Optional[CreateAccountSettings] = None
|
43
|
-
|
44
|
-
capabilities: Optional[Dict[str, str]] = None
|
@@ -1,38 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
from .createaccountsettings import CreateAccountSettings, CreateAccountSettingsTypedDict
|
5
|
-
from .createprofileerror import CreateProfileError, CreateProfileErrorTypedDict
|
6
|
-
from .customersupporterror import CustomerSupportError, CustomerSupportErrorTypedDict
|
7
|
-
from .termsofserviceerror import TermsOfServiceError, TermsOfServiceErrorTypedDict
|
8
|
-
from moovio_sdk.types import BaseModel
|
9
|
-
import pydantic
|
10
|
-
from typing import Optional
|
11
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
12
|
-
|
13
|
-
|
14
|
-
class PatchAccountErrorTypedDict(TypedDict):
|
15
|
-
profile: NotRequired[CreateProfileErrorTypedDict]
|
16
|
-
metadata: NotRequired[str]
|
17
|
-
terms_of_service: NotRequired[TermsOfServiceErrorTypedDict]
|
18
|
-
foreign_id: NotRequired[str]
|
19
|
-
customer_support: NotRequired[CustomerSupportErrorTypedDict]
|
20
|
-
settings: NotRequired[CreateAccountSettingsTypedDict]
|
21
|
-
|
22
|
-
|
23
|
-
class PatchAccountError(BaseModel):
|
24
|
-
profile: Optional[CreateProfileError] = None
|
25
|
-
|
26
|
-
metadata: Optional[str] = None
|
27
|
-
|
28
|
-
terms_of_service: Annotated[
|
29
|
-
Optional[TermsOfServiceError], pydantic.Field(alias="termsOfService")
|
30
|
-
] = None
|
31
|
-
|
32
|
-
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
33
|
-
|
34
|
-
customer_support: Annotated[
|
35
|
-
Optional[CustomerSupportError], pydantic.Field(alias="customerSupport")
|
36
|
-
] = None
|
37
|
-
|
38
|
-
settings: Optional[CreateAccountSettings] = None
|
@@ -1,30 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
import httpx
|
5
|
-
from moovio_sdk.models.components import (
|
6
|
-
createaccounterror as components_createaccounterror,
|
7
|
-
)
|
8
|
-
from moovio_sdk.models.errors import MoovError
|
9
|
-
from moovio_sdk.types import BaseModel
|
10
|
-
from typing import Optional
|
11
|
-
|
12
|
-
|
13
|
-
class CreateAccountResponseBodyData(BaseModel):
|
14
|
-
error: components_createaccounterror.CreateAccountError
|
15
|
-
|
16
|
-
|
17
|
-
class CreateAccountResponseBody(MoovError):
|
18
|
-
r"""The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields."""
|
19
|
-
|
20
|
-
data: CreateAccountResponseBodyData
|
21
|
-
|
22
|
-
def __init__(
|
23
|
-
self,
|
24
|
-
data: CreateAccountResponseBodyData,
|
25
|
-
raw_response: httpx.Response,
|
26
|
-
body: Optional[str] = None,
|
27
|
-
):
|
28
|
-
message = body or raw_response.text
|
29
|
-
super().__init__(message, raw_response, body)
|
30
|
-
self.data = data
|
@@ -1,30 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
import httpx
|
5
|
-
from moovio_sdk.models.components import (
|
6
|
-
patchaccounterror as components_patchaccounterror,
|
7
|
-
)
|
8
|
-
from moovio_sdk.models.errors import MoovError
|
9
|
-
from moovio_sdk.types import BaseModel
|
10
|
-
from typing import Optional
|
11
|
-
|
12
|
-
|
13
|
-
class UpdateAccountResponseBodyData(BaseModel):
|
14
|
-
error: components_patchaccounterror.PatchAccountError
|
15
|
-
|
16
|
-
|
17
|
-
class UpdateAccountResponseBody(MoovError):
|
18
|
-
r"""The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields."""
|
19
|
-
|
20
|
-
data: UpdateAccountResponseBodyData
|
21
|
-
|
22
|
-
def __init__(
|
23
|
-
self,
|
24
|
-
data: UpdateAccountResponseBodyData,
|
25
|
-
raw_response: httpx.Response,
|
26
|
-
body: Optional[str] = None,
|
27
|
-
):
|
28
|
-
message = body or raw_response.text
|
29
|
-
super().__init__(message, raw_response, body)
|
30
|
-
self.data = data
|
File without changes
|