kodexa 7.0.1a8003211616__py3-none-any.whl → 7.0.1a9194120328__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/entities/__init__.py +0 -0
- kodexa/model/entities/product.py +126 -0
- kodexa/model/entities/product_subscription.py +122 -0
- kodexa/model/model.py +26 -7
- kodexa/model/objects.py +135 -47
- kodexa/model/persistence.py +96 -34
- kodexa/pipeline/pipeline.py +30 -10
- kodexa/platform/client.py +274 -39
- kodexa/platform/kodexa.py +117 -32
- kodexa/testing/test_components.py +0 -40
- kodexa/testing/test_utils.py +3 -1
- {kodexa-7.0.1a8003211616.dist-info → kodexa-7.0.1a9194120328.dist-info}/METADATA +4 -15
- {kodexa-7.0.1a8003211616.dist-info → kodexa-7.0.1a9194120328.dist-info}/RECORD +15 -12
- {kodexa-7.0.1a8003211616.dist-info → kodexa-7.0.1a9194120328.dist-info}/LICENSE +0 -0
- {kodexa-7.0.1a8003211616.dist-info → kodexa-7.0.1a9194120328.dist-info}/WHEEL +0 -0
kodexa/model/objects.py
CHANGED
@@ -218,7 +218,7 @@ class Organization(BaseModel):
|
|
218
218
|
arbitrary_types_allowed=True,
|
219
219
|
protected_namespaces=("model_config",),
|
220
220
|
)
|
221
|
-
id: Optional[str] = Field(None
|
221
|
+
id: Optional[str] = Field(None)
|
222
222
|
uuid: Optional[str] = None
|
223
223
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
224
224
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -240,7 +240,7 @@ class Team(BaseModel):
|
|
240
240
|
arbitrary_types_allowed=True,
|
241
241
|
protected_namespaces=("model_config",),
|
242
242
|
)
|
243
|
-
id: Optional[str] = Field(None
|
243
|
+
id: Optional[str] = Field(None)
|
244
244
|
uuid: Optional[str] = None
|
245
245
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
246
246
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -593,6 +593,7 @@ class PipelineStepMetadata(BaseModel):
|
|
593
593
|
step_type: Optional[StepType] = Field(
|
594
594
|
None, alias="stepType", description="The type of step (ACTION or MODEL)"
|
595
595
|
)
|
596
|
+
conditional: Optional[str] = Field(None, description="The conditional expression for the step")
|
596
597
|
|
597
598
|
|
598
599
|
class PossibleValue(BaseModel):
|
@@ -673,6 +674,11 @@ class StorePurpose(Enum):
|
|
673
674
|
training = "TRAINING"
|
674
675
|
|
675
676
|
|
677
|
+
class ProjectStoreFile(BaseModel):
|
678
|
+
url: Optional[str] = None
|
679
|
+
metadata: Optional[Dict[str, str]] = None
|
680
|
+
|
681
|
+
|
676
682
|
class ProjectStore(BaseModel):
|
677
683
|
"""
|
678
684
|
|
@@ -707,10 +713,12 @@ class ProjectStore(BaseModel):
|
|
707
713
|
None, description="Allow data editing", alias="allowDataEditing"
|
708
714
|
)
|
709
715
|
|
716
|
+
files: Optional[List[ProjectStoreFile]] = Field(None, description="Files to load in the store")
|
717
|
+
|
710
718
|
|
711
719
|
class TaxonomyType(Enum):
|
712
720
|
"""
|
713
|
-
|
721
|
+
The type of taxonomy
|
714
722
|
"""
|
715
723
|
|
716
724
|
content = "CONTENT"
|
@@ -821,12 +829,12 @@ class SlugBasedMetadata1(BaseModel):
|
|
821
829
|
description="The slug of the organization that owns this metadata object",
|
822
830
|
)
|
823
831
|
slug: str = Field(
|
824
|
-
|
832
|
+
None,
|
825
833
|
description="The slug used when referencing this metadata object",
|
826
834
|
pattern=r"^[a-zA-Z0-9\-_]{0,255}$",
|
827
835
|
)
|
828
|
-
type: str = Field(
|
829
|
-
name: str = Field(
|
836
|
+
type: str = Field(None, description="The type of metadata object")
|
837
|
+
name: str = Field(None, description="The name of the object")
|
830
838
|
description: Optional[str] = Field(
|
831
839
|
None, description="The description of the object"
|
832
840
|
)
|
@@ -948,6 +956,8 @@ class ValuePath(Enum):
|
|
948
956
|
:cvar metadata: Represents metadata.
|
949
957
|
:cvar expression: Represents an expression.
|
950
958
|
:cvar script: Represents a script.
|
959
|
+
:cvar derived: Represents derived data.
|
960
|
+
:cvar formula: Represents a formula.
|
951
961
|
"""
|
952
962
|
|
953
963
|
value_or_all_content = "VALUE_OR_ALL_CONTENT"
|
@@ -957,6 +967,8 @@ class ValuePath(Enum):
|
|
957
967
|
metadata = "METADATA"
|
958
968
|
expression = "EXPRESSION"
|
959
969
|
script = "SCRIPT"
|
970
|
+
derived = "DERIVED"
|
971
|
+
formula = "FORMULA"
|
960
972
|
|
961
973
|
|
962
974
|
class MetadataValue(Enum):
|
@@ -971,6 +983,9 @@ class MetadataValue(Enum):
|
|
971
983
|
filename = "FILENAME"
|
972
984
|
transaction_uuid = "TRANSACTION_UUID"
|
973
985
|
created_datetime = "CREATED_DATETIME"
|
986
|
+
document_labels = "DOCUMENT_LABELS"
|
987
|
+
owner_name = "OWNER_NAME"
|
988
|
+
document_status = "DOCUMENT_STATUS"
|
974
989
|
|
975
990
|
|
976
991
|
class TaxonType(Enum):
|
@@ -1003,6 +1018,7 @@ class TaxonType(Enum):
|
|
1003
1018
|
email_address = "EMAIL_ADDRESS"
|
1004
1019
|
phone_number = "PHONE_NUMBER"
|
1005
1020
|
selection = "SELECTION"
|
1021
|
+
section = "SECTION"
|
1006
1022
|
|
1007
1023
|
|
1008
1024
|
class TaxonomyType1(Enum):
|
@@ -1099,7 +1115,7 @@ class AttributeStatus(BaseModel):
|
|
1099
1115
|
arbitrary_types_allowed=True,
|
1100
1116
|
protected_namespaces=("model_config",),
|
1101
1117
|
)
|
1102
|
-
id: Optional[str] = Field(None
|
1118
|
+
id: Optional[str] = Field(None)
|
1103
1119
|
uuid: Optional[str] = None
|
1104
1120
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
1105
1121
|
updated_on: Optional[StandardDateTime] = Field(None, alias="updatedOn")
|
@@ -1186,7 +1202,7 @@ class DocumentStatus(BaseModel):
|
|
1186
1202
|
arbitrary_types_allowed=True,
|
1187
1203
|
protected_namespaces=("model_config",),
|
1188
1204
|
)
|
1189
|
-
id: Optional[str] = Field(None
|
1205
|
+
id: Optional[str] = Field(None)
|
1190
1206
|
uuid: Optional[str] = None
|
1191
1207
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1192
1208
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1221,7 +1237,7 @@ class DocumentTransition(BaseModel):
|
|
1221
1237
|
Provides the definition of a transition for a document, where a change was applied by an assistant, user or external process
|
1222
1238
|
"""
|
1223
1239
|
|
1224
|
-
id: Optional[str] = Field(None
|
1240
|
+
id: Optional[str] = Field(None)
|
1225
1241
|
uuid: Optional[str] = None
|
1226
1242
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1227
1243
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1401,7 +1417,7 @@ class Label(BaseModel):
|
|
1401
1417
|
The labels from the latest content object in the family
|
1402
1418
|
"""
|
1403
1419
|
|
1404
|
-
id: Optional[str] = Field(None
|
1420
|
+
id: Optional[str] = Field(None)
|
1405
1421
|
uuid: Optional[str] = None
|
1406
1422
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1407
1423
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1425,7 +1441,7 @@ class ProjectTag(BaseModel):
|
|
1425
1441
|
A project tag
|
1426
1442
|
"""
|
1427
1443
|
|
1428
|
-
id: Optional[str] = Field(None
|
1444
|
+
id: Optional[str] = Field(None)
|
1429
1445
|
name: str
|
1430
1446
|
color: Optional[str] = None
|
1431
1447
|
|
@@ -1503,7 +1519,7 @@ class Session(BaseModel):
|
|
1503
1519
|
arbitrary_types_allowed=True,
|
1504
1520
|
protected_namespaces=("model_config",),
|
1505
1521
|
)
|
1506
|
-
id: Optional[str] = Field(None
|
1522
|
+
id: Optional[str] = Field(None)
|
1507
1523
|
uuid: Optional[str] = None
|
1508
1524
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1509
1525
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1562,7 +1578,7 @@ class ValidationError(BaseModel):
|
|
1562
1578
|
arbitrary_types_allowed=True,
|
1563
1579
|
protected_namespaces=("model_config",),
|
1564
1580
|
)
|
1565
|
-
id: Optional[str] = Field(None
|
1581
|
+
id: Optional[str] = Field(None)
|
1566
1582
|
uuid: Optional[str] = None
|
1567
1583
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
1568
1584
|
updated_on: Optional[StandardDateTime] = Field(None, alias="updatedOn")
|
@@ -1656,7 +1672,7 @@ class DataException(BaseModel):
|
|
1656
1672
|
A data exception
|
1657
1673
|
"""
|
1658
1674
|
|
1659
|
-
id: Optional[str] = Field(None
|
1675
|
+
id: Optional[str] = Field(None)
|
1660
1676
|
uuid: Optional[str] = None
|
1661
1677
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1662
1678
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1755,6 +1771,7 @@ class DeploymentOptions(BaseModel):
|
|
1755
1771
|
cpu: Optional[str] = None
|
1756
1772
|
pod_match_labels: Optional[List[MatchLabel]] = Field(None, alias="podMatchLabels")
|
1757
1773
|
child_process: Optional[bool] = Field(None, alias="childProcess")
|
1774
|
+
layers: Optional[List[str]] = None
|
1758
1775
|
|
1759
1776
|
|
1760
1777
|
class SourceType(Enum):
|
@@ -1805,7 +1822,7 @@ class PlatformConfiguration(BaseModel):
|
|
1805
1822
|
arbitrary_types_allowed=True,
|
1806
1823
|
protected_namespaces=("model_config",),
|
1807
1824
|
)
|
1808
|
-
id: Optional[str] = Field(None
|
1825
|
+
id: Optional[str] = Field(None)
|
1809
1826
|
uuid: Optional[str] = None
|
1810
1827
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1811
1828
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -1857,7 +1874,7 @@ class ModelTraining(BaseModel):
|
|
1857
1874
|
arbitrary_types_allowed=True,
|
1858
1875
|
protected_namespaces=("model_config",),
|
1859
1876
|
)
|
1860
|
-
id: Optional[str] = Field(None
|
1877
|
+
id: Optional[str] = Field(None)
|
1861
1878
|
uuid: Optional[str] = None
|
1862
1879
|
name: Optional[str] = None
|
1863
1880
|
state: Optional[str] = None
|
@@ -1950,7 +1967,7 @@ class ExecutionLogEntry(BaseModel):
|
|
1950
1967
|
arbitrary_types_allowed=True,
|
1951
1968
|
protected_namespaces=("model_config",),
|
1952
1969
|
)
|
1953
|
-
id: Optional[str] = Field(None
|
1970
|
+
id: Optional[str] = Field(None)
|
1954
1971
|
uuid: Optional[str] = None
|
1955
1972
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
1956
1973
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -2177,7 +2194,7 @@ class User(BaseModel):
|
|
2177
2194
|
A user within the Kodexa platform
|
2178
2195
|
"""
|
2179
2196
|
|
2180
|
-
id: Optional[str] = Field(None
|
2197
|
+
id: Optional[str] = Field(None)
|
2181
2198
|
uuid: Optional[str] = None
|
2182
2199
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
2183
2200
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -2328,6 +2345,9 @@ class ExtensionPackProvided(BaseModel):
|
|
2328
2345
|
change_sequence: Optional[int] = Field(
|
2329
2346
|
None, alias="changeSequence", description="The change sequence"
|
2330
2347
|
)
|
2348
|
+
delete_protection: Optional[bool] = Field(
|
2349
|
+
None, description="Delete protection", alias="deleteProtection"
|
2350
|
+
)
|
2331
2351
|
|
2332
2352
|
|
2333
2353
|
class Option(BaseModel):
|
@@ -2465,6 +2485,28 @@ class ProjectAssistant(BaseModel):
|
|
2465
2485
|
logging_enabled: Optional[bool] = Field(None, alias="loggingEnabled")
|
2466
2486
|
show_in_training: Optional[bool] = Field(None, alias="showInTraining")
|
2467
2487
|
priority_hint: Optional[int] = Field(None, alias="priorityHint")
|
2488
|
+
chat_enabled: Optional[bool] = Field(None, alias="chatEnabled")
|
2489
|
+
assistant_role: Optional[str] = Field(None, alias="assistantRole")
|
2490
|
+
|
2491
|
+
|
2492
|
+
class TaxonConditionalFormat(BaseModel):
|
2493
|
+
model_config = ConfigDict(
|
2494
|
+
populate_by_name=True,
|
2495
|
+
use_enum_values=True,
|
2496
|
+
arbitrary_types_allowed=True,
|
2497
|
+
protected_namespaces=("model_config",),
|
2498
|
+
)
|
2499
|
+
|
2500
|
+
type: Optional[str] = None
|
2501
|
+
condition: Optional[str] = None
|
2502
|
+
properties: Optional[Dict[str, Any]] = Field(default_factory=dict)
|
2503
|
+
|
2504
|
+
|
2505
|
+
class TaxonCardinality(Enum):
|
2506
|
+
once_per_document = "ONCE_PER_DOCUMENT"
|
2507
|
+
multiple_per_document = "MULTIPLE_PER_DOCUMENT"
|
2508
|
+
once_per_segment = "ONCE_PER_SEGMENT"
|
2509
|
+
multiple_per_segment = "MULTIPLE_PER_SEGMENT"
|
2468
2510
|
|
2469
2511
|
|
2470
2512
|
class Taxon(BaseModel):
|
@@ -2619,6 +2661,10 @@ class Taxon(BaseModel):
|
|
2619
2661
|
description="A list of synonyms of the taxon values, used to understand the taxon",
|
2620
2662
|
)
|
2621
2663
|
|
2664
|
+
cardinality: Optional[TaxonCardinality] = None
|
2665
|
+
|
2666
|
+
conditional_formats: Optional[List[TaxonConditionalFormat]] = Field(None, alias="conditionalFormats")
|
2667
|
+
|
2622
2668
|
def update_path(self, parent_path=None):
|
2623
2669
|
if parent_path is None:
|
2624
2670
|
parent_path = ""
|
@@ -2638,7 +2684,7 @@ class ContentObject(BaseModel):
|
|
2638
2684
|
arbitrary_types_allowed=True,
|
2639
2685
|
protected_namespaces=("model_config",),
|
2640
2686
|
)
|
2641
|
-
id: Optional[str] = Field(None
|
2687
|
+
id: Optional[str] = Field(None)
|
2642
2688
|
uuid: Optional[str] = None
|
2643
2689
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
2644
2690
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -2672,12 +2718,12 @@ class DocumentAssignment(BaseModel):
|
|
2672
2718
|
A list of the assignments to users for this document
|
2673
2719
|
"""
|
2674
2720
|
|
2675
|
-
id: Optional[str] = Field(None
|
2721
|
+
id: Optional[str] = Field(None)
|
2676
2722
|
uuid: Optional[str] = None
|
2677
2723
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
2678
2724
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
2679
2725
|
updated_on: Optional[StandardDateTime] = Field(None, alias="updatedOn")
|
2680
|
-
user: User
|
2726
|
+
user: Optional[User] = None
|
2681
2727
|
|
2682
2728
|
|
2683
2729
|
class ExceptionDetails(BaseModel):
|
@@ -2732,9 +2778,11 @@ class ExecutionStep(BaseModel):
|
|
2732
2778
|
content_objects: Optional[List[ContentObject]] = Field(None, alias="contentObjects")
|
2733
2779
|
input_id: Optional[str] = Field(None, alias="inputId")
|
2734
2780
|
output_id: Optional[str] = Field(None, alias="outputId")
|
2781
|
+
output_ids: Optional[List[str]] = Field(None, alias="outputIds")
|
2735
2782
|
ref: Optional[str] = None
|
2736
2783
|
extension_pack_ref: Optional[str] = Field(None, alias="extensionPackRef")
|
2737
2784
|
step_type: Optional[StepType1] = Field(None, alias="stepType")
|
2785
|
+
conditional: Optional[str] = None
|
2738
2786
|
|
2739
2787
|
|
2740
2788
|
class ProjectStatus(BaseModel):
|
@@ -2747,7 +2795,7 @@ class ProjectStatus(BaseModel):
|
|
2747
2795
|
arbitrary_types_allowed=True,
|
2748
2796
|
protected_namespaces=("model_config",),
|
2749
2797
|
)
|
2750
|
-
id: Optional[str] = Field(None
|
2798
|
+
id: Optional[str] = Field(None)
|
2751
2799
|
uuid: Optional[str] = None
|
2752
2800
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
2753
2801
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -2758,17 +2806,26 @@ class ProjectStatus(BaseModel):
|
|
2758
2806
|
icon: Optional[str] = None
|
2759
2807
|
|
2760
2808
|
|
2761
|
-
class
|
2762
|
-
|
2809
|
+
class ProjectOptions(BaseModel):
|
2810
|
+
model_config = ConfigDict(
|
2811
|
+
populate_by_name=True,
|
2812
|
+
use_enum_values=True,
|
2813
|
+
arbitrary_types_allowed=True,
|
2814
|
+
protected_namespaces=("model_config",),
|
2815
|
+
)
|
2763
2816
|
|
2764
|
-
""
|
2817
|
+
options: List[Option] = Field(None, description="The options for the project")
|
2818
|
+
properties: Dict[str, Any] = Field(None, description="The properties for the project")
|
2819
|
+
|
2820
|
+
|
2821
|
+
class Project(BaseModel):
|
2765
2822
|
model_config = ConfigDict(
|
2766
2823
|
populate_by_name=True,
|
2767
2824
|
use_enum_values=True,
|
2768
2825
|
arbitrary_types_allowed=True,
|
2769
2826
|
protected_namespaces=("model_config",),
|
2770
2827
|
)
|
2771
|
-
id: Optional[str] = Field(None
|
2828
|
+
id: Optional[str] = Field(None)
|
2772
2829
|
uuid: Optional[str] = None
|
2773
2830
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
2774
2831
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -2801,6 +2858,7 @@ class Project(BaseModel):
|
|
2801
2858
|
)
|
2802
2859
|
status: Optional[ProjectStatus] = None
|
2803
2860
|
owner: Optional[User] = None
|
2861
|
+
options: Optional[ProjectOptions] = Field(None, alias="options")
|
2804
2862
|
|
2805
2863
|
|
2806
2864
|
class FeatureSet(BaseModel):
|
@@ -2873,6 +2931,7 @@ class WorkspaceStorage(BaseModel):
|
|
2873
2931
|
current_view_id: Optional[str] = Field(None, alias="currentViewId")
|
2874
2932
|
default_sidebar: Optional[str] = Field(None, alias="defaultSidebar")
|
2875
2933
|
overview: Optional[str] = None
|
2934
|
+
available_panels: Optional[Dict[str, bool]] = Field(None, alias="availablePanels")
|
2876
2935
|
|
2877
2936
|
|
2878
2937
|
class Workspace(BaseModel):
|
@@ -3021,6 +3080,9 @@ class MessageFeedback(BaseModel):
|
|
3021
3080
|
)
|
3022
3081
|
options: Optional[List[MessageFeedbackOption]] = Field(None, alias="options")
|
3023
3082
|
|
3083
|
+
# Thumbs down is -1 and thumbs up is 1
|
3084
|
+
rating: Optional[int] = None
|
3085
|
+
|
3024
3086
|
|
3025
3087
|
class Message(BaseModel):
|
3026
3088
|
"""
|
@@ -3057,7 +3119,7 @@ class DataAttribute(BaseModel):
|
|
3057
3119
|
arbitrary_types_allowed=True,
|
3058
3120
|
protected_namespaces=("model_config",),
|
3059
3121
|
)
|
3060
|
-
id: Optional[str] = Field(None
|
3122
|
+
id: Optional[str] = Field(None)
|
3061
3123
|
uuid: Optional[str] = None
|
3062
3124
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3063
3125
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3102,7 +3164,7 @@ class Role(BaseModel):
|
|
3102
3164
|
A role that can be used to manage rights
|
3103
3165
|
"""
|
3104
3166
|
|
3105
|
-
id: Optional[str] = Field(None
|
3167
|
+
id: Optional[str] = Field(None)
|
3106
3168
|
uuid: Optional[str] = None
|
3107
3169
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3108
3170
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3122,7 +3184,7 @@ class Membership(BaseModel):
|
|
3122
3184
|
arbitrary_types_allowed=True,
|
3123
3185
|
protected_namespaces=("model_config",),
|
3124
3186
|
)
|
3125
|
-
id: Optional[str] = Field(None
|
3187
|
+
id: Optional[str] = Field(None)
|
3126
3188
|
uuid: Optional[str] = None
|
3127
3189
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3128
3190
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3552,7 +3614,7 @@ class ContentException(BaseModel):
|
|
3552
3614
|
A list of the content exceptions from the content objects
|
3553
3615
|
"""
|
3554
3616
|
|
3555
|
-
id: Optional[str] = Field(None
|
3617
|
+
id: Optional[str] = Field(None)
|
3556
3618
|
uuid: Optional[str] = None
|
3557
3619
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3558
3620
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3631,7 +3693,7 @@ class Execution(BaseModel):
|
|
3631
3693
|
arbitrary_types_allowed=True,
|
3632
3694
|
protected_namespaces=("model_config",),
|
3633
3695
|
)
|
3634
|
-
id: Optional[str] = Field(None
|
3696
|
+
id: Optional[str] = Field(None)
|
3635
3697
|
uuid: Optional[str] = None
|
3636
3698
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3637
3699
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3666,7 +3728,7 @@ class ExecutionSnapshot(BaseModel):
|
|
3666
3728
|
arbitrary_types_allowed=True,
|
3667
3729
|
protected_namespaces=("model_config",),
|
3668
3730
|
)
|
3669
|
-
id: Optional[str] = Field(None
|
3731
|
+
id: Optional[str] = Field(None)
|
3670
3732
|
uuid: Optional[str] = None
|
3671
3733
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3672
3734
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3774,6 +3836,20 @@ class LabelStatistics(BaseModel):
|
|
3774
3836
|
)
|
3775
3837
|
|
3776
3838
|
|
3839
|
+
class DocumentEmbedding(BaseModel):
|
3840
|
+
model_config = ConfigDict(
|
3841
|
+
populate_by_name=True,
|
3842
|
+
use_enum_values=True,
|
3843
|
+
arbitrary_types_allowed=True,
|
3844
|
+
protected_namespaces=("model_config",),
|
3845
|
+
)
|
3846
|
+
embedding: Optional[List[float]] = None
|
3847
|
+
document_family: Optional[DocumentFamily] = Field(None, alias="documentFamily")
|
3848
|
+
content_object: Optional[ContentObject] = Field(None, alias="contentObject")
|
3849
|
+
embedding_name: Optional[str] = Field(None, alias="embeddingName")
|
3850
|
+
node_uuid: Optional[str] = Field(None, alias="nodeUuid")
|
3851
|
+
|
3852
|
+
|
3777
3853
|
class DocumentFamily(BaseModel):
|
3778
3854
|
"""
|
3779
3855
|
|
@@ -3788,7 +3864,7 @@ class DocumentFamily(BaseModel):
|
|
3788
3864
|
A document family is the representation of a single piece of external content (ie. a PDF) and all the related document representations of that file
|
3789
3865
|
"""
|
3790
3866
|
|
3791
|
-
id: Optional[str] = Field(None
|
3867
|
+
id: Optional[str] = Field(None)
|
3792
3868
|
uuid: Optional[str] = None
|
3793
3869
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3794
3870
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3887,7 +3963,7 @@ class ExecutionAssistant(BaseModel):
|
|
3887
3963
|
arbitrary_types_allowed=True,
|
3888
3964
|
protected_namespaces=("model_config",),
|
3889
3965
|
)
|
3890
|
-
id: Optional[str] = Field(None
|
3966
|
+
id: Optional[str] = Field(None)
|
3891
3967
|
uuid: Optional[str] = None
|
3892
3968
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3893
3969
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3934,7 +4010,7 @@ class DataObject(BaseModel):
|
|
3934
4010
|
arbitrary_types_allowed=True,
|
3935
4011
|
protected_namespaces=("model_config",),
|
3936
4012
|
)
|
3937
|
-
id: Optional[str] = Field(None
|
4013
|
+
id: Optional[str] = Field(None)
|
3938
4014
|
uuid: Optional[str] = None
|
3939
4015
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3940
4016
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3966,7 +4042,7 @@ class Assistant(BaseModel):
|
|
3966
4042
|
arbitrary_types_allowed=True,
|
3967
4043
|
protected_namespaces=("model_config",),
|
3968
4044
|
)
|
3969
|
-
id: Optional[str] = Field(None
|
4045
|
+
id: Optional[str] = Field(None)
|
3970
4046
|
uuid: Optional[str] = None
|
3971
4047
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
3972
4048
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -3991,6 +4067,8 @@ class Assistant(BaseModel):
|
|
3991
4067
|
show_in_training: Optional[bool] = Field(None, alias="showInTraining")
|
3992
4068
|
color: Optional[str] = Field(None, description="The color to use for the assistant")
|
3993
4069
|
priority_hint: Optional[int] = Field(None, alias="priorityHint")
|
4070
|
+
chat_enabled: Optional[bool] = Field(None, alias="chatEnabled")
|
4071
|
+
assistant_role: Optional[str] = Field(None, alias="assistantRole")
|
3994
4072
|
|
3995
4073
|
|
3996
4074
|
class AssistantExecution(BaseModel):
|
@@ -4020,6 +4098,8 @@ class AssistantExecution(BaseModel):
|
|
4020
4098
|
DataObjectEvent,
|
4021
4099
|
DocumentFamilyEvent,
|
4022
4100
|
ScheduledEvent,
|
4101
|
+
ChannelEvent,
|
4102
|
+
WorkspaceEvent,
|
4023
4103
|
]
|
4024
4104
|
] = None
|
4025
4105
|
response: Optional[AssistantExecutionResponse] = None
|
@@ -4168,7 +4248,7 @@ class ExecutionEvent(BaseModel):
|
|
4168
4248
|
arbitrary_types_allowed=True,
|
4169
4249
|
protected_namespaces=("model_config",),
|
4170
4250
|
)
|
4171
|
-
id: Optional[str] = Field(None
|
4251
|
+
id: Optional[str] = Field(None)
|
4172
4252
|
uuid: Optional[str] = None
|
4173
4253
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
4174
4254
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -4230,6 +4310,8 @@ class UserSelection(BaseModel):
|
|
4230
4310
|
|
4231
4311
|
|
4232
4312
|
class Guidance(BaseModel):
|
4313
|
+
id: Optional[str] = Field(None, description="The ID of the guidance")
|
4314
|
+
name: Optional[str] = None
|
4233
4315
|
guidance_type: Optional[str] = Field(None, alias="guidanceType")
|
4234
4316
|
taxonomy_ref: Optional[str] = Field(None, alias="taxonomyRef")
|
4235
4317
|
document_name: Optional[str] = Field(None, alias="documentName")
|
@@ -4243,12 +4325,17 @@ class Guidance(BaseModel):
|
|
4243
4325
|
priority: Optional[int] = 1
|
4244
4326
|
user_instructions: Optional[str] = Field(None, alias="userInstructions")
|
4245
4327
|
user_instructions_properties: Optional[Dict[str, Any]] = Field(None, alias="userInstructionsProperties")
|
4328
|
+
created: Optional[StandardDateTime] = None
|
4329
|
+
updated: Optional[StandardDateTime] = None
|
4330
|
+
userId: Optional[str] = Field(None, alias="userId")
|
4246
4331
|
|
4247
4332
|
# users selected text, text and line_uuid
|
4248
4333
|
user_selection: Optional[List[UserSelection]] = Field(None, alias="userSelection")
|
4249
4334
|
|
4250
4335
|
compiled_guidance: Optional[Dict[str, Any]] = Field(None, alias="compiledGuidance")
|
4251
4336
|
|
4337
|
+
guidance_options: Optional[List[Option]] = Field(None, alias="guidanceOptions")
|
4338
|
+
|
4252
4339
|
|
4253
4340
|
class GuidanceSet(ExtensionPackProvided):
|
4254
4341
|
"""
|
@@ -4389,7 +4476,7 @@ class SearchContent(BaseModel):
|
|
4389
4476
|
A document family is the representation of a single peice of external content (ie. a PDF) and all the related document representations of that file
|
4390
4477
|
"""
|
4391
4478
|
|
4392
|
-
id: Optional[str] = Field(None
|
4479
|
+
id: Optional[str] = Field(None)
|
4393
4480
|
uuid: Optional[str] = None
|
4394
4481
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
4395
4482
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -4473,7 +4560,7 @@ class PlatformEvent(BaseModel):
|
|
4473
4560
|
arbitrary_types_allowed=True,
|
4474
4561
|
protected_namespaces=("model_config",),
|
4475
4562
|
)
|
4476
|
-
id: Optional[str] = Field(None
|
4563
|
+
id: Optional[str] = Field(None)
|
4477
4564
|
uuid: Optional[str] = None
|
4478
4565
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
4479
4566
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -4487,6 +4574,8 @@ class PlatformEvent(BaseModel):
|
|
4487
4574
|
DataObjectEvent,
|
4488
4575
|
DocumentFamilyEvent,
|
4489
4576
|
ScheduledEvent,
|
4577
|
+
ChannelEvent,
|
4578
|
+
WorkspaceEvent
|
4490
4579
|
]
|
4491
4580
|
] = Field(None, alias="eventDetail")
|
4492
4581
|
document_family: Optional[DocumentFamily] = Field(None, alias="documentFamily")
|
@@ -4528,7 +4617,7 @@ class AuditEvent(BaseModel):
|
|
4528
4617
|
An audit event captures a data to a data structure or document
|
4529
4618
|
"""
|
4530
4619
|
|
4531
|
-
id: Optional[str] = Field(None
|
4620
|
+
id: Optional[str] = Field(None)
|
4532
4621
|
uuid: Optional[str] = None
|
4533
4622
|
change_sequence: Optional[int] = Field(None, alias="changeSequence")
|
4534
4623
|
created_on: Optional[StandardDateTime] = Field(None, alias="createdOn")
|
@@ -4964,6 +5053,8 @@ class ModelContentMetadata(BaseModel):
|
|
4964
5053
|
None, alias="trainingOptions", description="The training options for this model"
|
4965
5054
|
)
|
4966
5055
|
|
5056
|
+
model_sidecars: Optional[List[str]] = Field(None, alias="modelSidecars")
|
5057
|
+
|
4967
5058
|
message_templates: Optional[List[MessageTemplate]] = Field(
|
4968
5059
|
None, alias="messageTemplates", description="The message templates"
|
4969
5060
|
)
|
@@ -5169,10 +5260,6 @@ class Pipeline(ExtensionPackProvided):
|
|
5169
5260
|
|
5170
5261
|
|
5171
5262
|
class ProjectTemplate(ExtensionPackProvided):
|
5172
|
-
"""
|
5173
|
-
|
5174
|
-
"""
|
5175
|
-
|
5176
5263
|
stores: Optional[List[ProjectStore]] = Field(
|
5177
5264
|
None, description="The stores that will be created with the project template"
|
5178
5265
|
)
|
@@ -5219,9 +5306,10 @@ class ProjectTemplate(ExtensionPackProvided):
|
|
5219
5306
|
alias="attributeStatuses",
|
5220
5307
|
description="The attribute statuses that will be created with the project template",
|
5221
5308
|
)
|
5222
|
-
|
5223
|
-
|
5224
|
-
|
5309
|
+
|
5310
|
+
options: Optional[ProjectOptions] = Field(None, alias="options")
|
5311
|
+
|
5312
|
+
tags: Optional[List[str]] = Field(None, alias="tags")
|
5225
5313
|
|
5226
5314
|
|
5227
5315
|
class Store(ExtensionPackProvided):
|