xync-schema 0.6.80__py3-none-any.whl → 0.6.81__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.
- xync_schema/models.py +1 -1
- xync_schema/types.py +5 -5
- {xync_schema-0.6.80.dist-info → xync_schema-0.6.81.dist-info}/METADATA +1 -1
- xync_schema-0.6.81.dist-info/RECORD +8 -0
- xync_schema-0.6.80.dist-info/RECORD +0 -8
- {xync_schema-0.6.80.dist-info → xync_schema-0.6.81.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.80.dist-info → xync_schema-0.6.81.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
xync_schema/types.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
-
from pydantic import BaseModel
|
|
2
|
+
from pydantic import BaseModel
|
|
3
3
|
|
|
4
4
|
from xync_schema.enums import AdStatus, OrderStatus
|
|
5
5
|
from xync_schema import models
|
|
@@ -36,18 +36,18 @@ class PmexBank(BaseModel):
|
|
|
36
36
|
|
|
37
37
|
class BaseAd(BaseModel):
|
|
38
38
|
price: float
|
|
39
|
-
|
|
39
|
+
id: int | None = None
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class BaseAdIn(BaseAd):
|
|
43
43
|
min_fiat: float
|
|
44
44
|
max_fiat: float
|
|
45
|
-
|
|
45
|
+
direction_id: int
|
|
46
46
|
detail: str | None = None
|
|
47
47
|
auto_msg: str | None = None
|
|
48
48
|
status: AdStatus = AdStatus.active
|
|
49
|
-
|
|
50
|
-
_unq = "exid", "
|
|
49
|
+
maker_id: int = None
|
|
50
|
+
_unq = "exid", "maker_id", "direction_id"
|
|
51
51
|
|
|
52
52
|
class Config:
|
|
53
53
|
arbitrary_types_allowed = True
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=4ZNpPKY54SY34nz1APsg7wKzCIvpYWhG4sKsZ1uEmVU,12697
|
|
3
|
+
xync_schema/models.py,sha256=Xs83JS5SULIpikGhS8e1RSwfhFzV0i-UClhqttBwe8w,27764
|
|
4
|
+
xync_schema/types.py,sha256=P9rcmrH4_mcRsXy6jh009A_XP6BpjtO5a04_2Pz2j6w,1649
|
|
5
|
+
xync_schema-0.6.81.dist-info/METADATA,sha256=0FNmN46iJDBNBabv2miQFJPw5VcvOxAqtLGXJ4McuLk,4055
|
|
6
|
+
xync_schema-0.6.81.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
+
xync_schema-0.6.81.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.81.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=4ZNpPKY54SY34nz1APsg7wKzCIvpYWhG4sKsZ1uEmVU,12697
|
|
3
|
-
xync_schema/models.py,sha256=txi63RtA691mxv6F65YXz78ntSCCw8Q8_-p0CvUYAHA,27758
|
|
4
|
-
xync_schema/types.py,sha256=hYYFIAyukN5PKCOolSIFNgOCDz6NZ7E8BKpBuRpCu1g,1681
|
|
5
|
-
xync_schema-0.6.80.dist-info/METADATA,sha256=HUCis_BcU9yoJEmao-mddwXCnlaabfhjr0ia-syqOpw,4055
|
|
6
|
-
xync_schema-0.6.80.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
-
xync_schema-0.6.80.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.80.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|