moovio_sdk 0.16.3__py3-none-any.whl → 0.17.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.
Potentially problematic release.
This version of moovio_sdk might be problematic. Click here for more details.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/account_terminal_applications.py +8 -8
- moovio_sdk/accounts.py +18 -18
- moovio_sdk/adjustments.py +4 -4
- moovio_sdk/apple_pay.py +10 -10
- moovio_sdk/authentication.py +4 -4
- moovio_sdk/avatars.py +2 -2
- moovio_sdk/bank_accounts.py +18 -18
- moovio_sdk/branding.py +8 -8
- moovio_sdk/capabilities.py +8 -8
- moovio_sdk/card_issuing.py +10 -10
- moovio_sdk/cards.py +10 -10
- moovio_sdk/disputes.py +22 -22
- moovio_sdk/end_to_end_encryption.py +4 -4
- moovio_sdk/enriched_address.py +2 -2
- moovio_sdk/enriched_profile.py +2 -2
- moovio_sdk/fee_plans.py +14 -14
- moovio_sdk/files.py +6 -6
- moovio_sdk/httpclient.py +0 -1
- moovio_sdk/images.py +833 -0
- moovio_sdk/industries.py +2 -2
- moovio_sdk/institutions.py +4 -4
- moovio_sdk/issuing_transactions.py +10 -10
- moovio_sdk/models/components/__init__.py +21 -0
- moovio_sdk/models/components/capabilityid.py +1 -0
- moovio_sdk/models/components/imagemetadata.py +40 -0
- moovio_sdk/models/components/paymentmethodswallet.py +4 -4
- moovio_sdk/models/components/sendfunds.py +6 -0
- moovio_sdk/models/components/sendfundserror.py +9 -0
- moovio_sdk/models/components/sendfundsinstantbank.py +18 -0
- moovio_sdk/models/components/sendfundsinstantbankerror.py +21 -0
- moovio_sdk/models/components/wallet.py +4 -4
- moovio_sdk/models/components/wallettype.py +2 -2
- moovio_sdk/models/errors/accountterminalapplicationerror.py +1 -1
- moovio_sdk/models/errors/addcapabilitieserror.py +1 -1
- moovio_sdk/models/errors/apierror.py +1 -1
- moovio_sdk/models/errors/assigncountrieserror.py +1 -1
- moovio_sdk/models/errors/authtokenrequesterror.py +1 -1
- moovio_sdk/models/errors/bankaccountvalidationerror.py +1 -1
- moovio_sdk/models/errors/brandvalidationerror.py +1 -1
- moovio_sdk/models/errors/cardacquiringrefund.py +1 -1
- moovio_sdk/models/errors/createaccounterror.py +1 -1
- moovio_sdk/models/errors/createpaymentlinkerror.py +1 -1
- moovio_sdk/models/errors/createsweepconfigerror.py +1 -1
- moovio_sdk/models/errors/createticketerror.py +1 -1
- moovio_sdk/models/errors/createwalletvalidationerror.py +1 -1
- moovio_sdk/models/errors/feeplanagreementerror.py +1 -1
- moovio_sdk/models/errors/fileuploadvalidationerror.py +1 -1
- moovio_sdk/models/errors/filevalidationerror.py +1 -1
- moovio_sdk/models/errors/genericerror.py +1 -1
- moovio_sdk/models/errors/linkapplepayerror.py +1 -1
- moovio_sdk/models/errors/linkcarderror.py +1 -1
- moovio_sdk/models/errors/listtransfersvalidationerror.py +1 -1
- moovio_sdk/models/errors/listwalletsvalidationerror.py +1 -1
- moovio_sdk/models/errors/listwallettransactionsvalidationerror.py +1 -1
- moovio_sdk/models/errors/microdepositvalidationerror.py +1 -1
- moovio_sdk/models/errors/mooverror.py +1 -1
- moovio_sdk/models/errors/no_response_error.py +1 -1
- moovio_sdk/models/errors/onboardinginviteerror.py +1 -1
- moovio_sdk/models/errors/patchaccounterror.py +1 -1
- moovio_sdk/models/errors/patchsweepconfigerror.py +1 -1
- moovio_sdk/models/errors/patchtransfervalidationerror.py +1 -1
- moovio_sdk/models/errors/patchwalletvalidationerror.py +1 -1
- moovio_sdk/models/errors/refundvalidationerror.py +1 -1
- moovio_sdk/models/errors/representativevalidationerror.py +1 -1
- moovio_sdk/models/errors/requestcarderror.py +1 -1
- moovio_sdk/models/errors/responsevalidationerror.py +1 -1
- moovio_sdk/models/errors/reversalvalidationerror.py +1 -1
- moovio_sdk/models/errors/revoketokenrequesterror.py +1 -1
- moovio_sdk/models/errors/schedulevalidationerror.py +1 -1
- moovio_sdk/models/errors/terminalapplicationerror.py +1 -1
- moovio_sdk/models/errors/transfer.py +1 -1
- moovio_sdk/models/errors/transferoptionsvalidationerror.py +1 -1
- moovio_sdk/models/errors/transfervalidationerror.py +1 -1
- moovio_sdk/models/errors/updatecarderror.py +1 -1
- moovio_sdk/models/errors/updateissuedcarderror.py +1 -1
- moovio_sdk/models/errors/updatepaymentlinkerror.py +1 -1
- moovio_sdk/models/errors/updateticketerror.py +1 -1
- moovio_sdk/models/errors/updateunderwritingerror.py +1 -1
- moovio_sdk/models/errors/upsertunderwritingerror.py +1 -1
- moovio_sdk/models/operations/__init__.py +80 -0
- moovio_sdk/models/operations/deleteimage.py +67 -0
- moovio_sdk/models/operations/getimagemetadata.py +71 -0
- moovio_sdk/models/operations/getpublicimage.py +74 -0
- moovio_sdk/models/operations/listimagemetadata.py +64 -0
- moovio_sdk/onboarding.py +8 -8
- moovio_sdk/payment_links.py +12 -12
- moovio_sdk/payment_methods.py +4 -4
- moovio_sdk/ping.py +2 -2
- moovio_sdk/receipts.py +4 -4
- moovio_sdk/representatives.py +10 -10
- moovio_sdk/scheduling.py +12 -12
- moovio_sdk/sdk.py +3 -0
- moovio_sdk/statements.py +4 -4
- moovio_sdk/support.py +10 -10
- moovio_sdk/sweeps.py +12 -12
- moovio_sdk/terminal_applications.py +10 -10
- moovio_sdk/transfers.py +22 -22
- moovio_sdk/underwriting.py +6 -6
- moovio_sdk/wallet_transactions.py +4 -4
- moovio_sdk/wallets.py +8 -8
- {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/METADATA +51 -45
- {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/RECORD +104 -96
- {moovio_sdk-0.16.3.dist-info → moovio_sdk-0.17.1.dist-info}/WHEEL +0 -0
|
@@ -16,7 +16,7 @@ class PatchTransferValidationErrorData(BaseModel):
|
|
|
16
16
|
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
@dataclass(
|
|
19
|
+
@dataclass(unsafe_hash=True)
|
|
20
20
|
class PatchTransferValidationError(MoovError):
|
|
21
21
|
data: PatchTransferValidationErrorData = field(hash=False)
|
|
22
22
|
|
|
@@ -15,7 +15,7 @@ class RefundValidationErrorData(BaseModel):
|
|
|
15
15
|
r"""Used for generic errors when invalid request data isn't attributed to a single request field."""
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
@dataclass(
|
|
18
|
+
@dataclass(unsafe_hash=True)
|
|
19
19
|
class RefundValidationError(MoovError):
|
|
20
20
|
data: RefundValidationErrorData = field(hash=False)
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@ class RequestCardErrorData(BaseModel):
|
|
|
34
34
|
controls: Optional[components_issuingcontrolserror.IssuingControlsError] = None
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
@dataclass(
|
|
37
|
+
@dataclass(unsafe_hash=True)
|
|
38
38
|
class RequestCardError(MoovError):
|
|
39
39
|
data: RequestCardErrorData = field(hash=False)
|
|
40
40
|
|
|
@@ -7,7 +7,7 @@ from dataclasses import dataclass
|
|
|
7
7
|
from moovio_sdk.models.errors import MoovError
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
@dataclass(
|
|
10
|
+
@dataclass(unsafe_hash=True)
|
|
11
11
|
class ResponseValidationError(MoovError):
|
|
12
12
|
"""Error raised when there is a type mismatch between the response data and the expected Pydantic model."""
|
|
13
13
|
|
|
@@ -22,7 +22,7 @@ class TerminalApplicationErrorData(BaseModel):
|
|
|
22
22
|
version_code: Annotated[Optional[str], pydantic.Field(alias="versionCode")] = None
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
@dataclass(
|
|
25
|
+
@dataclass(unsafe_hash=True)
|
|
26
26
|
class TerminalApplicationError(MoovError):
|
|
27
27
|
data: TerminalApplicationErrorData = field(hash=False)
|
|
28
28
|
|
|
@@ -116,7 +116,7 @@ class TransferData(BaseModel):
|
|
|
116
116
|
r"""Optional alias from a foreign/external system which can be used to reference this resource."""
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
@dataclass(
|
|
119
|
+
@dataclass(unsafe_hash=True)
|
|
120
120
|
class Transfer(MoovError):
|
|
121
121
|
r"""Details of a Transfer."""
|
|
122
122
|
|
|
@@ -16,7 +16,7 @@ class TransferOptionsValidationErrorData(BaseModel):
|
|
|
16
16
|
destination: Optional[str] = None
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
@dataclass(
|
|
19
|
+
@dataclass(unsafe_hash=True)
|
|
20
20
|
class TransferOptionsValidationError(MoovError):
|
|
21
21
|
data: TransferOptionsValidationErrorData = field(hash=False)
|
|
22
22
|
|
|
@@ -42,7 +42,7 @@ class TransferValidationErrorData(BaseModel):
|
|
|
42
42
|
foreign_id: Annotated[Optional[str], pydantic.Field(alias="foreignID")] = None
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
@dataclass(
|
|
45
|
+
@dataclass(unsafe_hash=True)
|
|
46
46
|
class TransferValidationError(MoovError):
|
|
47
47
|
data: TransferValidationErrorData = field(hash=False)
|
|
48
48
|
|
|
@@ -35,7 +35,7 @@ class UpdateCardErrorData(BaseModel):
|
|
|
35
35
|
holder_name: Annotated[Optional[str], pydantic.Field(alias="holderName")] = None
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
@dataclass(
|
|
38
|
+
@dataclass(unsafe_hash=True)
|
|
39
39
|
class UpdateCardError(MoovError):
|
|
40
40
|
data: UpdateCardErrorData = field(hash=False)
|
|
41
41
|
|
|
@@ -28,7 +28,7 @@ class UpdatePaymentLinkErrorData(BaseModel):
|
|
|
28
28
|
payout: Optional[components_payoutdetailserror.PayoutDetailsError] = None
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
@dataclass(
|
|
31
|
+
@dataclass(unsafe_hash=True)
|
|
32
32
|
class UpdatePaymentLinkError(MoovError):
|
|
33
33
|
data: UpdatePaymentLinkErrorData = field(hash=False)
|
|
34
34
|
|
|
@@ -198,6 +198,14 @@ if TYPE_CHECKING:
|
|
|
198
198
|
DeleteDisputeEvidenceFileResponse,
|
|
199
199
|
DeleteDisputeEvidenceFileResponseTypedDict,
|
|
200
200
|
)
|
|
201
|
+
from .deleteimage import (
|
|
202
|
+
DeleteImageGlobals,
|
|
203
|
+
DeleteImageGlobalsTypedDict,
|
|
204
|
+
DeleteImageRequest,
|
|
205
|
+
DeleteImageRequestTypedDict,
|
|
206
|
+
DeleteImageResponse,
|
|
207
|
+
DeleteImageResponseTypedDict,
|
|
208
|
+
)
|
|
201
209
|
from .deleterepresentative import (
|
|
202
210
|
DeleteRepresentativeGlobals,
|
|
203
211
|
DeleteRepresentativeGlobalsTypedDict,
|
|
@@ -416,6 +424,14 @@ if TYPE_CHECKING:
|
|
|
416
424
|
GetFullIssuedCardResponse,
|
|
417
425
|
GetFullIssuedCardResponseTypedDict,
|
|
418
426
|
)
|
|
427
|
+
from .getimagemetadata import (
|
|
428
|
+
GetImageMetadataGlobals,
|
|
429
|
+
GetImageMetadataGlobalsTypedDict,
|
|
430
|
+
GetImageMetadataRequest,
|
|
431
|
+
GetImageMetadataRequestTypedDict,
|
|
432
|
+
GetImageMetadataResponse,
|
|
433
|
+
GetImageMetadataResponseTypedDict,
|
|
434
|
+
)
|
|
419
435
|
from .getissuedcard import (
|
|
420
436
|
GetIssuedCardGlobals,
|
|
421
437
|
GetIssuedCardGlobalsTypedDict,
|
|
@@ -482,6 +498,14 @@ if TYPE_CHECKING:
|
|
|
482
498
|
GetPaymentMethodResponse,
|
|
483
499
|
GetPaymentMethodResponseTypedDict,
|
|
484
500
|
)
|
|
501
|
+
from .getpublicimage import (
|
|
502
|
+
GetPublicImageRequest,
|
|
503
|
+
GetPublicImageRequestTypedDict,
|
|
504
|
+
GetPublicImageResponse,
|
|
505
|
+
GetPublicImageResponseResult,
|
|
506
|
+
GetPublicImageResponseResultTypedDict,
|
|
507
|
+
GetPublicImageResponseTypedDict,
|
|
508
|
+
)
|
|
485
509
|
from .getrefund import (
|
|
486
510
|
GetRefundGlobals,
|
|
487
511
|
GetRefundGlobalsTypedDict,
|
|
@@ -758,6 +782,14 @@ if TYPE_CHECKING:
|
|
|
758
782
|
ListFilesResponse,
|
|
759
783
|
ListFilesResponseTypedDict,
|
|
760
784
|
)
|
|
785
|
+
from .listimagemetadata import (
|
|
786
|
+
ListImageMetadataGlobals,
|
|
787
|
+
ListImageMetadataGlobalsTypedDict,
|
|
788
|
+
ListImageMetadataRequest,
|
|
789
|
+
ListImageMetadataRequestTypedDict,
|
|
790
|
+
ListImageMetadataResponse,
|
|
791
|
+
ListImageMetadataResponseTypedDict,
|
|
792
|
+
)
|
|
761
793
|
from .listindustries import (
|
|
762
794
|
ListIndustriesGlobals,
|
|
763
795
|
ListIndustriesGlobalsTypedDict,
|
|
@@ -1325,6 +1357,12 @@ __all__ = [
|
|
|
1325
1357
|
"DeleteDisputeEvidenceFileRequestTypedDict",
|
|
1326
1358
|
"DeleteDisputeEvidenceFileResponse",
|
|
1327
1359
|
"DeleteDisputeEvidenceFileResponseTypedDict",
|
|
1360
|
+
"DeleteImageGlobals",
|
|
1361
|
+
"DeleteImageGlobalsTypedDict",
|
|
1362
|
+
"DeleteImageRequest",
|
|
1363
|
+
"DeleteImageRequestTypedDict",
|
|
1364
|
+
"DeleteImageResponse",
|
|
1365
|
+
"DeleteImageResponseTypedDict",
|
|
1328
1366
|
"DeleteRepresentativeGlobals",
|
|
1329
1367
|
"DeleteRepresentativeGlobalsTypedDict",
|
|
1330
1368
|
"DeleteRepresentativeRequest",
|
|
@@ -1489,6 +1527,12 @@ __all__ = [
|
|
|
1489
1527
|
"GetFullIssuedCardRequestTypedDict",
|
|
1490
1528
|
"GetFullIssuedCardResponse",
|
|
1491
1529
|
"GetFullIssuedCardResponseTypedDict",
|
|
1530
|
+
"GetImageMetadataGlobals",
|
|
1531
|
+
"GetImageMetadataGlobalsTypedDict",
|
|
1532
|
+
"GetImageMetadataRequest",
|
|
1533
|
+
"GetImageMetadataRequestTypedDict",
|
|
1534
|
+
"GetImageMetadataResponse",
|
|
1535
|
+
"GetImageMetadataResponseTypedDict",
|
|
1492
1536
|
"GetIssuedCardAuthorizationGlobals",
|
|
1493
1537
|
"GetIssuedCardAuthorizationGlobalsTypedDict",
|
|
1494
1538
|
"GetIssuedCardAuthorizationRequest",
|
|
@@ -1539,6 +1583,12 @@ __all__ = [
|
|
|
1539
1583
|
"GetPaymentMethodRequestTypedDict",
|
|
1540
1584
|
"GetPaymentMethodResponse",
|
|
1541
1585
|
"GetPaymentMethodResponseTypedDict",
|
|
1586
|
+
"GetPublicImageRequest",
|
|
1587
|
+
"GetPublicImageRequestTypedDict",
|
|
1588
|
+
"GetPublicImageResponse",
|
|
1589
|
+
"GetPublicImageResponseResult",
|
|
1590
|
+
"GetPublicImageResponseResultTypedDict",
|
|
1591
|
+
"GetPublicImageResponseTypedDict",
|
|
1542
1592
|
"GetRefundGlobals",
|
|
1543
1593
|
"GetRefundGlobalsTypedDict",
|
|
1544
1594
|
"GetRefundRequest",
|
|
@@ -1748,6 +1798,12 @@ __all__ = [
|
|
|
1748
1798
|
"ListFilesRequestTypedDict",
|
|
1749
1799
|
"ListFilesResponse",
|
|
1750
1800
|
"ListFilesResponseTypedDict",
|
|
1801
|
+
"ListImageMetadataGlobals",
|
|
1802
|
+
"ListImageMetadataGlobalsTypedDict",
|
|
1803
|
+
"ListImageMetadataRequest",
|
|
1804
|
+
"ListImageMetadataRequestTypedDict",
|
|
1805
|
+
"ListImageMetadataResponse",
|
|
1806
|
+
"ListImageMetadataResponseTypedDict",
|
|
1751
1807
|
"ListIndustriesGlobals",
|
|
1752
1808
|
"ListIndustriesGlobalsTypedDict",
|
|
1753
1809
|
"ListIndustriesRequest",
|
|
@@ -2209,6 +2265,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2209
2265
|
"DeleteDisputeEvidenceFileRequestTypedDict": ".deletedisputeevidencefile",
|
|
2210
2266
|
"DeleteDisputeEvidenceFileResponse": ".deletedisputeevidencefile",
|
|
2211
2267
|
"DeleteDisputeEvidenceFileResponseTypedDict": ".deletedisputeevidencefile",
|
|
2268
|
+
"DeleteImageGlobals": ".deleteimage",
|
|
2269
|
+
"DeleteImageGlobalsTypedDict": ".deleteimage",
|
|
2270
|
+
"DeleteImageRequest": ".deleteimage",
|
|
2271
|
+
"DeleteImageRequestTypedDict": ".deleteimage",
|
|
2272
|
+
"DeleteImageResponse": ".deleteimage",
|
|
2273
|
+
"DeleteImageResponseTypedDict": ".deleteimage",
|
|
2212
2274
|
"DeleteRepresentativeGlobals": ".deleterepresentative",
|
|
2213
2275
|
"DeleteRepresentativeGlobalsTypedDict": ".deleterepresentative",
|
|
2214
2276
|
"DeleteRepresentativeRequest": ".deleterepresentative",
|
|
@@ -2373,6 +2435,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2373
2435
|
"GetFullIssuedCardRequestTypedDict": ".getfullissuedcard",
|
|
2374
2436
|
"GetFullIssuedCardResponse": ".getfullissuedcard",
|
|
2375
2437
|
"GetFullIssuedCardResponseTypedDict": ".getfullissuedcard",
|
|
2438
|
+
"GetImageMetadataGlobals": ".getimagemetadata",
|
|
2439
|
+
"GetImageMetadataGlobalsTypedDict": ".getimagemetadata",
|
|
2440
|
+
"GetImageMetadataRequest": ".getimagemetadata",
|
|
2441
|
+
"GetImageMetadataRequestTypedDict": ".getimagemetadata",
|
|
2442
|
+
"GetImageMetadataResponse": ".getimagemetadata",
|
|
2443
|
+
"GetImageMetadataResponseTypedDict": ".getimagemetadata",
|
|
2376
2444
|
"GetIssuedCardGlobals": ".getissuedcard",
|
|
2377
2445
|
"GetIssuedCardGlobalsTypedDict": ".getissuedcard",
|
|
2378
2446
|
"GetIssuedCardRequest": ".getissuedcard",
|
|
@@ -2423,6 +2491,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2423
2491
|
"GetPaymentMethodRequestTypedDict": ".getpaymentmethod",
|
|
2424
2492
|
"GetPaymentMethodResponse": ".getpaymentmethod",
|
|
2425
2493
|
"GetPaymentMethodResponseTypedDict": ".getpaymentmethod",
|
|
2494
|
+
"GetPublicImageRequest": ".getpublicimage",
|
|
2495
|
+
"GetPublicImageRequestTypedDict": ".getpublicimage",
|
|
2496
|
+
"GetPublicImageResponse": ".getpublicimage",
|
|
2497
|
+
"GetPublicImageResponseResult": ".getpublicimage",
|
|
2498
|
+
"GetPublicImageResponseResultTypedDict": ".getpublicimage",
|
|
2499
|
+
"GetPublicImageResponseTypedDict": ".getpublicimage",
|
|
2426
2500
|
"GetRefundGlobals": ".getrefund",
|
|
2427
2501
|
"GetRefundGlobalsTypedDict": ".getrefund",
|
|
2428
2502
|
"GetRefundRequest": ".getrefund",
|
|
@@ -2631,6 +2705,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2631
2705
|
"ListFilesRequestTypedDict": ".listfiles",
|
|
2632
2706
|
"ListFilesResponse": ".listfiles",
|
|
2633
2707
|
"ListFilesResponseTypedDict": ".listfiles",
|
|
2708
|
+
"ListImageMetadataGlobals": ".listimagemetadata",
|
|
2709
|
+
"ListImageMetadataGlobalsTypedDict": ".listimagemetadata",
|
|
2710
|
+
"ListImageMetadataRequest": ".listimagemetadata",
|
|
2711
|
+
"ListImageMetadataRequestTypedDict": ".listimagemetadata",
|
|
2712
|
+
"ListImageMetadataResponse": ".listimagemetadata",
|
|
2713
|
+
"ListImageMetadataResponseTypedDict": ".listimagemetadata",
|
|
2634
2714
|
"ListIndustriesGlobals": ".listindustries",
|
|
2635
2715
|
"ListIndustriesGlobalsTypedDict": ".listindustries",
|
|
2636
2716
|
"ListIndustriesRequest": ".listindustries",
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from moovio_sdk.types import BaseModel
|
|
5
|
+
from moovio_sdk.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Dict, List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeleteImageGlobalsTypedDict(TypedDict):
|
|
12
|
+
x_moov_version: NotRequired[str]
|
|
13
|
+
r"""Specify an API version.
|
|
14
|
+
|
|
15
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
16
|
+
- `YYYY` is the year
|
|
17
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
18
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
19
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
20
|
+
|
|
21
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class DeleteImageGlobals(BaseModel):
|
|
26
|
+
x_moov_version: Annotated[
|
|
27
|
+
Optional[str],
|
|
28
|
+
pydantic.Field(alias="x-moov-version"),
|
|
29
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
30
|
+
] = "v2024.01.00"
|
|
31
|
+
r"""Specify an API version.
|
|
32
|
+
|
|
33
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
34
|
+
- `YYYY` is the year
|
|
35
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
36
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
37
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
38
|
+
|
|
39
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class DeleteImageRequestTypedDict(TypedDict):
|
|
44
|
+
account_id: str
|
|
45
|
+
image_id: str
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class DeleteImageRequest(BaseModel):
|
|
49
|
+
account_id: Annotated[
|
|
50
|
+
str,
|
|
51
|
+
pydantic.Field(alias="accountID"),
|
|
52
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
image_id: Annotated[
|
|
56
|
+
str,
|
|
57
|
+
pydantic.Field(alias="imageID"),
|
|
58
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class DeleteImageResponseTypedDict(TypedDict):
|
|
63
|
+
headers: Dict[str, List[str]]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class DeleteImageResponse(BaseModel):
|
|
67
|
+
headers: Dict[str, List[str]]
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from moovio_sdk.models.components import imagemetadata as components_imagemetadata
|
|
5
|
+
from moovio_sdk.types import BaseModel
|
|
6
|
+
from moovio_sdk.utils import FieldMetadata, HeaderMetadata, PathParamMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import Dict, List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetImageMetadataGlobalsTypedDict(TypedDict):
|
|
13
|
+
x_moov_version: NotRequired[str]
|
|
14
|
+
r"""Specify an API version.
|
|
15
|
+
|
|
16
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
17
|
+
- `YYYY` is the year
|
|
18
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
19
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
20
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
21
|
+
|
|
22
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class GetImageMetadataGlobals(BaseModel):
|
|
27
|
+
x_moov_version: Annotated[
|
|
28
|
+
Optional[str],
|
|
29
|
+
pydantic.Field(alias="x-moov-version"),
|
|
30
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
31
|
+
] = "v2024.01.00"
|
|
32
|
+
r"""Specify an API version.
|
|
33
|
+
|
|
34
|
+
API versioning follows the format `vYYYY.QQ.BB`, where
|
|
35
|
+
- `YYYY` is the year
|
|
36
|
+
- `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
37
|
+
- `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
38
|
+
- For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
39
|
+
|
|
40
|
+
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class GetImageMetadataRequestTypedDict(TypedDict):
|
|
45
|
+
account_id: str
|
|
46
|
+
image_id: str
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class GetImageMetadataRequest(BaseModel):
|
|
50
|
+
account_id: Annotated[
|
|
51
|
+
str,
|
|
52
|
+
pydantic.Field(alias="accountID"),
|
|
53
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
image_id: Annotated[
|
|
57
|
+
str,
|
|
58
|
+
pydantic.Field(alias="imageID"),
|
|
59
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class GetImageMetadataResponseTypedDict(TypedDict):
|
|
64
|
+
headers: Dict[str, List[str]]
|
|
65
|
+
result: components_imagemetadata.ImageMetadataTypedDict
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class GetImageMetadataResponse(BaseModel):
|
|
69
|
+
headers: Dict[str, List[str]]
|
|
70
|
+
|
|
71
|
+
result: components_imagemetadata.ImageMetadata
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
import httpx
|
|
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, Union
|
|
14
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class GetPublicImageRequestTypedDict(TypedDict):
|
|
18
|
+
public_id: str
|
|
19
|
+
if_none_match: NotRequired[str]
|
|
20
|
+
size: NotRequired[str]
|
|
21
|
+
r"""Optional parameter to request a resized version of the image (WxH).
|
|
22
|
+
|
|
23
|
+
If either dimension is 0, the image will be scaled proportionally based on
|
|
24
|
+
the non-zero dimension. Dimensions are capped at 2048 pixels. A default size
|
|
25
|
+
of 400x400 will be used if this parameter is omitted.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GetPublicImageRequest(BaseModel):
|
|
30
|
+
public_id: Annotated[
|
|
31
|
+
str,
|
|
32
|
+
pydantic.Field(alias="publicID"),
|
|
33
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
if_none_match: Annotated[
|
|
37
|
+
Optional[str],
|
|
38
|
+
pydantic.Field(alias="if-none-match"),
|
|
39
|
+
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
40
|
+
] = None
|
|
41
|
+
|
|
42
|
+
size: Annotated[
|
|
43
|
+
Optional[str],
|
|
44
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=False)),
|
|
45
|
+
] = "400x400"
|
|
46
|
+
r"""Optional parameter to request a resized version of the image (WxH).
|
|
47
|
+
|
|
48
|
+
If either dimension is 0, the image will be scaled proportionally based on
|
|
49
|
+
the non-zero dimension. Dimensions are capped at 2048 pixels. A default size
|
|
50
|
+
of 400x400 will be used if this parameter is omitted.
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
GetPublicImageResponseResultTypedDict = TypeAliasType(
|
|
55
|
+
"GetPublicImageResponseResultTypedDict",
|
|
56
|
+
Union[httpx.Response, httpx.Response, httpx.Response],
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
GetPublicImageResponseResult = TypeAliasType(
|
|
61
|
+
"GetPublicImageResponseResult",
|
|
62
|
+
Union[httpx.Response, httpx.Response, httpx.Response],
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class GetPublicImageResponseTypedDict(TypedDict):
|
|
67
|
+
headers: Dict[str, List[str]]
|
|
68
|
+
result: GetPublicImageResponseResultTypedDict
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class GetPublicImageResponse(BaseModel):
|
|
72
|
+
headers: Dict[str, List[str]]
|
|
73
|
+
|
|
74
|
+
result: GetPublicImageResponseResult
|