kodexa 7.4.413508355193__py3-none-any.whl → 7.4.413571424621__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.
kodexa/model/objects.py CHANGED
@@ -2672,6 +2672,7 @@ class Taxon(BaseModel):
2672
2672
  alias="conditionalFormats")
2673
2673
  validation_rules: List[TaxonValidation] = Field(
2674
2674
  default_factory=list,
2675
+ alias="validationRules",
2675
2676
  description="The validation rules for the taxon"
2676
2677
  )
2677
2678
 
@@ -4517,12 +4518,13 @@ class BaseEvent(
4517
4518
  "ScheduledEvent",
4518
4519
  "AssistantEvent",
4519
4520
  "ChannelEvent",
4520
- "WorkspaceEvent"
4521
+ "WorkspaceEvent",
4522
+ "TaskEvent",
4521
4523
  ]
4522
4524
  ]
4523
4525
  ):
4524
4526
  """
4525
-
4527
+ Base class for all events.
4526
4528
  """
4527
4529
  pass
4528
4530
 
@@ -5920,7 +5922,6 @@ class ContentEvent(BaseModel):
5920
5922
  document_family: Optional[DocumentFamily] = Field(None, alias="documentFamily")
5921
5923
  object_event_type: Optional[ObjectEventType] = Field(None, alias="objectEventType")
5922
5924
 
5923
-
5924
5925
  class DataObjectEvent(BaseModel):
5925
5926
  """
5926
5927
 
@@ -5935,6 +5936,22 @@ class DataObjectEvent(BaseModel):
5935
5936
  data_object: Optional[DataObject] = Field(None, alias="dataObject")
5936
5937
 
5937
5938
 
5939
+ class TaskEvent(BaseModel):
5940
+ """
5941
+ The TaskEvent class represents a change to a task
5942
+ It extends from the BaseEvent class.
5943
+ """
5944
+ model_config = ConfigDict(
5945
+ populate_by_name=True,
5946
+ use_enum_values=True,
5947
+ arbitrary_types_allowed=True,
5948
+ protected_namespaces=("model_config",),
5949
+ )
5950
+ type: Optional[str] = "task"
5951
+ task: Optional[Task] = None
5952
+ document_families: List[DocumentFamily] = Field(default_factory=list, alias="documentFamilies")
5953
+
5954
+
5938
5955
  class DocumentFamilyEvent(BaseModel):
5939
5956
  """
5940
5957
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.413508355193
3
+ Version: 7.4.413571424621
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -13,7 +13,7 @@ kodexa/model/entities/product.py,sha256=StUhTEeLXmc05cj6XnZppQfeJsqCPbX1jdhsysHH
13
13
  kodexa/model/entities/product_group.py,sha256=540fRGyUf34h1BzAN1DiWu6rGgvaj3xDFhZ2k-RvSFY,3617
14
14
  kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
15
15
  kodexa/model/model.py,sha256=q3zEm6pPOB-xPCKbOxmTMqLALzmQr2Ppam8knApoSEE,119645
16
- kodexa/model/objects.py,sha256=C1zdBU7DmnhLwioCd8OEKEGEcDDZbCorolJ4bnTKVg0,189538
16
+ kodexa/model/objects.py,sha256=S1q3rneARkIVgHrPYUSi5exF1iNirCdZ57oKFc4EKPo,190116
17
17
  kodexa/model/persistence.py,sha256=jUgQ8xwsAFIoZ_bEynxCDEWhUII42eN0e0Mum0dkQPg,72043
18
18
  kodexa/model/utils.py,sha256=6R-3rFiW9irBwj0Mq5yhp7EDXkNUFaeFhr3bWmnlW4g,2961
19
19
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
@@ -44,7 +44,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
44
44
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
45
45
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
47
- kodexa-7.4.413508355193.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
- kodexa-7.4.413508355193.dist-info/METADATA,sha256=YNvguxKfF49HqQ-wHPTPoD3WrWRN9r29FWSURSO1GOk,2813
49
- kodexa-7.4.413508355193.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
- kodexa-7.4.413508355193.dist-info/RECORD,,
47
+ kodexa-7.4.413571424621.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
+ kodexa-7.4.413571424621.dist-info/METADATA,sha256=_kdaG5vY41ImbTBvbKUn5JM-oT8yW-7kqvvwrXzvPDo,2813
49
+ kodexa-7.4.413571424621.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
+ kodexa-7.4.413571424621.dist-info/RECORD,,