xync-schema 0.6.90__tar.gz → 0.6.91__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-schema
3
- Version: 0.6.90
3
+ Version: 0.6.91
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -321,3 +321,15 @@ exs = {
321
321
  ),
322
322
  # "catalogop2p(.com": ExType.p2p, ''), todo: discover brazilian p2p platforms
323
323
  }
324
+ df_curs = {
325
+ "t": "RUB",
326
+ "alfa": "RUB",
327
+ "sber": "RUB",
328
+ "ozon": "RUB",
329
+ "volet": "RUB",
330
+ "payeer": "RUB",
331
+ "sbp": "RUB",
332
+ "yoomoney": "RUB",
333
+ "kasikorn": "THB",
334
+ "google": "INR",
335
+ }
@@ -459,8 +459,9 @@ class PmexBank(BaseModel): # banks for SBP
459
459
  class Cred(Model):
460
460
  pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
461
461
  pmcur_id: int
462
- detail: str = fields.CharField(127)
463
- name: str | None = fields.CharField(127, null=True)
462
+ detail: str = fields.CharField(84)
463
+ name: str | None = fields.CharField(84, null=True)
464
+ extra: str | None = fields.CharField(84, null=True)
464
465
  person: fields.ForeignKeyRelation[Person] = fields.ForeignKeyField("models.Person", "creds")
465
466
  person_id: int
466
467
 
@@ -516,6 +517,19 @@ class Fiat(Model):
516
517
  return sys.modules[module_name].FiatEpyd
517
518
 
518
519
 
520
+ class Rival(Model, TsTrait):
521
+ actor: fields.ForeignKeyRelation[Actor] = fields.ForeignKeyField("models.Actor")
522
+ actor_id: int
523
+ direction: fields.ForeignKeyRelation[Direction] = fields.ForeignKeyField("models.Direction")
524
+ direction_id: int
525
+ pm: fields.ForeignKeyRelation[Pm] = fields.ForeignKeyField("models.Pm")
526
+ pm_id: int
527
+ rplace: int = fields.SmallIntField()
528
+ price: float = fields.SmallIntField()
529
+ exec_rate: int = fields.SmallIntField()
530
+ completed: int = fields.SmallIntField()
531
+
532
+
519
533
  class Limit(Model):
520
534
  pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
521
535
  pmcur_id: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-schema
3
- Version: 0.6.90
3
+ Version: 0.6.91
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
File without changes
File without changes
File without changes
File without changes
File without changes