ignos-api-client 2024.2.5.8366__py3-none-any.whl → 2024.5.28.9351__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.
@@ -76,6 +76,45 @@ class AcceptSupplierInviteRequest(_serialization.Model):
76
76
  self.three_letter_iso_country = three_letter_iso_country
77
77
 
78
78
 
79
+ class ActiveWorkDto(_serialization.Model):
80
+ """ActiveWorkDto.
81
+
82
+ All required parameters must be populated in order to send to server.
83
+
84
+ :ivar work_activity: Required.
85
+ :vartype work_activity: ~ignos.api.client.models.CurrentWorkDto
86
+ :ivar operation: Required.
87
+ :vartype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
88
+ """
89
+
90
+ _validation = {
91
+ "work_activity": {"required": True},
92
+ "operation": {"required": True},
93
+ }
94
+
95
+ _attribute_map = {
96
+ "work_activity": {"key": "workActivity", "type": "CurrentWorkDto"},
97
+ "operation": {"key": "operation", "type": "ProductionScheduleOperationDto"},
98
+ }
99
+
100
+ def __init__(
101
+ self,
102
+ *,
103
+ work_activity: "_models.CurrentWorkDto",
104
+ operation: "_models.ProductionScheduleOperationDto",
105
+ **kwargs: Any
106
+ ) -> None:
107
+ """
108
+ :keyword work_activity: Required.
109
+ :paramtype work_activity: ~ignos.api.client.models.CurrentWorkDto
110
+ :keyword operation: Required.
111
+ :paramtype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
112
+ """
113
+ super().__init__(**kwargs)
114
+ self.work_activity = work_activity
115
+ self.operation = operation
116
+
117
+
79
118
  class AddMesLink(_serialization.Model):
80
119
  """AddMesLink.
81
120
 
@@ -823,6 +862,306 @@ class BatchInsertValuesResponseDto(_serialization.Model):
823
862
  self.tool_warning = tool_warning
824
863
 
825
864
 
865
+ class BookingDeliveryUpdateDto(_serialization.Model):
866
+ """BookingDeliveryUpdateDto.
867
+
868
+ All required parameters must be populated in order to send to server.
869
+
870
+ :ivar booking_id: Required.
871
+ :vartype booking_id: str
872
+ :ivar to_location_id:
873
+ :vartype to_location_id: str
874
+ :ivar comment:
875
+ :vartype comment: str
876
+ """
877
+
878
+ _validation = {
879
+ "booking_id": {"required": True, "min_length": 1},
880
+ }
881
+
882
+ _attribute_map = {
883
+ "booking_id": {"key": "bookingId", "type": "str"},
884
+ "to_location_id": {"key": "toLocationId", "type": "str"},
885
+ "comment": {"key": "comment", "type": "str"},
886
+ }
887
+
888
+ def __init__(
889
+ self, *, booking_id: str, to_location_id: Optional[str] = None, comment: Optional[str] = None, **kwargs: Any
890
+ ) -> None:
891
+ """
892
+ :keyword booking_id: Required.
893
+ :paramtype booking_id: str
894
+ :keyword to_location_id:
895
+ :paramtype to_location_id: str
896
+ :keyword comment:
897
+ :paramtype comment: str
898
+ """
899
+ super().__init__(**kwargs)
900
+ self.booking_id = booking_id
901
+ self.to_location_id = to_location_id
902
+ self.comment = comment
903
+
904
+
905
+ class BookingItemRequestDto(_serialization.Model):
906
+ """BookingItemRequestDto.
907
+
908
+ All required parameters must be populated in order to send to server.
909
+
910
+ :ivar tracking_id: Required.
911
+ :vartype tracking_id: str
912
+ """
913
+
914
+ _validation = {
915
+ "tracking_id": {"required": True, "min_length": 1},
916
+ }
917
+
918
+ _attribute_map = {
919
+ "tracking_id": {"key": "trackingId", "type": "str"},
920
+ }
921
+
922
+ def __init__(self, *, tracking_id: str, **kwargs: Any) -> None:
923
+ """
924
+ :keyword tracking_id: Required.
925
+ :paramtype tracking_id: str
926
+ """
927
+ super().__init__(**kwargs)
928
+ self.tracking_id = tracking_id
929
+
930
+
931
+ class BookingItemResponseDto(_serialization.Model):
932
+ """BookingItemResponseDto.
933
+
934
+ All required parameters must be populated in order to send to server.
935
+
936
+ :ivar tracking_id: Required.
937
+ :vartype tracking_id: str
938
+ """
939
+
940
+ _validation = {
941
+ "tracking_id": {"required": True, "min_length": 1},
942
+ }
943
+
944
+ _attribute_map = {
945
+ "tracking_id": {"key": "trackingId", "type": "str"},
946
+ }
947
+
948
+ def __init__(self, *, tracking_id: str, **kwargs: Any) -> None:
949
+ """
950
+ :keyword tracking_id: Required.
951
+ :paramtype tracking_id: str
952
+ """
953
+ super().__init__(**kwargs)
954
+ self.tracking_id = tracking_id
955
+
956
+
957
+ class BookingRequestDto(_serialization.Model):
958
+ """BookingRequestDto.
959
+
960
+ All required parameters must be populated in order to send to server.
961
+
962
+ :ivar booking_type: Required. Known values are: "NormalTruck", "LargeTruck", and
963
+ "SideLoadingTruck".
964
+ :vartype booking_type: str or ~ignos.api.client.models.BookingTypeDto
965
+ :ivar items: Required.
966
+ :vartype items: list[~ignos.api.client.models.BookingItemRequestDto]
967
+ :ivar from_location_id: Required.
968
+ :vartype from_location_id: str
969
+ :ivar to_location_id: Required.
970
+ :vartype to_location_id: str
971
+ """
972
+
973
+ _validation = {
974
+ "booking_type": {"required": True},
975
+ "items": {"required": True},
976
+ "from_location_id": {"required": True, "min_length": 1},
977
+ "to_location_id": {"required": True, "min_length": 1},
978
+ }
979
+
980
+ _attribute_map = {
981
+ "booking_type": {"key": "bookingType", "type": "str"},
982
+ "items": {"key": "items", "type": "[BookingItemRequestDto]"},
983
+ "from_location_id": {"key": "fromLocationId", "type": "str"},
984
+ "to_location_id": {"key": "toLocationId", "type": "str"},
985
+ }
986
+
987
+ def __init__(
988
+ self,
989
+ *,
990
+ booking_type: Union[str, "_models.BookingTypeDto"],
991
+ items: List["_models.BookingItemRequestDto"],
992
+ from_location_id: str,
993
+ to_location_id: str,
994
+ **kwargs: Any
995
+ ) -> None:
996
+ """
997
+ :keyword booking_type: Required. Known values are: "NormalTruck", "LargeTruck", and
998
+ "SideLoadingTruck".
999
+ :paramtype booking_type: str or ~ignos.api.client.models.BookingTypeDto
1000
+ :keyword items: Required.
1001
+ :paramtype items: list[~ignos.api.client.models.BookingItemRequestDto]
1002
+ :keyword from_location_id: Required.
1003
+ :paramtype from_location_id: str
1004
+ :keyword to_location_id: Required.
1005
+ :paramtype to_location_id: str
1006
+ """
1007
+ super().__init__(**kwargs)
1008
+ self.booking_type = booking_type
1009
+ self.items = items
1010
+ self.from_location_id = from_location_id
1011
+ self.to_location_id = to_location_id
1012
+
1013
+
1014
+ class BookingRequestListDto(_serialization.Model):
1015
+ """BookingRequestListDto.
1016
+
1017
+ :ivar continuation_token:
1018
+ :vartype continuation_token: str
1019
+ """
1020
+
1021
+ _attribute_map = {
1022
+ "continuation_token": {"key": "continuationToken", "type": "str"},
1023
+ }
1024
+
1025
+ def __init__(self, *, continuation_token: Optional[str] = None, **kwargs: Any) -> None:
1026
+ """
1027
+ :keyword continuation_token:
1028
+ :paramtype continuation_token: str
1029
+ """
1030
+ super().__init__(**kwargs)
1031
+ self.continuation_token = continuation_token
1032
+
1033
+
1034
+ class BookingResponseDto(_serialization.Model):
1035
+ """BookingResponseDto.
1036
+
1037
+ All required parameters must be populated in order to send to server.
1038
+
1039
+ :ivar booking_id: Required.
1040
+ :vartype booking_id: str
1041
+ :ivar booking_type: Required. Known values are: "NormalTruck", "LargeTruck", and
1042
+ "SideLoadingTruck".
1043
+ :vartype booking_type: str or ~ignos.api.client.models.BookingTypeDto
1044
+ :ivar items: Required.
1045
+ :vartype items: list[~ignos.api.client.models.BookingItemResponseDto]
1046
+ :ivar from_location_id: Required.
1047
+ :vartype from_location_id: str
1048
+ :ivar to_location_id: Required.
1049
+ :vartype to_location_id: str
1050
+ """
1051
+
1052
+ _validation = {
1053
+ "booking_id": {"required": True, "min_length": 1},
1054
+ "booking_type": {"required": True},
1055
+ "items": {"required": True},
1056
+ "from_location_id": {"required": True, "min_length": 1},
1057
+ "to_location_id": {"required": True, "min_length": 1},
1058
+ }
1059
+
1060
+ _attribute_map = {
1061
+ "booking_id": {"key": "bookingId", "type": "str"},
1062
+ "booking_type": {"key": "bookingType", "type": "str"},
1063
+ "items": {"key": "items", "type": "[BookingItemResponseDto]"},
1064
+ "from_location_id": {"key": "fromLocationId", "type": "str"},
1065
+ "to_location_id": {"key": "toLocationId", "type": "str"},
1066
+ }
1067
+
1068
+ def __init__(
1069
+ self,
1070
+ *,
1071
+ booking_id: str,
1072
+ booking_type: Union[str, "_models.BookingTypeDto"],
1073
+ items: List["_models.BookingItemResponseDto"],
1074
+ from_location_id: str,
1075
+ to_location_id: str,
1076
+ **kwargs: Any
1077
+ ) -> None:
1078
+ """
1079
+ :keyword booking_id: Required.
1080
+ :paramtype booking_id: str
1081
+ :keyword booking_type: Required. Known values are: "NormalTruck", "LargeTruck", and
1082
+ "SideLoadingTruck".
1083
+ :paramtype booking_type: str or ~ignos.api.client.models.BookingTypeDto
1084
+ :keyword items: Required.
1085
+ :paramtype items: list[~ignos.api.client.models.BookingItemResponseDto]
1086
+ :keyword from_location_id: Required.
1087
+ :paramtype from_location_id: str
1088
+ :keyword to_location_id: Required.
1089
+ :paramtype to_location_id: str
1090
+ """
1091
+ super().__init__(**kwargs)
1092
+ self.booking_id = booking_id
1093
+ self.booking_type = booking_type
1094
+ self.items = items
1095
+ self.from_location_id = from_location_id
1096
+ self.to_location_id = to_location_id
1097
+
1098
+
1099
+ class BookingResponseListDto(_serialization.Model):
1100
+ """BookingResponseListDto.
1101
+
1102
+ All required parameters must be populated in order to send to server.
1103
+
1104
+ :ivar results: Required.
1105
+ :vartype results: list[~ignos.api.client.models.BookingResponseDto]
1106
+ :ivar continuation_token:
1107
+ :vartype continuation_token: str
1108
+ """
1109
+
1110
+ _validation = {
1111
+ "results": {"required": True},
1112
+ }
1113
+
1114
+ _attribute_map = {
1115
+ "results": {"key": "results", "type": "[BookingResponseDto]"},
1116
+ "continuation_token": {"key": "continuationToken", "type": "str"},
1117
+ }
1118
+
1119
+ def __init__(
1120
+ self, *, results: List["_models.BookingResponseDto"], continuation_token: Optional[str] = None, **kwargs: Any
1121
+ ) -> None:
1122
+ """
1123
+ :keyword results: Required.
1124
+ :paramtype results: list[~ignos.api.client.models.BookingResponseDto]
1125
+ :keyword continuation_token:
1126
+ :paramtype continuation_token: str
1127
+ """
1128
+ super().__init__(**kwargs)
1129
+ self.results = results
1130
+ self.continuation_token = continuation_token
1131
+
1132
+
1133
+ class BookingUpdateDto(_serialization.Model):
1134
+ """BookingUpdateDto.
1135
+
1136
+ All required parameters must be populated in order to send to server.
1137
+
1138
+ :ivar booking_id: Required.
1139
+ :vartype booking_id: str
1140
+ :ivar comment:
1141
+ :vartype comment: str
1142
+ """
1143
+
1144
+ _validation = {
1145
+ "booking_id": {"required": True, "min_length": 1},
1146
+ }
1147
+
1148
+ _attribute_map = {
1149
+ "booking_id": {"key": "bookingId", "type": "str"},
1150
+ "comment": {"key": "comment", "type": "str"},
1151
+ }
1152
+
1153
+ def __init__(self, *, booking_id: str, comment: Optional[str] = None, **kwargs: Any) -> None:
1154
+ """
1155
+ :keyword booking_id: Required.
1156
+ :paramtype booking_id: str
1157
+ :keyword comment:
1158
+ :paramtype comment: str
1159
+ """
1160
+ super().__init__(**kwargs)
1161
+ self.booking_id = booking_id
1162
+ self.comment = comment
1163
+
1164
+
826
1165
  class CalculateBarWeight(_serialization.Model):
827
1166
  """CalculateBarWeight.
828
1167
 
@@ -1287,7 +1626,7 @@ class CncMachineOperationDto(_serialization.Model): # pylint: disable=too-many-
1287
1626
  :vartype fixture: str
1288
1627
  :ivar status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
1289
1628
  :vartype status: str or ~ignos.api.client.models.CncOperationStatus
1290
- :ivar deleted:
1629
+ :ivar deleted: Required.
1291
1630
  :vartype deleted: bool
1292
1631
  """
1293
1632
 
@@ -1298,6 +1637,7 @@ class CncMachineOperationDto(_serialization.Model): # pylint: disable=too-many-
1298
1637
  "machine_id": {"required": True, "min_length": 1},
1299
1638
  "machine_name": {"required": True, "min_length": 1},
1300
1639
  "status": {"required": True},
1640
+ "deleted": {"required": True},
1301
1641
  }
1302
1642
 
1303
1643
  _attribute_map = {
@@ -1326,6 +1666,7 @@ class CncMachineOperationDto(_serialization.Model): # pylint: disable=too-many-
1326
1666
  machine_id: str,
1327
1667
  machine_name: str,
1328
1668
  status: Union[str, "_models.CncOperationStatus"],
1669
+ deleted: bool,
1329
1670
  title: Optional[str] = None,
1330
1671
  description: Optional[str] = None,
1331
1672
  chuck_jaws: Optional[str] = None,
@@ -1333,7 +1674,6 @@ class CncMachineOperationDto(_serialization.Model): # pylint: disable=too-many-
1333
1674
  tailstock: Optional[str] = None,
1334
1675
  tailstock_pressure: Optional[str] = None,
1335
1676
  fixture: Optional[str] = None,
1336
- deleted: Optional[bool] = None,
1337
1677
  **kwargs: Any
1338
1678
  ) -> None:
1339
1679
  """
@@ -1363,7 +1703,7 @@ class CncMachineOperationDto(_serialization.Model): # pylint: disable=too-many-
1363
1703
  :paramtype fixture: str
1364
1704
  :keyword status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
1365
1705
  :paramtype status: str or ~ignos.api.client.models.CncOperationStatus
1366
- :keyword deleted:
1706
+ :keyword deleted: Required.
1367
1707
  :paramtype deleted: bool
1368
1708
  """
1369
1709
  super().__init__(**kwargs)
@@ -1420,7 +1760,7 @@ class CncMachineOperationSearchResultDto(_serialization.Model): # pylint: disab
1420
1760
  :vartype description: str
1421
1761
  :ivar status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
1422
1762
  :vartype status: str or ~ignos.api.client.models.CncOperationStatus
1423
- :ivar deleted:
1763
+ :ivar deleted: Required.
1424
1764
  :vartype deleted: bool
1425
1765
  """
1426
1766
 
@@ -1431,6 +1771,7 @@ class CncMachineOperationSearchResultDto(_serialization.Model): # pylint: disab
1431
1771
  "machine_id": {"required": True, "min_length": 1},
1432
1772
  "machine_name": {"required": True, "min_length": 1},
1433
1773
  "status": {"required": True},
1774
+ "deleted": {"required": True},
1434
1775
  }
1435
1776
 
1436
1777
  _attribute_map = {
@@ -1462,6 +1803,7 @@ class CncMachineOperationSearchResultDto(_serialization.Model): # pylint: disab
1462
1803
  machine_id: str,
1463
1804
  machine_name: str,
1464
1805
  status: Union[str, "_models.CncOperationStatus"],
1806
+ deleted: bool,
1465
1807
  customer_id: Optional[str] = None,
1466
1808
  customer_name: Optional[str] = None,
1467
1809
  part_number: Optional[str] = None,
@@ -1472,7 +1814,6 @@ class CncMachineOperationSearchResultDto(_serialization.Model): # pylint: disab
1472
1814
  material: Optional[str] = None,
1473
1815
  title: Optional[str] = None,
1474
1816
  description: Optional[str] = None,
1475
- deleted: Optional[bool] = None,
1476
1817
  **kwargs: Any
1477
1818
  ) -> None:
1478
1819
  """
@@ -1508,7 +1849,7 @@ class CncMachineOperationSearchResultDto(_serialization.Model): # pylint: disab
1508
1849
  :paramtype description: str
1509
1850
  :keyword status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
1510
1851
  :paramtype status: str or ~ignos.api.client.models.CncOperationStatus
1511
- :keyword deleted:
1852
+ :keyword deleted: Required.
1512
1853
  :paramtype deleted: bool
1513
1854
  """
1514
1855
  super().__init__(**kwargs)
@@ -1681,7 +2022,7 @@ class CncPartDto(_serialization.Model): # pylint: disable=too-many-instance-att
1681
2022
  :vartype drawing_revision: str
1682
2023
  :ivar material:
1683
2024
  :vartype material: str
1684
- :ivar deleted:
2025
+ :ivar deleted: Required.
1685
2026
  :vartype deleted: bool
1686
2027
  :ivar description:
1687
2028
  :vartype description: str
@@ -1691,6 +2032,7 @@ class CncPartDto(_serialization.Model): # pylint: disable=too-many-instance-att
1691
2032
 
1692
2033
  _validation = {
1693
2034
  "id": {"required": True, "min_length": 1},
2035
+ "deleted": {"required": True},
1694
2036
  }
1695
2037
 
1696
2038
  _attribute_map = {
@@ -1712,6 +2054,7 @@ class CncPartDto(_serialization.Model): # pylint: disable=too-many-instance-att
1712
2054
  self,
1713
2055
  *,
1714
2056
  id: str, # pylint: disable=redefined-builtin
2057
+ deleted: bool,
1715
2058
  customer_id: Optional[str] = None,
1716
2059
  customer_name: Optional[str] = None,
1717
2060
  part_number: Optional[str] = None,
@@ -1720,7 +2063,6 @@ class CncPartDto(_serialization.Model): # pylint: disable=too-many-instance-att
1720
2063
  drawing: Optional[str] = None,
1721
2064
  drawing_revision: Optional[str] = None,
1722
2065
  material: Optional[str] = None,
1723
- deleted: Optional[bool] = None,
1724
2066
  description: Optional[str] = None,
1725
2067
  drawing_file: Optional["_models.FileDto"] = None,
1726
2068
  **kwargs: Any
@@ -1744,7 +2086,7 @@ class CncPartDto(_serialization.Model): # pylint: disable=too-many-instance-att
1744
2086
  :paramtype drawing_revision: str
1745
2087
  :keyword material:
1746
2088
  :paramtype material: str
1747
- :keyword deleted:
2089
+ :keyword deleted: Required.
1748
2090
  :paramtype deleted: bool
1749
2091
  :keyword description:
1750
2092
  :paramtype description: str
@@ -1789,7 +2131,7 @@ class CncPartListDto(_serialization.Model): # pylint: disable=too-many-instance
1789
2131
  :vartype drawing_revision: str
1790
2132
  :ivar material:
1791
2133
  :vartype material: str
1792
- :ivar deleted:
2134
+ :ivar deleted: Required.
1793
2135
  :vartype deleted: bool
1794
2136
  :ivar description:
1795
2137
  :vartype description: str
@@ -1797,6 +2139,7 @@ class CncPartListDto(_serialization.Model): # pylint: disable=too-many-instance
1797
2139
 
1798
2140
  _validation = {
1799
2141
  "id": {"required": True, "min_length": 1},
2142
+ "deleted": {"required": True},
1800
2143
  }
1801
2144
 
1802
2145
  _attribute_map = {
@@ -1817,6 +2160,7 @@ class CncPartListDto(_serialization.Model): # pylint: disable=too-many-instance
1817
2160
  self,
1818
2161
  *,
1819
2162
  id: str, # pylint: disable=redefined-builtin
2163
+ deleted: bool,
1820
2164
  customer_id: Optional[str] = None,
1821
2165
  customer_name: Optional[str] = None,
1822
2166
  part_number: Optional[str] = None,
@@ -1825,7 +2169,6 @@ class CncPartListDto(_serialization.Model): # pylint: disable=too-many-instance
1825
2169
  drawing: Optional[str] = None,
1826
2170
  drawing_revision: Optional[str] = None,
1827
2171
  material: Optional[str] = None,
1828
- deleted: Optional[bool] = None,
1829
2172
  description: Optional[str] = None,
1830
2173
  **kwargs: Any
1831
2174
  ) -> None:
@@ -1848,7 +2191,7 @@ class CncPartListDto(_serialization.Model): # pylint: disable=too-many-instance
1848
2191
  :paramtype drawing_revision: str
1849
2192
  :keyword material:
1850
2193
  :paramtype material: str
1851
- :keyword deleted:
2194
+ :keyword deleted: Required.
1852
2195
  :paramtype deleted: bool
1853
2196
  :keyword description:
1854
2197
  :paramtype description: str
@@ -2078,6 +2421,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2078
2421
  :vartype tool_suffix: str
2079
2422
  :ivar description:
2080
2423
  :vartype description: str
2424
+ :ivar holder_description:
2425
+ :vartype holder_description: str
2081
2426
  :ivar geometry:
2082
2427
  :vartype geometry: str
2083
2428
  :ivar size:
@@ -2088,6 +2433,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2088
2433
  :vartype grade: str
2089
2434
  :ivar radius:
2090
2435
  :vartype radius: float
2436
+ :ivar chamfer:
2437
+ :vartype chamfer: float
2091
2438
  :ivar width:
2092
2439
  :vartype width: float
2093
2440
  :ivar pitch:
@@ -2127,11 +2474,13 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2127
2474
  "tool_number": {"key": "toolNumber", "type": "str"},
2128
2475
  "tool_suffix": {"key": "toolSuffix", "type": "str"},
2129
2476
  "description": {"key": "description", "type": "str"},
2477
+ "holder_description": {"key": "holderDescription", "type": "str"},
2130
2478
  "geometry": {"key": "geometry", "type": "str"},
2131
2479
  "size": {"key": "size", "type": "str"},
2132
2480
  "diameter": {"key": "diameter", "type": "float"},
2133
2481
  "grade": {"key": "grade", "type": "str"},
2134
2482
  "radius": {"key": "radius", "type": "float"},
2483
+ "chamfer": {"key": "chamfer", "type": "float"},
2135
2484
  "width": {"key": "width", "type": "float"},
2136
2485
  "pitch": {"key": "pitch", "type": "str"},
2137
2486
  "length": {"key": "length", "type": "float"},
@@ -2144,7 +2493,7 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2144
2493
  "audit_info": {"key": "auditInfo", "type": "CncSetupAuditDto"},
2145
2494
  }
2146
2495
 
2147
- def __init__(
2496
+ def __init__( # pylint: disable=too-many-locals
2148
2497
  self,
2149
2498
  *,
2150
2499
  id: int, # pylint: disable=redefined-builtin
@@ -2155,11 +2504,13 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2155
2504
  tool_number: Optional[str] = None,
2156
2505
  tool_suffix: Optional[str] = None,
2157
2506
  description: Optional[str] = None,
2507
+ holder_description: Optional[str] = None,
2158
2508
  geometry: Optional[str] = None,
2159
2509
  size: Optional[str] = None,
2160
2510
  diameter: Optional[float] = None,
2161
2511
  grade: Optional[str] = None,
2162
2512
  radius: Optional[float] = None,
2513
+ chamfer: Optional[float] = None,
2163
2514
  width: Optional[float] = None,
2164
2515
  pitch: Optional[str] = None,
2165
2516
  length: Optional[float] = None,
@@ -2189,6 +2540,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2189
2540
  :paramtype tool_suffix: str
2190
2541
  :keyword description:
2191
2542
  :paramtype description: str
2543
+ :keyword holder_description:
2544
+ :paramtype holder_description: str
2192
2545
  :keyword geometry:
2193
2546
  :paramtype geometry: str
2194
2547
  :keyword size:
@@ -2199,6 +2552,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2199
2552
  :paramtype grade: str
2200
2553
  :keyword radius:
2201
2554
  :paramtype radius: float
2555
+ :keyword chamfer:
2556
+ :paramtype chamfer: float
2202
2557
  :keyword width:
2203
2558
  :paramtype width: float
2204
2559
  :keyword pitch:
@@ -2229,11 +2584,13 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2229
2584
  self.tool_number = tool_number
2230
2585
  self.tool_suffix = tool_suffix
2231
2586
  self.description = description
2587
+ self.holder_description = holder_description
2232
2588
  self.geometry = geometry
2233
2589
  self.size = size
2234
2590
  self.diameter = diameter
2235
2591
  self.grade = grade
2236
2592
  self.radius = radius
2593
+ self.chamfer = chamfer
2237
2594
  self.width = width
2238
2595
  self.pitch = pitch
2239
2596
  self.length = length
@@ -2257,6 +2614,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2257
2614
  :vartype name: str
2258
2615
  :ivar image_url:
2259
2616
  :vartype image_url: str
2617
+ :ivar tool_number_helper_text: Required.
2618
+ :vartype tool_number_helper_text: str
2619
+ :ivar suffix_helper_text: Required.
2620
+ :vartype suffix_helper_text: str
2260
2621
  :ivar geometry: Required.
2261
2622
  :vartype geometry: bool
2262
2623
  :ivar geometry_helper_text: Required.
@@ -2277,6 +2638,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2277
2638
  :vartype radius: bool
2278
2639
  :ivar radius_helper_text: Required.
2279
2640
  :vartype radius_helper_text: str
2641
+ :ivar chamfer: Required.
2642
+ :vartype chamfer: bool
2643
+ :ivar chamfer_helper_text: Required.
2644
+ :vartype chamfer_helper_text: str
2280
2645
  :ivar width: Required.
2281
2646
  :vartype width: bool
2282
2647
  :ivar width_helper_text: Required.
@@ -2309,11 +2674,17 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2309
2674
  :vartype usable_length: bool
2310
2675
  :ivar usable_length_helper_text: Required.
2311
2676
  :vartype usable_length_helper_text: str
2677
+ :ivar description_helper_text: Required.
2678
+ :vartype description_helper_text: str
2679
+ :ivar holder_description_helper_text: Required.
2680
+ :vartype holder_description_helper_text: str
2312
2681
  """
2313
2682
 
2314
2683
  _validation = {
2315
2684
  "id": {"required": True, "min_length": 1},
2316
2685
  "name": {"required": True, "min_length": 1},
2686
+ "tool_number_helper_text": {"required": True, "min_length": 1},
2687
+ "suffix_helper_text": {"required": True, "min_length": 1},
2317
2688
  "geometry": {"required": True},
2318
2689
  "geometry_helper_text": {"required": True, "min_length": 1},
2319
2690
  "size": {"required": True},
@@ -2324,6 +2695,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2324
2695
  "grade_helper_text": {"required": True, "min_length": 1},
2325
2696
  "radius": {"required": True},
2326
2697
  "radius_helper_text": {"required": True, "min_length": 1},
2698
+ "chamfer": {"required": True},
2699
+ "chamfer_helper_text": {"required": True, "min_length": 1},
2327
2700
  "width": {"required": True},
2328
2701
  "width_helper_text": {"required": True, "min_length": 1},
2329
2702
  "pitch": {"required": True},
@@ -2340,12 +2713,16 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2340
2713
  "apmx_helper_text": {"required": True, "min_length": 1},
2341
2714
  "usable_length": {"required": True},
2342
2715
  "usable_length_helper_text": {"required": True, "min_length": 1},
2716
+ "description_helper_text": {"required": True, "min_length": 1},
2717
+ "holder_description_helper_text": {"required": True, "min_length": 1},
2343
2718
  }
2344
2719
 
2345
2720
  _attribute_map = {
2346
2721
  "id": {"key": "id", "type": "str"},
2347
2722
  "name": {"key": "name", "type": "str"},
2348
2723
  "image_url": {"key": "imageUrl", "type": "str"},
2724
+ "tool_number_helper_text": {"key": "toolNumberHelperText", "type": "str"},
2725
+ "suffix_helper_text": {"key": "suffixHelperText", "type": "str"},
2349
2726
  "geometry": {"key": "geometry", "type": "bool"},
2350
2727
  "geometry_helper_text": {"key": "geometryHelperText", "type": "str"},
2351
2728
  "size": {"key": "size", "type": "bool"},
@@ -2356,6 +2733,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2356
2733
  "grade_helper_text": {"key": "gradeHelperText", "type": "str"},
2357
2734
  "radius": {"key": "radius", "type": "bool"},
2358
2735
  "radius_helper_text": {"key": "radiusHelperText", "type": "str"},
2736
+ "chamfer": {"key": "chamfer", "type": "bool"},
2737
+ "chamfer_helper_text": {"key": "chamferHelperText", "type": "str"},
2359
2738
  "width": {"key": "width", "type": "bool"},
2360
2739
  "width_helper_text": {"key": "widthHelperText", "type": "str"},
2361
2740
  "pitch": {"key": "pitch", "type": "bool"},
@@ -2372,6 +2751,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2372
2751
  "apmx_helper_text": {"key": "apmxHelperText", "type": "str"},
2373
2752
  "usable_length": {"key": "usableLength", "type": "bool"},
2374
2753
  "usable_length_helper_text": {"key": "usableLengthHelperText", "type": "str"},
2754
+ "description_helper_text": {"key": "descriptionHelperText", "type": "str"},
2755
+ "holder_description_helper_text": {"key": "holderDescriptionHelperText", "type": "str"},
2375
2756
  }
2376
2757
 
2377
2758
  def __init__( # pylint: disable=too-many-locals
@@ -2379,6 +2760,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2379
2760
  *,
2380
2761
  id: str, # pylint: disable=redefined-builtin
2381
2762
  name: str,
2763
+ tool_number_helper_text: str,
2764
+ suffix_helper_text: str,
2382
2765
  geometry: bool,
2383
2766
  geometry_helper_text: str,
2384
2767
  size: bool,
@@ -2389,6 +2772,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2389
2772
  grade_helper_text: str,
2390
2773
  radius: bool,
2391
2774
  radius_helper_text: str,
2775
+ chamfer: bool,
2776
+ chamfer_helper_text: str,
2392
2777
  width: bool,
2393
2778
  width_helper_text: str,
2394
2779
  pitch: bool,
@@ -2405,6 +2790,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2405
2790
  apmx_helper_text: str,
2406
2791
  usable_length: bool,
2407
2792
  usable_length_helper_text: str,
2793
+ description_helper_text: str,
2794
+ holder_description_helper_text: str,
2408
2795
  image_url: Optional[str] = None,
2409
2796
  **kwargs: Any
2410
2797
  ) -> None:
@@ -2415,6 +2802,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2415
2802
  :paramtype name: str
2416
2803
  :keyword image_url:
2417
2804
  :paramtype image_url: str
2805
+ :keyword tool_number_helper_text: Required.
2806
+ :paramtype tool_number_helper_text: str
2807
+ :keyword suffix_helper_text: Required.
2808
+ :paramtype suffix_helper_text: str
2418
2809
  :keyword geometry: Required.
2419
2810
  :paramtype geometry: bool
2420
2811
  :keyword geometry_helper_text: Required.
@@ -2435,6 +2826,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2435
2826
  :paramtype radius: bool
2436
2827
  :keyword radius_helper_text: Required.
2437
2828
  :paramtype radius_helper_text: str
2829
+ :keyword chamfer: Required.
2830
+ :paramtype chamfer: bool
2831
+ :keyword chamfer_helper_text: Required.
2832
+ :paramtype chamfer_helper_text: str
2438
2833
  :keyword width: Required.
2439
2834
  :paramtype width: bool
2440
2835
  :keyword width_helper_text: Required.
@@ -2467,11 +2862,17 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2467
2862
  :paramtype usable_length: bool
2468
2863
  :keyword usable_length_helper_text: Required.
2469
2864
  :paramtype usable_length_helper_text: str
2865
+ :keyword description_helper_text: Required.
2866
+ :paramtype description_helper_text: str
2867
+ :keyword holder_description_helper_text: Required.
2868
+ :paramtype holder_description_helper_text: str
2470
2869
  """
2471
2870
  super().__init__(**kwargs)
2472
2871
  self.id = id
2473
2872
  self.name = name
2474
2873
  self.image_url = image_url
2874
+ self.tool_number_helper_text = tool_number_helper_text
2875
+ self.suffix_helper_text = suffix_helper_text
2475
2876
  self.geometry = geometry
2476
2877
  self.geometry_helper_text = geometry_helper_text
2477
2878
  self.size = size
@@ -2482,6 +2883,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2482
2883
  self.grade_helper_text = grade_helper_text
2483
2884
  self.radius = radius
2484
2885
  self.radius_helper_text = radius_helper_text
2886
+ self.chamfer = chamfer
2887
+ self.chamfer_helper_text = chamfer_helper_text
2485
2888
  self.width = width
2486
2889
  self.width_helper_text = width_helper_text
2487
2890
  self.pitch = pitch
@@ -2498,6 +2901,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2498
2901
  self.apmx_helper_text = apmx_helper_text
2499
2902
  self.usable_length = usable_length
2500
2903
  self.usable_length_helper_text = usable_length_helper_text
2904
+ self.description_helper_text = description_helper_text
2905
+ self.holder_description_helper_text = holder_description_helper_text
2501
2906
 
2502
2907
 
2503
2908
  class CncToolTypeDto(_serialization.Model):
@@ -2999,6 +3404,48 @@ class CopyCncPart(_serialization.Model):
2999
3404
  self.description = description
3000
3405
 
3001
3406
 
3407
+ class CopyToolsCncMachine(_serialization.Model):
3408
+ """CopyToolsCncMachine.
3409
+
3410
+ All required parameters must be populated in order to send to server.
3411
+
3412
+ :ivar source_machine_id: Required.
3413
+ :vartype source_machine_id: str
3414
+ :ivar target_operation_id: Required.
3415
+ :vartype target_operation_id: str
3416
+ :ivar tools_ids: Required.
3417
+ :vartype tools_ids: list[int]
3418
+ """
3419
+
3420
+ _validation = {
3421
+ "source_machine_id": {"required": True, "min_length": 1},
3422
+ "target_operation_id": {"required": True, "min_length": 1},
3423
+ "tools_ids": {"required": True},
3424
+ }
3425
+
3426
+ _attribute_map = {
3427
+ "source_machine_id": {"key": "sourceMachineId", "type": "str"},
3428
+ "target_operation_id": {"key": "targetOperationId", "type": "str"},
3429
+ "tools_ids": {"key": "toolsIds", "type": "[int]"},
3430
+ }
3431
+
3432
+ def __init__(
3433
+ self, *, source_machine_id: str, target_operation_id: str, tools_ids: List[int], **kwargs: Any
3434
+ ) -> None:
3435
+ """
3436
+ :keyword source_machine_id: Required.
3437
+ :paramtype source_machine_id: str
3438
+ :keyword target_operation_id: Required.
3439
+ :paramtype target_operation_id: str
3440
+ :keyword tools_ids: Required.
3441
+ :paramtype tools_ids: list[int]
3442
+ """
3443
+ super().__init__(**kwargs)
3444
+ self.source_machine_id = source_machine_id
3445
+ self.target_operation_id = target_operation_id
3446
+ self.tools_ids = tools_ids
3447
+
3448
+
3002
3449
  class CountryDto(_serialization.Model):
3003
3450
  """CountryDto.
3004
3451
 
@@ -3253,6 +3700,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3253
3700
  :vartype tool_suffix: str
3254
3701
  :ivar description:
3255
3702
  :vartype description: str
3703
+ :ivar holder_description:
3704
+ :vartype holder_description: str
3256
3705
  :ivar geometry:
3257
3706
  :vartype geometry: str
3258
3707
  :ivar size:
@@ -3263,6 +3712,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3263
3712
  :vartype grade: str
3264
3713
  :ivar radius:
3265
3714
  :vartype radius: float
3715
+ :ivar chamfer:
3716
+ :vartype chamfer: float
3266
3717
  :ivar width:
3267
3718
  :vartype width: float
3268
3719
  :ivar pitch:
@@ -3292,11 +3743,13 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3292
3743
  "tool_number": {"key": "toolNumber", "type": "str"},
3293
3744
  "tool_suffix": {"key": "toolSuffix", "type": "str"},
3294
3745
  "description": {"key": "description", "type": "str"},
3746
+ "holder_description": {"key": "holderDescription", "type": "str"},
3295
3747
  "geometry": {"key": "geometry", "type": "str"},
3296
3748
  "size": {"key": "size", "type": "str"},
3297
3749
  "diameter": {"key": "diameter", "type": "float"},
3298
3750
  "grade": {"key": "grade", "type": "str"},
3299
3751
  "radius": {"key": "radius", "type": "float"},
3752
+ "chamfer": {"key": "chamfer", "type": "float"},
3300
3753
  "width": {"key": "width", "type": "float"},
3301
3754
  "pitch": {"key": "pitch", "type": "str"},
3302
3755
  "length": {"key": "length", "type": "float"},
@@ -3315,11 +3768,13 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3315
3768
  tool_number: Optional[str] = None,
3316
3769
  tool_suffix: Optional[str] = None,
3317
3770
  description: Optional[str] = None,
3771
+ holder_description: Optional[str] = None,
3318
3772
  geometry: Optional[str] = None,
3319
3773
  size: Optional[str] = None,
3320
3774
  diameter: Optional[float] = None,
3321
3775
  grade: Optional[str] = None,
3322
3776
  radius: Optional[float] = None,
3777
+ chamfer: Optional[float] = None,
3323
3778
  width: Optional[float] = None,
3324
3779
  pitch: Optional[str] = None,
3325
3780
  length: Optional[float] = None,
@@ -3341,6 +3796,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3341
3796
  :paramtype tool_suffix: str
3342
3797
  :keyword description:
3343
3798
  :paramtype description: str
3799
+ :keyword holder_description:
3800
+ :paramtype holder_description: str
3344
3801
  :keyword geometry:
3345
3802
  :paramtype geometry: str
3346
3803
  :keyword size:
@@ -3351,6 +3808,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3351
3808
  :paramtype grade: str
3352
3809
  :keyword radius:
3353
3810
  :paramtype radius: float
3811
+ :keyword chamfer:
3812
+ :paramtype chamfer: float
3354
3813
  :keyword width:
3355
3814
  :paramtype width: float
3356
3815
  :keyword pitch:
@@ -3374,11 +3833,13 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3374
3833
  self.tool_number = tool_number
3375
3834
  self.tool_suffix = tool_suffix
3376
3835
  self.description = description
3836
+ self.holder_description = holder_description
3377
3837
  self.geometry = geometry
3378
3838
  self.size = size
3379
3839
  self.diameter = diameter
3380
3840
  self.grade = grade
3381
3841
  self.radius = radius
3842
+ self.chamfer = chamfer
3382
3843
  self.width = width
3383
3844
  self.pitch = pitch
3384
3845
  self.length = length
@@ -3885,29 +4346,125 @@ class CreateMachineGroupResponse(_serialization.Model):
3885
4346
  self.id = id
3886
4347
 
3887
4348
 
3888
- class CreateMeasurementFormMapping(_serialization.Model):
3889
- """CreateMeasurementFormMapping.
4349
+ class CreateMachineWithoutResource(_serialization.Model):
4350
+ """CreateMachineWithoutResource.
3890
4351
 
3891
4352
  All required parameters must be populated in order to send to server.
3892
4353
 
3893
- :ivar source_id: Required.
3894
- :vartype source_id: str
3895
- :ivar target_id: Required.
3896
- :vartype target_id: str
4354
+ :ivar id: Required.
4355
+ :vartype id: str
4356
+ :ivar name: Required.
4357
+ :vartype name: str
4358
+ :ivar description:
4359
+ :vartype description: str
4360
+ :ivar type: Required.
4361
+ :vartype type: str
4362
+ :ivar display_name:
4363
+ :vartype display_name: str
4364
+ :ivar manufacturer:
4365
+ :vartype manufacturer: str
4366
+ :ivar location:
4367
+ :vartype location: str
4368
+ :ivar serial_number:
4369
+ :vartype serial_number: str
4370
+ :ivar year:
4371
+ :vartype year: str
4372
+ :ivar model:
4373
+ :vartype model: str
3897
4374
  """
3898
4375
 
3899
4376
  _validation = {
3900
- "source_id": {"required": True, "min_length": 1},
3901
- "target_id": {"required": True, "min_length": 1},
4377
+ "id": {"required": True, "min_length": 1},
4378
+ "name": {"required": True, "min_length": 1},
4379
+ "type": {"required": True, "min_length": 1},
3902
4380
  }
3903
4381
 
3904
4382
  _attribute_map = {
3905
- "source_id": {"key": "sourceId", "type": "str"},
3906
- "target_id": {"key": "targetId", "type": "str"},
3907
- }
3908
-
3909
- def __init__(self, *, source_id: str, target_id: str, **kwargs: Any) -> None:
3910
- """
4383
+ "id": {"key": "id", "type": "str"},
4384
+ "name": {"key": "name", "type": "str"},
4385
+ "description": {"key": "description", "type": "str"},
4386
+ "type": {"key": "type", "type": "str"},
4387
+ "display_name": {"key": "displayName", "type": "str"},
4388
+ "manufacturer": {"key": "manufacturer", "type": "str"},
4389
+ "location": {"key": "location", "type": "str"},
4390
+ "serial_number": {"key": "serialNumber", "type": "str"},
4391
+ "year": {"key": "year", "type": "str"},
4392
+ "model": {"key": "model", "type": "str"},
4393
+ }
4394
+
4395
+ def __init__(
4396
+ self,
4397
+ *,
4398
+ id: str, # pylint: disable=redefined-builtin
4399
+ name: str,
4400
+ type: str,
4401
+ description: Optional[str] = None,
4402
+ display_name: Optional[str] = None,
4403
+ manufacturer: Optional[str] = None,
4404
+ location: Optional[str] = None,
4405
+ serial_number: Optional[str] = None,
4406
+ year: Optional[str] = None,
4407
+ model: Optional[str] = None,
4408
+ **kwargs: Any
4409
+ ) -> None:
4410
+ """
4411
+ :keyword id: Required.
4412
+ :paramtype id: str
4413
+ :keyword name: Required.
4414
+ :paramtype name: str
4415
+ :keyword description:
4416
+ :paramtype description: str
4417
+ :keyword type: Required.
4418
+ :paramtype type: str
4419
+ :keyword display_name:
4420
+ :paramtype display_name: str
4421
+ :keyword manufacturer:
4422
+ :paramtype manufacturer: str
4423
+ :keyword location:
4424
+ :paramtype location: str
4425
+ :keyword serial_number:
4426
+ :paramtype serial_number: str
4427
+ :keyword year:
4428
+ :paramtype year: str
4429
+ :keyword model:
4430
+ :paramtype model: str
4431
+ """
4432
+ super().__init__(**kwargs)
4433
+ self.id = id
4434
+ self.name = name
4435
+ self.description = description
4436
+ self.type = type
4437
+ self.display_name = display_name
4438
+ self.manufacturer = manufacturer
4439
+ self.location = location
4440
+ self.serial_number = serial_number
4441
+ self.year = year
4442
+ self.model = model
4443
+
4444
+
4445
+ class CreateMeasurementFormMapping(_serialization.Model):
4446
+ """CreateMeasurementFormMapping.
4447
+
4448
+ All required parameters must be populated in order to send to server.
4449
+
4450
+ :ivar source_id: Required.
4451
+ :vartype source_id: str
4452
+ :ivar target_id: Required.
4453
+ :vartype target_id: str
4454
+ """
4455
+
4456
+ _validation = {
4457
+ "source_id": {"required": True, "min_length": 1},
4458
+ "target_id": {"required": True, "min_length": 1},
4459
+ }
4460
+
4461
+ _attribute_map = {
4462
+ "source_id": {"key": "sourceId", "type": "str"},
4463
+ "target_id": {"key": "targetId", "type": "str"},
4464
+ }
4465
+
4466
+ def __init__(self, *, source_id: str, target_id: str, **kwargs: Any) -> None:
4467
+ """
3911
4468
  :keyword source_id: Required.
3912
4469
  :paramtype source_id: str
3913
4470
  :keyword target_id: Required.
@@ -4103,6 +4660,8 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4103
4660
  :vartype upload_key: str
4104
4661
  :ivar filename:
4105
4662
  :vartype filename: str
4663
+ :ivar initial_calibration_date:
4664
+ :vartype initial_calibration_date: ~datetime.datetime
4106
4665
  """
4107
4666
 
4108
4667
  _validation = {
@@ -4128,6 +4687,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4128
4687
  "precision": {"key": "precision", "type": "str"},
4129
4688
  "upload_key": {"key": "uploadKey", "type": "str"},
4130
4689
  "filename": {"key": "filename", "type": "str"},
4690
+ "initial_calibration_date": {"key": "initialCalibrationDate", "type": "iso-8601"},
4131
4691
  }
4132
4692
 
4133
4693
  def __init__(
@@ -4148,6 +4708,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4148
4708
  precision: Optional[str] = None,
4149
4709
  upload_key: Optional[str] = None,
4150
4710
  filename: Optional[str] = None,
4711
+ initial_calibration_date: Optional[datetime.datetime] = None,
4151
4712
  **kwargs: Any
4152
4713
  ) -> None:
4153
4714
  """
@@ -4181,6 +4742,8 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4181
4742
  :paramtype upload_key: str
4182
4743
  :keyword filename:
4183
4744
  :paramtype filename: str
4745
+ :keyword initial_calibration_date:
4746
+ :paramtype initial_calibration_date: ~datetime.datetime
4184
4747
  """
4185
4748
  super().__init__(**kwargs)
4186
4749
  self.tool_id = tool_id
@@ -4198,6 +4761,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4198
4761
  self.precision = precision
4199
4762
  self.upload_key = upload_key
4200
4763
  self.filename = filename
4764
+ self.initial_calibration_date = initial_calibration_date
4201
4765
 
4202
4766
 
4203
4767
  class CreateMeasuringToolSubTypeRequest(_serialization.Model):
@@ -4486,6 +5050,186 @@ class CreateMrbTemplateRequest(_serialization.Model):
4486
5050
  self.pdf_filename = pdf_filename
4487
5051
 
4488
5052
 
5053
+ class CreateResourceWithMachine(_serialization.Model): # pylint: disable=too-many-instance-attributes
5054
+ """CreateResourceWithMachine.
5055
+
5056
+ All required parameters must be populated in order to send to server.
5057
+
5058
+ :ivar resource_id: Required.
5059
+ :vartype resource_id: str
5060
+ :ivar resource_name: Required.
5061
+ :vartype resource_name: str
5062
+ :ivar resource_description:
5063
+ :vartype resource_description: str
5064
+ :ivar display_name:
5065
+ :vartype display_name: str
5066
+ :ivar machine_id: Required.
5067
+ :vartype machine_id: str
5068
+ :ivar machine_name: Required.
5069
+ :vartype machine_name: str
5070
+ :ivar machine_description:
5071
+ :vartype machine_description: str
5072
+ :ivar machine_type: Required.
5073
+ :vartype machine_type: str
5074
+ :ivar manufacturer:
5075
+ :vartype manufacturer: str
5076
+ :ivar location:
5077
+ :vartype location: str
5078
+ :ivar serial_number:
5079
+ :vartype serial_number: str
5080
+ :ivar year:
5081
+ :vartype year: str
5082
+ :ivar model:
5083
+ :vartype model: str
5084
+ """
5085
+
5086
+ _validation = {
5087
+ "resource_id": {"required": True, "min_length": 1},
5088
+ "resource_name": {"required": True, "min_length": 1},
5089
+ "machine_id": {"required": True, "min_length": 1},
5090
+ "machine_name": {"required": True, "min_length": 1},
5091
+ "machine_type": {"required": True, "min_length": 1},
5092
+ }
5093
+
5094
+ _attribute_map = {
5095
+ "resource_id": {"key": "resourceId", "type": "str"},
5096
+ "resource_name": {"key": "resourceName", "type": "str"},
5097
+ "resource_description": {"key": "resourceDescription", "type": "str"},
5098
+ "display_name": {"key": "displayName", "type": "str"},
5099
+ "machine_id": {"key": "machineId", "type": "str"},
5100
+ "machine_name": {"key": "machineName", "type": "str"},
5101
+ "machine_description": {"key": "machineDescription", "type": "str"},
5102
+ "machine_type": {"key": "machineType", "type": "str"},
5103
+ "manufacturer": {"key": "manufacturer", "type": "str"},
5104
+ "location": {"key": "location", "type": "str"},
5105
+ "serial_number": {"key": "serialNumber", "type": "str"},
5106
+ "year": {"key": "year", "type": "str"},
5107
+ "model": {"key": "model", "type": "str"},
5108
+ }
5109
+
5110
+ def __init__(
5111
+ self,
5112
+ *,
5113
+ resource_id: str,
5114
+ resource_name: str,
5115
+ machine_id: str,
5116
+ machine_name: str,
5117
+ machine_type: str,
5118
+ resource_description: Optional[str] = None,
5119
+ display_name: Optional[str] = None,
5120
+ machine_description: Optional[str] = None,
5121
+ manufacturer: Optional[str] = None,
5122
+ location: Optional[str] = None,
5123
+ serial_number: Optional[str] = None,
5124
+ year: Optional[str] = None,
5125
+ model: Optional[str] = None,
5126
+ **kwargs: Any
5127
+ ) -> None:
5128
+ """
5129
+ :keyword resource_id: Required.
5130
+ :paramtype resource_id: str
5131
+ :keyword resource_name: Required.
5132
+ :paramtype resource_name: str
5133
+ :keyword resource_description:
5134
+ :paramtype resource_description: str
5135
+ :keyword display_name:
5136
+ :paramtype display_name: str
5137
+ :keyword machine_id: Required.
5138
+ :paramtype machine_id: str
5139
+ :keyword machine_name: Required.
5140
+ :paramtype machine_name: str
5141
+ :keyword machine_description:
5142
+ :paramtype machine_description: str
5143
+ :keyword machine_type: Required.
5144
+ :paramtype machine_type: str
5145
+ :keyword manufacturer:
5146
+ :paramtype manufacturer: str
5147
+ :keyword location:
5148
+ :paramtype location: str
5149
+ :keyword serial_number:
5150
+ :paramtype serial_number: str
5151
+ :keyword year:
5152
+ :paramtype year: str
5153
+ :keyword model:
5154
+ :paramtype model: str
5155
+ """
5156
+ super().__init__(**kwargs)
5157
+ self.resource_id = resource_id
5158
+ self.resource_name = resource_name
5159
+ self.resource_description = resource_description
5160
+ self.display_name = display_name
5161
+ self.machine_id = machine_id
5162
+ self.machine_name = machine_name
5163
+ self.machine_description = machine_description
5164
+ self.machine_type = machine_type
5165
+ self.manufacturer = manufacturer
5166
+ self.location = location
5167
+ self.serial_number = serial_number
5168
+ self.year = year
5169
+ self.model = model
5170
+
5171
+
5172
+ class CreateResourceWithoutMachine(_serialization.Model):
5173
+ """CreateResourceWithoutMachine.
5174
+
5175
+ All required parameters must be populated in order to send to server.
5176
+
5177
+ :ivar id: Required.
5178
+ :vartype id: str
5179
+ :ivar name: Required.
5180
+ :vartype name: str
5181
+ :ivar type: Required.
5182
+ :vartype type: str
5183
+ :ivar description:
5184
+ :vartype description: str
5185
+ :ivar display_name:
5186
+ :vartype display_name: str
5187
+ """
5188
+
5189
+ _validation = {
5190
+ "id": {"required": True, "min_length": 1},
5191
+ "name": {"required": True, "min_length": 1},
5192
+ "type": {"required": True, "min_length": 1},
5193
+ }
5194
+
5195
+ _attribute_map = {
5196
+ "id": {"key": "id", "type": "str"},
5197
+ "name": {"key": "name", "type": "str"},
5198
+ "type": {"key": "type", "type": "str"},
5199
+ "description": {"key": "description", "type": "str"},
5200
+ "display_name": {"key": "displayName", "type": "str"},
5201
+ }
5202
+
5203
+ def __init__(
5204
+ self,
5205
+ *,
5206
+ id: str, # pylint: disable=redefined-builtin
5207
+ name: str,
5208
+ type: str,
5209
+ description: Optional[str] = None,
5210
+ display_name: Optional[str] = None,
5211
+ **kwargs: Any
5212
+ ) -> None:
5213
+ """
5214
+ :keyword id: Required.
5215
+ :paramtype id: str
5216
+ :keyword name: Required.
5217
+ :paramtype name: str
5218
+ :keyword type: Required.
5219
+ :paramtype type: str
5220
+ :keyword description:
5221
+ :paramtype description: str
5222
+ :keyword display_name:
5223
+ :paramtype display_name: str
5224
+ """
5225
+ super().__init__(**kwargs)
5226
+ self.id = id
5227
+ self.name = name
5228
+ self.type = type
5229
+ self.description = description
5230
+ self.display_name = display_name
5231
+
5232
+
4489
5233
  class CreateSchemaElement(_serialization.Model): # pylint: disable=too-many-instance-attributes
4490
5234
  """CreateSchemaElement.
4491
5235
 
@@ -4948,38 +5692,102 @@ class CurrentWorkActivityDto(_serialization.Model):
4948
5692
 
4949
5693
  All required parameters must be populated in order to send to server.
4950
5694
 
4951
- :ivar work_activity: Required.
4952
- :vartype work_activity: ~ignos.api.client.models.WorkActivityDto
4953
- :ivar operation: Required.
4954
- :vartype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
5695
+ :ivar active_work: Required.
5696
+ :vartype active_work: list[~ignos.api.client.models.ActiveWorkDto]
5697
+ :ivar stopped_work: Required.
5698
+ :vartype stopped_work: list[~ignos.api.client.models.StoppedWorkDto]
4955
5699
  """
4956
5700
 
4957
5701
  _validation = {
4958
- "work_activity": {"required": True},
4959
- "operation": {"required": True},
5702
+ "active_work": {"required": True},
5703
+ "stopped_work": {"required": True},
4960
5704
  }
4961
5705
 
4962
5706
  _attribute_map = {
4963
- "work_activity": {"key": "workActivity", "type": "WorkActivityDto"},
4964
- "operation": {"key": "operation", "type": "ProductionScheduleOperationDto"},
5707
+ "active_work": {"key": "activeWork", "type": "[ActiveWorkDto]"},
5708
+ "stopped_work": {"key": "stoppedWork", "type": "[StoppedWorkDto]"},
4965
5709
  }
4966
5710
 
4967
5711
  def __init__(
4968
- self,
4969
- *,
4970
- work_activity: "_models.WorkActivityDto",
4971
- operation: "_models.ProductionScheduleOperationDto",
4972
- **kwargs: Any
5712
+ self, *, active_work: List["_models.ActiveWorkDto"], stopped_work: List["_models.StoppedWorkDto"], **kwargs: Any
4973
5713
  ) -> None:
4974
5714
  """
4975
- :keyword work_activity: Required.
4976
- :paramtype work_activity: ~ignos.api.client.models.WorkActivityDto
4977
- :keyword operation: Required.
4978
- :paramtype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
5715
+ :keyword active_work: Required.
5716
+ :paramtype active_work: list[~ignos.api.client.models.ActiveWorkDto]
5717
+ :keyword stopped_work: Required.
5718
+ :paramtype stopped_work: list[~ignos.api.client.models.StoppedWorkDto]
4979
5719
  """
4980
5720
  super().__init__(**kwargs)
4981
- self.work_activity = work_activity
4982
- self.operation = operation
5721
+ self.active_work = active_work
5722
+ self.stopped_work = stopped_work
5723
+
5724
+
5725
+ class CurrentWorkDto(_serialization.Model):
5726
+ """CurrentWorkDto.
5727
+
5728
+ Variables are only populated by the server, and will be ignored when sending a request.
5729
+
5730
+ All required parameters must be populated in order to send to server.
5731
+
5732
+ :ivar resource_id: Required.
5733
+ :vartype resource_id: str
5734
+ :ivar upn:
5735
+ :vartype upn: str
5736
+ :ivar personnel_number: Required.
5737
+ :vartype personnel_number: str
5738
+ :ivar active: Required.
5739
+ :vartype active: bool
5740
+ :ivar start_time: Required.
5741
+ :vartype start_time: ~datetime.datetime
5742
+ :ivar end_time:
5743
+ :vartype end_time: ~datetime.datetime
5744
+ :ivar user:
5745
+ :vartype user: ~ignos.api.client.models.UserDto
5746
+ :ivar started_quantity:
5747
+ :vartype started_quantity: int
5748
+ :ivar work_type: Required. Known values are: "None", "Production", and "Setup".
5749
+ :vartype work_type: str or ~ignos.api.client.models.WorkTypeDto
5750
+ """
5751
+
5752
+ _validation = {
5753
+ "resource_id": {"required": True, "min_length": 1},
5754
+ "upn": {"readonly": True},
5755
+ "personnel_number": {"required": True, "readonly": True, "min_length": 1},
5756
+ "active": {"required": True, "readonly": True},
5757
+ "start_time": {"required": True, "readonly": True},
5758
+ "end_time": {"readonly": True},
5759
+ "user": {"readonly": True},
5760
+ "started_quantity": {"readonly": True},
5761
+ "work_type": {"required": True, "readonly": True},
5762
+ }
5763
+
5764
+ _attribute_map = {
5765
+ "resource_id": {"key": "resourceId", "type": "str"},
5766
+ "upn": {"key": "upn", "type": "str"},
5767
+ "personnel_number": {"key": "personnelNumber", "type": "str"},
5768
+ "active": {"key": "active", "type": "bool"},
5769
+ "start_time": {"key": "startTime", "type": "iso-8601"},
5770
+ "end_time": {"key": "endTime", "type": "iso-8601"},
5771
+ "user": {"key": "user", "type": "UserDto"},
5772
+ "started_quantity": {"key": "startedQuantity", "type": "int"},
5773
+ "work_type": {"key": "workType", "type": "str"},
5774
+ }
5775
+
5776
+ def __init__(self, *, resource_id: str, **kwargs: Any) -> None:
5777
+ """
5778
+ :keyword resource_id: Required.
5779
+ :paramtype resource_id: str
5780
+ """
5781
+ super().__init__(**kwargs)
5782
+ self.resource_id = resource_id
5783
+ self.upn = None
5784
+ self.personnel_number = None
5785
+ self.active = None
5786
+ self.start_time = None
5787
+ self.end_time = None
5788
+ self.user = None
5789
+ self.started_quantity = None
5790
+ self.work_type = None
4983
5791
 
4984
5792
 
4985
5793
  class CustomerDto(_serialization.Model):
@@ -5453,6 +6261,9 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5453
6261
  :vartype trace_type: str or ~ignos.api.client.models.TraceType
5454
6262
  :ivar trace_exists: Required.
5455
6263
  :vartype trace_exists: bool
6264
+ :ivar trace_status: Required. Known values are: "None", "Unavailable", "NotNeeded", "Partial",
6265
+ and "Completed".
6266
+ :vartype trace_status: str or ~ignos.api.client.models.TraceStatus
5456
6267
  :ivar work_orders:
5457
6268
  :vartype work_orders:
5458
6269
  list[~ignos.api.client.models.CustomerOrderLineWorkOrderTraceStatusNodeDto]
@@ -5463,6 +6274,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5463
6274
  "part": {"required": True},
5464
6275
  "trace_type": {"required": True},
5465
6276
  "trace_exists": {"required": True},
6277
+ "trace_status": {"required": True},
5466
6278
  }
5467
6279
 
5468
6280
  _attribute_map = {
@@ -5470,6 +6282,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5470
6282
  "part": {"key": "part", "type": "PartDto"},
5471
6283
  "trace_type": {"key": "traceType", "type": "str"},
5472
6284
  "trace_exists": {"key": "traceExists", "type": "bool"},
6285
+ "trace_status": {"key": "traceStatus", "type": "str"},
5473
6286
  "work_orders": {"key": "workOrders", "type": "[CustomerOrderLineWorkOrderTraceStatusNodeDto]"},
5474
6287
  }
5475
6288
 
@@ -5480,6 +6293,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5480
6293
  part: "_models.PartDto",
5481
6294
  trace_type: Union[str, "_models.TraceType"],
5482
6295
  trace_exists: bool,
6296
+ trace_status: Union[str, "_models.TraceStatus"],
5483
6297
  work_orders: Optional[List["_models.CustomerOrderLineWorkOrderTraceStatusNodeDto"]] = None,
5484
6298
  **kwargs: Any
5485
6299
  ) -> None:
@@ -5492,6 +6306,9 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5492
6306
  :paramtype trace_type: str or ~ignos.api.client.models.TraceType
5493
6307
  :keyword trace_exists: Required.
5494
6308
  :paramtype trace_exists: bool
6309
+ :keyword trace_status: Required. Known values are: "None", "Unavailable", "NotNeeded",
6310
+ "Partial", and "Completed".
6311
+ :paramtype trace_status: str or ~ignos.api.client.models.TraceStatus
5495
6312
  :keyword work_orders:
5496
6313
  :paramtype work_orders:
5497
6314
  list[~ignos.api.client.models.CustomerOrderLineWorkOrderTraceStatusNodeDto]
@@ -5501,6 +6318,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5501
6318
  self.part = part
5502
6319
  self.trace_type = trace_type
5503
6320
  self.trace_exists = trace_exists
6321
+ self.trace_status = trace_status
5504
6322
  self.work_orders = work_orders
5505
6323
 
5506
6324
 
@@ -5602,6 +6420,39 @@ class DeletePartDrawingRequest(_serialization.Model):
5602
6420
  self.filename = filename
5603
6421
 
5604
6422
 
6423
+ class DepartmentDto(_serialization.Model):
6424
+ """DepartmentDto.
6425
+
6426
+ All required parameters must be populated in order to send to server.
6427
+
6428
+ :ivar number: Required.
6429
+ :vartype number: str
6430
+ :ivar name: Required.
6431
+ :vartype name: str
6432
+ """
6433
+
6434
+ _validation = {
6435
+ "number": {"required": True, "min_length": 1},
6436
+ "name": {"required": True, "min_length": 1},
6437
+ }
6438
+
6439
+ _attribute_map = {
6440
+ "number": {"key": "number", "type": "str"},
6441
+ "name": {"key": "name", "type": "str"},
6442
+ }
6443
+
6444
+ def __init__(self, *, number: str, name: str, **kwargs: Any) -> None:
6445
+ """
6446
+ :keyword number: Required.
6447
+ :paramtype number: str
6448
+ :keyword name: Required.
6449
+ :paramtype name: str
6450
+ """
6451
+ super().__init__(**kwargs)
6452
+ self.number = number
6453
+ self.name = name
6454
+
6455
+
5605
6456
  class DeprecateToolRequest(_serialization.Model):
5606
6457
  """DeprecateToolRequest.
5607
6458
 
@@ -5948,7 +6799,7 @@ class DocumentTypeRuleDto(_serialization.Model):
5948
6799
  :vartype requirement: str or ~ignos.api.client.models.DocumentMetadataRequirement
5949
6800
  :ivar mutability: Known values are: "Immutable", "Appendable", and "Mutable".
5950
6801
  :vartype mutability: str or ~ignos.api.client.models.Mutability
5951
- :ivar rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and "LotNumbers".
6802
+ :ivar rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
5952
6803
  :vartype rule_type: str or ~ignos.api.client.models.DocumentRuleType
5953
6804
  """
5954
6805
 
@@ -5975,8 +6826,7 @@ class DocumentTypeRuleDto(_serialization.Model):
5975
6826
  :paramtype requirement: str or ~ignos.api.client.models.DocumentMetadataRequirement
5976
6827
  :keyword mutability: Known values are: "Immutable", "Appendable", and "Mutable".
5977
6828
  :paramtype mutability: str or ~ignos.api.client.models.Mutability
5978
- :keyword rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and
5979
- "LotNumbers".
6829
+ :keyword rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
5980
6830
  :paramtype rule_type: str or ~ignos.api.client.models.DocumentRuleType
5981
6831
  """
5982
6832
  super().__init__(**kwargs)
@@ -5991,7 +6841,7 @@ class DocumentTypeRuleTypeDto(_serialization.Model):
5991
6841
 
5992
6842
  :ivar tag:
5993
6843
  :vartype tag: str
5994
- :ivar rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and "LotNumbers".
6844
+ :ivar rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
5995
6845
  :vartype rule_type: str or ~ignos.api.client.models.DocumentRuleType
5996
6846
  :ivar description:
5997
6847
  :vartype description: str
@@ -6014,8 +6864,7 @@ class DocumentTypeRuleTypeDto(_serialization.Model):
6014
6864
  """
6015
6865
  :keyword tag:
6016
6866
  :paramtype tag: str
6017
- :keyword rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and
6018
- "LotNumbers".
6867
+ :keyword rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
6019
6868
  :paramtype rule_type: str or ~ignos.api.client.models.DocumentRuleType
6020
6869
  :keyword description:
6021
6870
  :paramtype description: str
@@ -6122,8 +6971,8 @@ class DrawingFileDto(_serialization.Model):
6122
6971
  :vartype id: int
6123
6972
  :ivar name: Required.
6124
6973
  :vartype name: str
6125
- :ivar title:
6126
- :vartype title: str
6974
+ :ivar comment:
6975
+ :vartype comment: str
6127
6976
  """
6128
6977
 
6129
6978
  _validation = {
@@ -6134,24 +6983,24 @@ class DrawingFileDto(_serialization.Model):
6134
6983
  _attribute_map = {
6135
6984
  "id": {"key": "id", "type": "int"},
6136
6985
  "name": {"key": "name", "type": "str"},
6137
- "title": {"key": "title", "type": "str"},
6986
+ "comment": {"key": "comment", "type": "str"},
6138
6987
  }
6139
6988
 
6140
6989
  def __init__(
6141
- self, *, id: int, name: str, title: Optional[str] = None, **kwargs: Any # pylint: disable=redefined-builtin
6990
+ self, *, id: int, name: str, comment: Optional[str] = None, **kwargs: Any # pylint: disable=redefined-builtin
6142
6991
  ) -> None:
6143
6992
  """
6144
6993
  :keyword id: Required.
6145
6994
  :paramtype id: int
6146
6995
  :keyword name: Required.
6147
6996
  :paramtype name: str
6148
- :keyword title:
6149
- :paramtype title: str
6997
+ :keyword comment:
6998
+ :paramtype comment: str
6150
6999
  """
6151
7000
  super().__init__(**kwargs)
6152
7001
  self.id = id
6153
7002
  self.name = name
6154
- self.title = title
7003
+ self.comment = comment
6155
7004
 
6156
7005
 
6157
7006
  class ElectricalIotConfigDto(_serialization.Model):
@@ -6537,6 +7386,32 @@ class FileDto(_serialization.Model):
6537
7386
  self.file_size = file_size
6538
7387
 
6539
7388
 
7389
+ class FilterValueWithQuantity(_serialization.Model):
7390
+ """FilterValueWithQuantity.
7391
+
7392
+ :ivar value:
7393
+ :vartype value: str
7394
+ :ivar quantity:
7395
+ :vartype quantity: int
7396
+ """
7397
+
7398
+ _attribute_map = {
7399
+ "value": {"key": "value", "type": "str"},
7400
+ "quantity": {"key": "quantity", "type": "int"},
7401
+ }
7402
+
7403
+ def __init__(self, *, value: Optional[str] = None, quantity: Optional[int] = None, **kwargs: Any) -> None:
7404
+ """
7405
+ :keyword value:
7406
+ :paramtype value: str
7407
+ :keyword quantity:
7408
+ :paramtype quantity: int
7409
+ """
7410
+ super().__init__(**kwargs)
7411
+ self.value = value
7412
+ self.quantity = quantity
7413
+
7414
+
6540
7415
  class FilterWorkorderOperationEvents(_serialization.Model): # pylint: disable=too-many-instance-attributes
6541
7416
  """FilterWorkorderOperationEvents.
6542
7417
 
@@ -6688,6 +7563,152 @@ class FilterWorkorderOperationEvents(_serialization.Model): # pylint: disable=t
6688
7563
  self.company_id = company_id
6689
7564
 
6690
7565
 
7566
+ class GetAvailableProductionScheduleFiltersRequest(
7567
+ _serialization.Model
7568
+ ): # pylint: disable=too-many-instance-attributes,name-too-long
7569
+ """GetAvailableProductionScheduleFiltersRequest.
7570
+
7571
+ :ivar resource_group:
7572
+ :vartype resource_group: str
7573
+ :ivar resource_id:
7574
+ :vartype resource_id: str
7575
+ :ivar work_order_id:
7576
+ :vartype work_order_id: str
7577
+ :ivar project_id:
7578
+ :vartype project_id: str
7579
+ :ivar part_number:
7580
+ :vartype part_number: str
7581
+ :ivar part_name:
7582
+ :vartype part_name: str
7583
+ :ivar material:
7584
+ :vartype material: str
7585
+ :ivar work_order_ids:
7586
+ :vartype work_order_ids: list[str]
7587
+ :ivar part_numbers:
7588
+ :vartype part_numbers: list[str]
7589
+ :ivar part_names:
7590
+ :vartype part_names: list[str]
7591
+ :ivar project_ids:
7592
+ :vartype project_ids: list[str]
7593
+ :ivar bom_positions:
7594
+ :vartype bom_positions: list[str]
7595
+ :ivar materials:
7596
+ :vartype materials: list[str]
7597
+ :ivar descriptions:
7598
+ :vartype descriptions: list[str]
7599
+ :ivar available_work:
7600
+ :vartype available_work: bool
7601
+ :ivar operation_statuses:
7602
+ :vartype operation_statuses: list[str or ~ignos.api.client.models.OperationStatusDto]
7603
+ :ivar after:
7604
+ :vartype after: ~datetime.datetime
7605
+ :ivar before:
7606
+ :vartype before: ~datetime.datetime
7607
+ """
7608
+
7609
+ _attribute_map = {
7610
+ "resource_group": {"key": "resourceGroup", "type": "str"},
7611
+ "resource_id": {"key": "resourceId", "type": "str"},
7612
+ "work_order_id": {"key": "workOrderId", "type": "str"},
7613
+ "project_id": {"key": "projectId", "type": "str"},
7614
+ "part_number": {"key": "partNumber", "type": "str"},
7615
+ "part_name": {"key": "partName", "type": "str"},
7616
+ "material": {"key": "material", "type": "str"},
7617
+ "work_order_ids": {"key": "workOrderIds", "type": "[str]"},
7618
+ "part_numbers": {"key": "partNumbers", "type": "[str]"},
7619
+ "part_names": {"key": "partNames", "type": "[str]"},
7620
+ "project_ids": {"key": "projectIds", "type": "[str]"},
7621
+ "bom_positions": {"key": "bomPositions", "type": "[str]"},
7622
+ "materials": {"key": "materials", "type": "[str]"},
7623
+ "descriptions": {"key": "descriptions", "type": "[str]"},
7624
+ "available_work": {"key": "availableWork", "type": "bool"},
7625
+ "operation_statuses": {"key": "operationStatuses", "type": "[str]"},
7626
+ "after": {"key": "after", "type": "iso-8601"},
7627
+ "before": {"key": "before", "type": "iso-8601"},
7628
+ }
7629
+
7630
+ def __init__(
7631
+ self,
7632
+ *,
7633
+ resource_group: Optional[str] = None,
7634
+ resource_id: Optional[str] = None,
7635
+ work_order_id: Optional[str] = None,
7636
+ project_id: Optional[str] = None,
7637
+ part_number: Optional[str] = None,
7638
+ part_name: Optional[str] = None,
7639
+ material: Optional[str] = None,
7640
+ work_order_ids: Optional[List[str]] = None,
7641
+ part_numbers: Optional[List[str]] = None,
7642
+ part_names: Optional[List[str]] = None,
7643
+ project_ids: Optional[List[str]] = None,
7644
+ bom_positions: Optional[List[str]] = None,
7645
+ materials: Optional[List[str]] = None,
7646
+ descriptions: Optional[List[str]] = None,
7647
+ available_work: Optional[bool] = None,
7648
+ operation_statuses: Optional[List[Union[str, "_models.OperationStatusDto"]]] = None,
7649
+ after: Optional[datetime.datetime] = None,
7650
+ before: Optional[datetime.datetime] = None,
7651
+ **kwargs: Any
7652
+ ) -> None:
7653
+ """
7654
+ :keyword resource_group:
7655
+ :paramtype resource_group: str
7656
+ :keyword resource_id:
7657
+ :paramtype resource_id: str
7658
+ :keyword work_order_id:
7659
+ :paramtype work_order_id: str
7660
+ :keyword project_id:
7661
+ :paramtype project_id: str
7662
+ :keyword part_number:
7663
+ :paramtype part_number: str
7664
+ :keyword part_name:
7665
+ :paramtype part_name: str
7666
+ :keyword material:
7667
+ :paramtype material: str
7668
+ :keyword work_order_ids:
7669
+ :paramtype work_order_ids: list[str]
7670
+ :keyword part_numbers:
7671
+ :paramtype part_numbers: list[str]
7672
+ :keyword part_names:
7673
+ :paramtype part_names: list[str]
7674
+ :keyword project_ids:
7675
+ :paramtype project_ids: list[str]
7676
+ :keyword bom_positions:
7677
+ :paramtype bom_positions: list[str]
7678
+ :keyword materials:
7679
+ :paramtype materials: list[str]
7680
+ :keyword descriptions:
7681
+ :paramtype descriptions: list[str]
7682
+ :keyword available_work:
7683
+ :paramtype available_work: bool
7684
+ :keyword operation_statuses:
7685
+ :paramtype operation_statuses: list[str or ~ignos.api.client.models.OperationStatusDto]
7686
+ :keyword after:
7687
+ :paramtype after: ~datetime.datetime
7688
+ :keyword before:
7689
+ :paramtype before: ~datetime.datetime
7690
+ """
7691
+ super().__init__(**kwargs)
7692
+ self.resource_group = resource_group
7693
+ self.resource_id = resource_id
7694
+ self.work_order_id = work_order_id
7695
+ self.project_id = project_id
7696
+ self.part_number = part_number
7697
+ self.part_name = part_name
7698
+ self.material = material
7699
+ self.work_order_ids = work_order_ids
7700
+ self.part_numbers = part_numbers
7701
+ self.part_names = part_names
7702
+ self.project_ids = project_ids
7703
+ self.bom_positions = bom_positions
7704
+ self.materials = materials
7705
+ self.descriptions = descriptions
7706
+ self.available_work = available_work
7707
+ self.operation_statuses = operation_statuses
7708
+ self.after = after
7709
+ self.before = before
7710
+
7711
+
6691
7712
  class GetConsumption(_serialization.Model):
6692
7713
  """GetConsumption.
6693
7714
 
@@ -7215,6 +8236,39 @@ class ImportDocumentRevisionDto(_serialization.Model): # pylint: disable=too-ma
7215
8236
  self.approvals = approvals
7216
8237
 
7217
8238
 
8239
+ class ImportedCalibration(_serialization.Model):
8240
+ """ImportedCalibration.
8241
+
8242
+ All required parameters must be populated in order to send to server.
8243
+
8244
+ :ivar tool_id: Required.
8245
+ :vartype tool_id: str
8246
+ :ivar last_calibration_date: Required.
8247
+ :vartype last_calibration_date: ~datetime.datetime
8248
+ """
8249
+
8250
+ _validation = {
8251
+ "tool_id": {"required": True, "min_length": 1},
8252
+ "last_calibration_date": {"required": True},
8253
+ }
8254
+
8255
+ _attribute_map = {
8256
+ "tool_id": {"key": "toolId", "type": "str"},
8257
+ "last_calibration_date": {"key": "lastCalibrationDate", "type": "iso-8601"},
8258
+ }
8259
+
8260
+ def __init__(self, *, tool_id: str, last_calibration_date: datetime.datetime, **kwargs: Any) -> None:
8261
+ """
8262
+ :keyword tool_id: Required.
8263
+ :paramtype tool_id: str
8264
+ :keyword last_calibration_date: Required.
8265
+ :paramtype last_calibration_date: ~datetime.datetime
8266
+ """
8267
+ super().__init__(**kwargs)
8268
+ self.tool_id = tool_id
8269
+ self.last_calibration_date = last_calibration_date
8270
+
8271
+
7218
8272
  class ImportMeasurementFormInstanceRequest(_serialization.Model): # pylint: disable=too-many-instance-attributes
7219
8273
  """ImportMeasurementFormInstanceRequest.
7220
8274
 
@@ -7976,6 +9030,8 @@ class ImportToolDto(_serialization.Model): # pylint: disable=too-many-instance-
7976
9030
  :vartype tool_suffix: str
7977
9031
  :ivar description:
7978
9032
  :vartype description: str
9033
+ :ivar holder_description:
9034
+ :vartype holder_description: str
7979
9035
  :ivar geometry:
7980
9036
  :vartype geometry: str
7981
9037
  :ivar size:
@@ -8018,6 +9074,7 @@ class ImportToolDto(_serialization.Model): # pylint: disable=too-many-instance-
8018
9074
  "tool_number": {"key": "toolNumber", "type": "str"},
8019
9075
  "tool_suffix": {"key": "toolSuffix", "type": "str"},
8020
9076
  "description": {"key": "description", "type": "str"},
9077
+ "holder_description": {"key": "holderDescription", "type": "str"},
8021
9078
  "geometry": {"key": "geometry", "type": "str"},
8022
9079
  "size": {"key": "size", "type": "str"},
8023
9080
  "diameter": {"key": "diameter", "type": "float"},
@@ -8043,6 +9100,7 @@ class ImportToolDto(_serialization.Model): # pylint: disable=too-many-instance-
8043
9100
  tool_number: Optional[str] = None,
8044
9101
  tool_suffix: Optional[str] = None,
8045
9102
  description: Optional[str] = None,
9103
+ holder_description: Optional[str] = None,
8046
9104
  geometry: Optional[str] = None,
8047
9105
  size: Optional[str] = None,
8048
9106
  diameter: Optional[float] = None,
@@ -8070,6 +9128,8 @@ class ImportToolDto(_serialization.Model): # pylint: disable=too-many-instance-
8070
9128
  :paramtype tool_suffix: str
8071
9129
  :keyword description:
8072
9130
  :paramtype description: str
9131
+ :keyword holder_description:
9132
+ :paramtype holder_description: str
8073
9133
  :keyword geometry:
8074
9134
  :paramtype geometry: str
8075
9135
  :keyword size:
@@ -8104,6 +9164,7 @@ class ImportToolDto(_serialization.Model): # pylint: disable=too-many-instance-
8104
9164
  self.tool_number = tool_number
8105
9165
  self.tool_suffix = tool_suffix
8106
9166
  self.description = description
9167
+ self.holder_description = holder_description
8107
9168
  self.geometry = geometry
8108
9169
  self.size = size
8109
9170
  self.diameter = diameter
@@ -9368,7 +10429,7 @@ class ListOrderScheduleRequest(_serialization.Model):
9368
10429
  self.continuation_token = continuation_token
9369
10430
 
9370
10431
 
9371
- class ListProductionScheduleOperationsRequest(_serialization.Model):
10432
+ class ListProductionScheduleOperationsRequest(_serialization.Model): # pylint: disable=too-many-instance-attributes
9372
10433
  """ListProductionScheduleOperationsRequest.
9373
10434
 
9374
10435
  :ivar resource_group:
@@ -9389,6 +10450,28 @@ class ListProductionScheduleOperationsRequest(_serialization.Model):
9389
10450
  :vartype part_name: str
9390
10451
  :ivar material:
9391
10452
  :vartype material: str
10453
+ :ivar work_order_ids:
10454
+ :vartype work_order_ids: list[str]
10455
+ :ivar part_numbers:
10456
+ :vartype part_numbers: list[str]
10457
+ :ivar part_names:
10458
+ :vartype part_names: list[str]
10459
+ :ivar project_ids:
10460
+ :vartype project_ids: list[str]
10461
+ :ivar bom_positions:
10462
+ :vartype bom_positions: list[str]
10463
+ :ivar materials:
10464
+ :vartype materials: list[str]
10465
+ :ivar descriptions:
10466
+ :vartype descriptions: list[str]
10467
+ :ivar available_work:
10468
+ :vartype available_work: bool
10469
+ :ivar operation_statuses:
10470
+ :vartype operation_statuses: list[str or ~ignos.api.client.models.OperationStatusDto]
10471
+ :ivar after:
10472
+ :vartype after: ~datetime.datetime
10473
+ :ivar before:
10474
+ :vartype before: ~datetime.datetime
9392
10475
  """
9393
10476
 
9394
10477
  _attribute_map = {
@@ -9401,6 +10484,17 @@ class ListProductionScheduleOperationsRequest(_serialization.Model):
9401
10484
  "part_number": {"key": "partNumber", "type": "str"},
9402
10485
  "part_name": {"key": "partName", "type": "str"},
9403
10486
  "material": {"key": "material", "type": "str"},
10487
+ "work_order_ids": {"key": "workOrderIds", "type": "[str]"},
10488
+ "part_numbers": {"key": "partNumbers", "type": "[str]"},
10489
+ "part_names": {"key": "partNames", "type": "[str]"},
10490
+ "project_ids": {"key": "projectIds", "type": "[str]"},
10491
+ "bom_positions": {"key": "bomPositions", "type": "[str]"},
10492
+ "materials": {"key": "materials", "type": "[str]"},
10493
+ "descriptions": {"key": "descriptions", "type": "[str]"},
10494
+ "available_work": {"key": "availableWork", "type": "bool"},
10495
+ "operation_statuses": {"key": "operationStatuses", "type": "[str]"},
10496
+ "after": {"key": "after", "type": "iso-8601"},
10497
+ "before": {"key": "before", "type": "iso-8601"},
9404
10498
  }
9405
10499
 
9406
10500
  def __init__(
@@ -9415,6 +10509,17 @@ class ListProductionScheduleOperationsRequest(_serialization.Model):
9415
10509
  part_number: Optional[str] = None,
9416
10510
  part_name: Optional[str] = None,
9417
10511
  material: Optional[str] = None,
10512
+ work_order_ids: Optional[List[str]] = None,
10513
+ part_numbers: Optional[List[str]] = None,
10514
+ part_names: Optional[List[str]] = None,
10515
+ project_ids: Optional[List[str]] = None,
10516
+ bom_positions: Optional[List[str]] = None,
10517
+ materials: Optional[List[str]] = None,
10518
+ descriptions: Optional[List[str]] = None,
10519
+ available_work: Optional[bool] = None,
10520
+ operation_statuses: Optional[List[Union[str, "_models.OperationStatusDto"]]] = None,
10521
+ after: Optional[datetime.datetime] = None,
10522
+ before: Optional[datetime.datetime] = None,
9418
10523
  **kwargs: Any
9419
10524
  ) -> None:
9420
10525
  """
@@ -9436,6 +10541,28 @@ class ListProductionScheduleOperationsRequest(_serialization.Model):
9436
10541
  :paramtype part_name: str
9437
10542
  :keyword material:
9438
10543
  :paramtype material: str
10544
+ :keyword work_order_ids:
10545
+ :paramtype work_order_ids: list[str]
10546
+ :keyword part_numbers:
10547
+ :paramtype part_numbers: list[str]
10548
+ :keyword part_names:
10549
+ :paramtype part_names: list[str]
10550
+ :keyword project_ids:
10551
+ :paramtype project_ids: list[str]
10552
+ :keyword bom_positions:
10553
+ :paramtype bom_positions: list[str]
10554
+ :keyword materials:
10555
+ :paramtype materials: list[str]
10556
+ :keyword descriptions:
10557
+ :paramtype descriptions: list[str]
10558
+ :keyword available_work:
10559
+ :paramtype available_work: bool
10560
+ :keyword operation_statuses:
10561
+ :paramtype operation_statuses: list[str or ~ignos.api.client.models.OperationStatusDto]
10562
+ :keyword after:
10563
+ :paramtype after: ~datetime.datetime
10564
+ :keyword before:
10565
+ :paramtype before: ~datetime.datetime
9439
10566
  """
9440
10567
  super().__init__(**kwargs)
9441
10568
  self.resource_group = resource_group
@@ -9447,6 +10574,17 @@ class ListProductionScheduleOperationsRequest(_serialization.Model):
9447
10574
  self.part_number = part_number
9448
10575
  self.part_name = part_name
9449
10576
  self.material = material
10577
+ self.work_order_ids = work_order_ids
10578
+ self.part_numbers = part_numbers
10579
+ self.part_names = part_names
10580
+ self.project_ids = project_ids
10581
+ self.bom_positions = bom_positions
10582
+ self.materials = materials
10583
+ self.descriptions = descriptions
10584
+ self.available_work = available_work
10585
+ self.operation_statuses = operation_statuses
10586
+ self.after = after
10587
+ self.before = before
9450
10588
 
9451
10589
 
9452
10590
  class ListProjectsRequest(_serialization.Model):
@@ -9640,6 +10778,60 @@ class ListWorkOrdersRequest(_serialization.Model):
9640
10778
  self.continuation_token = continuation_token
9641
10779
 
9642
10780
 
10781
+ class LocationDto(_serialization.Model):
10782
+ """LocationDto.
10783
+
10784
+ All required parameters must be populated in order to send to server.
10785
+
10786
+ :ivar location_id: Required.
10787
+ :vartype location_id: str
10788
+ :ivar location_name: Required.
10789
+ :vartype location_name: str
10790
+ :ivar kind: Required. Known values are: "Warehouse", "Zone", and "Location".
10791
+ :vartype kind: str or ~ignos.api.client.models.LocationKindDto
10792
+ :ivar profile:
10793
+ :vartype profile: str
10794
+ """
10795
+
10796
+ _validation = {
10797
+ "location_id": {"required": True, "min_length": 1},
10798
+ "location_name": {"required": True, "min_length": 1},
10799
+ "kind": {"required": True},
10800
+ }
10801
+
10802
+ _attribute_map = {
10803
+ "location_id": {"key": "locationId", "type": "str"},
10804
+ "location_name": {"key": "locationName", "type": "str"},
10805
+ "kind": {"key": "kind", "type": "str"},
10806
+ "profile": {"key": "profile", "type": "str"},
10807
+ }
10808
+
10809
+ def __init__(
10810
+ self,
10811
+ *,
10812
+ location_id: str,
10813
+ location_name: str,
10814
+ kind: Union[str, "_models.LocationKindDto"],
10815
+ profile: Optional[str] = None,
10816
+ **kwargs: Any
10817
+ ) -> None:
10818
+ """
10819
+ :keyword location_id: Required.
10820
+ :paramtype location_id: str
10821
+ :keyword location_name: Required.
10822
+ :paramtype location_name: str
10823
+ :keyword kind: Required. Known values are: "Warehouse", "Zone", and "Location".
10824
+ :paramtype kind: str or ~ignos.api.client.models.LocationKindDto
10825
+ :keyword profile:
10826
+ :paramtype profile: str
10827
+ """
10828
+ super().__init__(**kwargs)
10829
+ self.location_id = location_id
10830
+ self.location_name = location_name
10831
+ self.kind = kind
10832
+ self.profile = profile
10833
+
10834
+
9643
10835
  class Machine(_serialization.Model):
9644
10836
  """Machine.
9645
10837
 
@@ -10253,6 +11445,8 @@ class MachineDataHealthDto(_serialization.Model):
10253
11445
  class MachineDto(_serialization.Model):
10254
11446
  """MachineDto.
10255
11447
 
11448
+ Variables are only populated by the server, and will be ignored when sending a request.
11449
+
10256
11450
  All required parameters must be populated in order to send to server.
10257
11451
 
10258
11452
  :ivar id: Required.
@@ -10271,6 +11465,8 @@ class MachineDto(_serialization.Model):
10271
11465
  :vartype has_live_machine_state: bool
10272
11466
  :ivar company_id:
10273
11467
  :vartype company_id: str
11468
+ :ivar resource_id: Required.
11469
+ :vartype resource_id: str
10274
11470
  """
10275
11471
 
10276
11472
  _validation = {
@@ -10278,6 +11474,7 @@ class MachineDto(_serialization.Model):
10278
11474
  "external_id": {"required": True, "min_length": 1},
10279
11475
  "name": {"required": True, "min_length": 1},
10280
11476
  "has_live_machine_state": {"required": True},
11477
+ "resource_id": {"required": True, "readonly": True, "min_length": 1},
10281
11478
  }
10282
11479
 
10283
11480
  _attribute_map = {
@@ -10289,6 +11486,7 @@ class MachineDto(_serialization.Model):
10289
11486
  "work_order_asset_external_id": {"key": "workOrderAssetExternalId", "type": "str"},
10290
11487
  "has_live_machine_state": {"key": "hasLiveMachineState", "type": "bool"},
10291
11488
  "company_id": {"key": "companyId", "type": "str"},
11489
+ "resource_id": {"key": "resourceId", "type": "str"},
10292
11490
  }
10293
11491
 
10294
11492
  def __init__(
@@ -10331,6 +11529,7 @@ class MachineDto(_serialization.Model):
10331
11529
  self.work_order_asset_external_id = work_order_asset_external_id
10332
11530
  self.has_live_machine_state = has_live_machine_state
10333
11531
  self.company_id = company_id
11532
+ self.resource_id = None
10334
11533
 
10335
11534
 
10336
11535
  class MachineErpDataDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
@@ -11175,8 +12374,12 @@ class MachineUtilizationV2Dto(_serialization.Model):
11175
12374
 
11176
12375
  All required parameters must be populated in order to send to server.
11177
12376
 
12377
+ :ivar id:
12378
+ :vartype id: int
11178
12379
  :ivar name: Required.
11179
12380
  :vartype name: str
12381
+ :ivar description:
12382
+ :vartype description: str
11180
12383
  :ivar utilization: Required.
11181
12384
  :vartype utilization: ~ignos.api.client.models.UtilizationDto
11182
12385
  """
@@ -11187,19 +12390,35 @@ class MachineUtilizationV2Dto(_serialization.Model):
11187
12390
  }
11188
12391
 
11189
12392
  _attribute_map = {
12393
+ "id": {"key": "id", "type": "int"},
11190
12394
  "name": {"key": "name", "type": "str"},
12395
+ "description": {"key": "description", "type": "str"},
11191
12396
  "utilization": {"key": "utilization", "type": "UtilizationDto"},
11192
12397
  }
11193
12398
 
11194
- def __init__(self, *, name: str, utilization: "_models.UtilizationDto", **kwargs: Any) -> None:
12399
+ def __init__(
12400
+ self,
12401
+ *,
12402
+ name: str,
12403
+ utilization: "_models.UtilizationDto",
12404
+ id: Optional[int] = None, # pylint: disable=redefined-builtin
12405
+ description: Optional[str] = None,
12406
+ **kwargs: Any
12407
+ ) -> None:
11195
12408
  """
12409
+ :keyword id:
12410
+ :paramtype id: int
11196
12411
  :keyword name: Required.
11197
12412
  :paramtype name: str
12413
+ :keyword description:
12414
+ :paramtype description: str
11198
12415
  :keyword utilization: Required.
11199
12416
  :paramtype utilization: ~ignos.api.client.models.UtilizationDto
11200
12417
  """
11201
12418
  super().__init__(**kwargs)
12419
+ self.id = id
11202
12420
  self.name = name
12421
+ self.description = description
11203
12422
  self.utilization = utilization
11204
12423
 
11205
12424
 
@@ -16005,15 +17224,114 @@ class MeasuringToolDtoPagedData(_serialization.Model):
16005
17224
  self.value = value
16006
17225
 
16007
17226
 
17227
+ class MeasuringToolImportInformationDto(_serialization.Model):
17228
+ """MeasuringToolImportInformationDto.
17229
+
17230
+ All required parameters must be populated in order to send to server.
17231
+
17232
+ :ivar id: Required.
17233
+ :vartype id: str
17234
+ :ivar message: Required.
17235
+ :vartype message: str
17236
+ """
17237
+
17238
+ _validation = {
17239
+ "id": {"required": True, "min_length": 1},
17240
+ "message": {"required": True, "min_length": 1},
17241
+ }
17242
+
17243
+ _attribute_map = {
17244
+ "id": {"key": "id", "type": "str"},
17245
+ "message": {"key": "message", "type": "str"},
17246
+ }
17247
+
17248
+ def __init__(self, *, id: str, message: str, **kwargs: Any) -> None: # pylint: disable=redefined-builtin
17249
+ """
17250
+ :keyword id: Required.
17251
+ :paramtype id: str
17252
+ :keyword message: Required.
17253
+ :paramtype message: str
17254
+ """
17255
+ super().__init__(**kwargs)
17256
+ self.id = id
17257
+ self.message = message
17258
+
17259
+
17260
+ class MeasuringToolImportResultDto(_serialization.Model):
17261
+ """MeasuringToolImportResultDto.
17262
+
17263
+ Variables are only populated by the server, and will be ignored when sending a request.
17264
+
17265
+ All required parameters must be populated in order to send to server.
17266
+
17267
+ :ivar errors: Required.
17268
+ :vartype errors: list[~ignos.api.client.models.MeasuringToolImportInformationDto]
17269
+ :ivar information: Required.
17270
+ :vartype information: list[~ignos.api.client.models.MeasuringToolImportInformationDto]
17271
+ :ivar imported_calibrations: Required.
17272
+ :vartype imported_calibrations: list[~ignos.api.client.models.ImportedCalibration]
17273
+ :ivar number_of_calibrations_imported: Required.
17274
+ :vartype number_of_calibrations_imported: int
17275
+ :ivar newest_calibration:
17276
+ :vartype newest_calibration: ~datetime.datetime
17277
+ """
17278
+
17279
+ _validation = {
17280
+ "errors": {"required": True},
17281
+ "information": {"required": True},
17282
+ "imported_calibrations": {"required": True},
17283
+ "number_of_calibrations_imported": {"required": True, "readonly": True},
17284
+ "newest_calibration": {"readonly": True},
17285
+ }
17286
+
17287
+ _attribute_map = {
17288
+ "errors": {"key": "errors", "type": "[MeasuringToolImportInformationDto]"},
17289
+ "information": {"key": "information", "type": "[MeasuringToolImportInformationDto]"},
17290
+ "imported_calibrations": {"key": "importedCalibrations", "type": "[ImportedCalibration]"},
17291
+ "number_of_calibrations_imported": {"key": "numberOfCalibrationsImported", "type": "int"},
17292
+ "newest_calibration": {"key": "newestCalibration", "type": "iso-8601"},
17293
+ }
17294
+
17295
+ def __init__(
17296
+ self,
17297
+ *,
17298
+ errors: List["_models.MeasuringToolImportInformationDto"],
17299
+ information: List["_models.MeasuringToolImportInformationDto"],
17300
+ imported_calibrations: List["_models.ImportedCalibration"],
17301
+ **kwargs: Any
17302
+ ) -> None:
17303
+ """
17304
+ :keyword errors: Required.
17305
+ :paramtype errors: list[~ignos.api.client.models.MeasuringToolImportInformationDto]
17306
+ :keyword information: Required.
17307
+ :paramtype information: list[~ignos.api.client.models.MeasuringToolImportInformationDto]
17308
+ :keyword imported_calibrations: Required.
17309
+ :paramtype imported_calibrations: list[~ignos.api.client.models.ImportedCalibration]
17310
+ """
17311
+ super().__init__(**kwargs)
17312
+ self.errors = errors
17313
+ self.information = information
17314
+ self.imported_calibrations = imported_calibrations
17315
+ self.number_of_calibrations_imported = None
17316
+ self.newest_calibration = None
17317
+
17318
+
16008
17319
  class MeasuringToolSettingsDto(_serialization.Model):
16009
17320
  """MeasuringToolSettingsDto.
16010
17321
 
16011
- :ivar disable_user_defined_identifiers_for_calibrated_tools:
17322
+ All required parameters must be populated in order to send to server.
17323
+
17324
+ :ivar disable_user_defined_identifiers_for_calibrated_tools: Required.
16012
17325
  :vartype disable_user_defined_identifiers_for_calibrated_tools: bool
16013
- :ivar disable_user_defined_identifiers_for_uncalibrated_tools:
17326
+ :ivar disable_user_defined_identifiers_for_uncalibrated_tools: Required.
16014
17327
  :vartype disable_user_defined_identifiers_for_uncalibrated_tools: bool
16015
17328
  """
16016
17329
 
17330
+ _validation = {
17331
+ "disable_user_defined_identifiers_for_calibrated_tools": {"required": True},
17332
+ "disable_user_defined_identifiers_for_uncalibrated_tools": {"required": True},
17333
+ }
17334
+
16017
17335
  _attribute_map = {
16018
17336
  "disable_user_defined_identifiers_for_calibrated_tools": {
16019
17337
  "key": "disableUserDefinedIdentifiersForCalibratedTools",
@@ -16028,14 +17346,14 @@ class MeasuringToolSettingsDto(_serialization.Model):
16028
17346
  def __init__(
16029
17347
  self,
16030
17348
  *,
16031
- disable_user_defined_identifiers_for_calibrated_tools: Optional[bool] = None,
16032
- disable_user_defined_identifiers_for_uncalibrated_tools: Optional[bool] = None,
17349
+ disable_user_defined_identifiers_for_calibrated_tools: bool,
17350
+ disable_user_defined_identifiers_for_uncalibrated_tools: bool,
16033
17351
  **kwargs: Any
16034
17352
  ) -> None:
16035
17353
  """
16036
- :keyword disable_user_defined_identifiers_for_calibrated_tools:
17354
+ :keyword disable_user_defined_identifiers_for_calibrated_tools: Required.
16037
17355
  :paramtype disable_user_defined_identifiers_for_calibrated_tools: bool
16038
- :keyword disable_user_defined_identifiers_for_uncalibrated_tools:
17356
+ :keyword disable_user_defined_identifiers_for_uncalibrated_tools: Required.
16039
17357
  :paramtype disable_user_defined_identifiers_for_uncalibrated_tools: bool
16040
17358
  """
16041
17359
  super().__init__(**kwargs)
@@ -18047,6 +19365,38 @@ class OperationPrerequisitesDto(_serialization.Model):
18047
19365
  self.cnc_program = cnc_program
18048
19366
 
18049
19367
 
19368
+ class OperationStatusFilterWithQuantity(_serialization.Model):
19369
+ """OperationStatusFilterWithQuantity.
19370
+
19371
+ :ivar status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
19372
+ :vartype status: str or ~ignos.api.client.models.OperationStatusDto
19373
+ :ivar quantity:
19374
+ :vartype quantity: int
19375
+ """
19376
+
19377
+ _attribute_map = {
19378
+ "status": {"key": "status", "type": "str"},
19379
+ "quantity": {"key": "quantity", "type": "int"},
19380
+ }
19381
+
19382
+ def __init__(
19383
+ self,
19384
+ *,
19385
+ status: Optional[Union[str, "_models.OperationStatusDto"]] = None,
19386
+ quantity: Optional[int] = None,
19387
+ **kwargs: Any
19388
+ ) -> None:
19389
+ """
19390
+ :keyword status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
19391
+ :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
19392
+ :keyword quantity:
19393
+ :paramtype quantity: int
19394
+ """
19395
+ super().__init__(**kwargs)
19396
+ self.status = status
19397
+ self.quantity = quantity
19398
+
19399
+
18050
19400
  class OperatorAndMachineDto(_serialization.Model):
18051
19401
  """OperatorAndMachineDto.
18052
19402
 
@@ -18837,6 +20187,8 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18837
20187
  :vartype order_reference: ~ignos.api.client.models.OrderReferenceDto
18838
20188
  :ivar status: Required. Known values are: "Unknown", "NotStarted", "Partial", and "Completed".
18839
20189
  :vartype status: str or ~ignos.api.client.models.MaterialStatus
20190
+ :ivar availability_details: Required.
20191
+ :vartype availability_details: list[~ignos.api.client.models.InventoryDto]
18840
20192
  """
18841
20193
 
18842
20194
  _validation = {
@@ -18847,6 +20199,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18847
20199
  "total_required_quantity": {"required": True},
18848
20200
  "used_quantity": {"required": True},
18849
20201
  "status": {"required": True},
20202
+ "availability_details": {"required": True},
18850
20203
  }
18851
20204
 
18852
20205
  _attribute_map = {
@@ -18867,6 +20220,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18867
20220
  "drawing": {"key": "drawing", "type": "DrawingDto"},
18868
20221
  "order_reference": {"key": "orderReference", "type": "OrderReferenceDto"},
18869
20222
  "status": {"key": "status", "type": "str"},
20223
+ "availability_details": {"key": "availabilityDetails", "type": "[InventoryDto]"},
18870
20224
  }
18871
20225
 
18872
20226
  def __init__(
@@ -18879,6 +20233,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18879
20233
  total_required_quantity: float,
18880
20234
  used_quantity: float,
18881
20235
  status: Union[str, "_models.MaterialStatus"],
20236
+ availability_details: List["_models.InventoryDto"],
18882
20237
  position: Optional[str] = None,
18883
20238
  dimension: Optional[str] = None,
18884
20239
  operation_name: Optional[str] = None,
@@ -18927,6 +20282,8 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18927
20282
  :keyword status: Required. Known values are: "Unknown", "NotStarted", "Partial", and
18928
20283
  "Completed".
18929
20284
  :paramtype status: str or ~ignos.api.client.models.MaterialStatus
20285
+ :keyword availability_details: Required.
20286
+ :paramtype availability_details: list[~ignos.api.client.models.InventoryDto]
18930
20287
  """
18931
20288
  super().__init__(**kwargs)
18932
20289
  self.position = position
@@ -18946,6 +20303,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
18946
20303
  self.drawing = drawing
18947
20304
  self.order_reference = order_reference
18948
20305
  self.status = status
20306
+ self.availability_details = availability_details
18949
20307
 
18950
20308
 
18951
20309
  class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
@@ -18980,10 +20338,12 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
18980
20338
  :vartype planner: ~ignos.api.client.models.UserDto
18981
20339
  :ivar project_leader:
18982
20340
  :vartype project_leader: ~ignos.api.client.models.UserDto
18983
- :ivar end_location:
18984
- :vartype end_location: str
20341
+ :ivar delivery_location:
20342
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
18985
20343
  :ivar project:
18986
20344
  :vartype project: ~ignos.api.client.models.WorkOrderProjectDto
20345
+ :ivar attachments:
20346
+ :vartype attachments: list[~ignos.api.client.models.WorkOrderAttachmentDto]
18987
20347
  :ivar start_date:
18988
20348
  :vartype start_date: ~datetime.datetime
18989
20349
  :ivar end_date:
@@ -19021,8 +20381,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19021
20381
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
19022
20382
  "planner": {"key": "planner", "type": "UserDto"},
19023
20383
  "project_leader": {"key": "projectLeader", "type": "UserDto"},
19024
- "end_location": {"key": "endLocation", "type": "str"},
20384
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
19025
20385
  "project": {"key": "project", "type": "WorkOrderProjectDto"},
20386
+ "attachments": {"key": "attachments", "type": "[WorkOrderAttachmentDto]"},
19026
20387
  "start_date": {"key": "startDate", "type": "iso-8601"},
19027
20388
  "end_date": {"key": "endDate", "type": "iso-8601"},
19028
20389
  "bom_position": {"key": "bomPosition", "type": "str"},
@@ -19046,8 +20407,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19046
20407
  planned_end: Optional[datetime.datetime] = None,
19047
20408
  planner: Optional["_models.UserDto"] = None,
19048
20409
  project_leader: Optional["_models.UserDto"] = None,
19049
- end_location: Optional[str] = None,
20410
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
19050
20411
  project: Optional["_models.WorkOrderProjectDto"] = None,
20412
+ attachments: Optional[List["_models.WorkOrderAttachmentDto"]] = None,
19051
20413
  start_date: Optional[datetime.datetime] = None,
19052
20414
  end_date: Optional[datetime.datetime] = None,
19053
20415
  bom_position: Optional[str] = None,
@@ -19083,10 +20445,12 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19083
20445
  :paramtype planner: ~ignos.api.client.models.UserDto
19084
20446
  :keyword project_leader:
19085
20447
  :paramtype project_leader: ~ignos.api.client.models.UserDto
19086
- :keyword end_location:
19087
- :paramtype end_location: str
20448
+ :keyword delivery_location:
20449
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
19088
20450
  :keyword project:
19089
20451
  :paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
20452
+ :keyword attachments:
20453
+ :paramtype attachments: list[~ignos.api.client.models.WorkOrderAttachmentDto]
19090
20454
  :keyword start_date:
19091
20455
  :paramtype start_date: ~datetime.datetime
19092
20456
  :keyword end_date:
@@ -19112,8 +20476,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19112
20476
  self.scrapped_quantity = scrapped_quantity
19113
20477
  self.planner = planner
19114
20478
  self.project_leader = project_leader
19115
- self.end_location = end_location
20479
+ self.delivery_location = delivery_location
19116
20480
  self.project = project
20481
+ self.attachments = attachments
19117
20482
  self.start_date = start_date
19118
20483
  self.end_date = end_date
19119
20484
  self.bom_position = bom_position
@@ -19121,16 +20486,130 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19121
20486
  self.order_reference = order_reference
19122
20487
 
19123
20488
 
20489
+ class ProductionOrderOperationActivityDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
20490
+ """ProductionOrderOperationActivityDto.
20491
+
20492
+ All required parameters must be populated in order to send to server.
20493
+
20494
+ :ivar operation: Required.
20495
+ :vartype operation: int
20496
+ :ivar operation_id: Required.
20497
+ :vartype operation_id: str
20498
+ :ivar description:
20499
+ :vartype description: str
20500
+ :ivar resource:
20501
+ :vartype resource: ~ignos.api.client.models.ResourceDto
20502
+ :ivar user:
20503
+ :vartype user: ~ignos.api.client.models.UserDto
20504
+ :ivar start_time: Required.
20505
+ :vartype start_time: ~datetime.datetime
20506
+ :ivar end_time:
20507
+ :vartype end_time: ~datetime.datetime
20508
+ :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
20509
+ "Stopped".
20510
+ :vartype status: str or ~ignos.api.client.models.OperationStatusDto
20511
+ :ivar active: Required.
20512
+ :vartype active: bool
20513
+ :ivar started_quantity:
20514
+ :vartype started_quantity: float
20515
+ :ivar produced_quantity:
20516
+ :vartype produced_quantity: float
20517
+ :ivar scrapped_quantity:
20518
+ :vartype scrapped_quantity: float
20519
+ """
20520
+
20521
+ _validation = {
20522
+ "operation": {"required": True},
20523
+ "operation_id": {"required": True, "min_length": 1},
20524
+ "start_time": {"required": True},
20525
+ "status": {"required": True},
20526
+ "active": {"required": True},
20527
+ }
20528
+
20529
+ _attribute_map = {
20530
+ "operation": {"key": "operation", "type": "int"},
20531
+ "operation_id": {"key": "operationId", "type": "str"},
20532
+ "description": {"key": "description", "type": "str"},
20533
+ "resource": {"key": "resource", "type": "ResourceDto"},
20534
+ "user": {"key": "user", "type": "UserDto"},
20535
+ "start_time": {"key": "startTime", "type": "iso-8601"},
20536
+ "end_time": {"key": "endTime", "type": "iso-8601"},
20537
+ "status": {"key": "status", "type": "str"},
20538
+ "active": {"key": "active", "type": "bool"},
20539
+ "started_quantity": {"key": "startedQuantity", "type": "float"},
20540
+ "produced_quantity": {"key": "producedQuantity", "type": "float"},
20541
+ "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
20542
+ }
20543
+
20544
+ def __init__(
20545
+ self,
20546
+ *,
20547
+ operation: int,
20548
+ operation_id: str,
20549
+ start_time: datetime.datetime,
20550
+ status: Union[str, "_models.OperationStatusDto"],
20551
+ active: bool,
20552
+ description: Optional[str] = None,
20553
+ resource: Optional["_models.ResourceDto"] = None,
20554
+ user: Optional["_models.UserDto"] = None,
20555
+ end_time: Optional[datetime.datetime] = None,
20556
+ started_quantity: Optional[float] = None,
20557
+ produced_quantity: Optional[float] = None,
20558
+ scrapped_quantity: Optional[float] = None,
20559
+ **kwargs: Any
20560
+ ) -> None:
20561
+ """
20562
+ :keyword operation: Required.
20563
+ :paramtype operation: int
20564
+ :keyword operation_id: Required.
20565
+ :paramtype operation_id: str
20566
+ :keyword description:
20567
+ :paramtype description: str
20568
+ :keyword resource:
20569
+ :paramtype resource: ~ignos.api.client.models.ResourceDto
20570
+ :keyword user:
20571
+ :paramtype user: ~ignos.api.client.models.UserDto
20572
+ :keyword start_time: Required.
20573
+ :paramtype start_time: ~datetime.datetime
20574
+ :keyword end_time:
20575
+ :paramtype end_time: ~datetime.datetime
20576
+ :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
20577
+ "Stopped".
20578
+ :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
20579
+ :keyword active: Required.
20580
+ :paramtype active: bool
20581
+ :keyword started_quantity:
20582
+ :paramtype started_quantity: float
20583
+ :keyword produced_quantity:
20584
+ :paramtype produced_quantity: float
20585
+ :keyword scrapped_quantity:
20586
+ :paramtype scrapped_quantity: float
20587
+ """
20588
+ super().__init__(**kwargs)
20589
+ self.operation = operation
20590
+ self.operation_id = operation_id
20591
+ self.description = description
20592
+ self.resource = resource
20593
+ self.user = user
20594
+ self.start_time = start_time
20595
+ self.end_time = end_time
20596
+ self.status = status
20597
+ self.active = active
20598
+ self.started_quantity = started_quantity
20599
+ self.produced_quantity = produced_quantity
20600
+ self.scrapped_quantity = scrapped_quantity
20601
+
20602
+
19124
20603
  class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
19125
20604
  """ProductionOrderOperationDto.
19126
20605
 
19127
20606
  All required parameters must be populated in order to send to server.
19128
20607
 
19129
- :ivar operation:
20608
+ :ivar operation: Required.
19130
20609
  :vartype operation: int
19131
20610
  :ivar next_operation:
19132
20611
  :vartype next_operation: int
19133
- :ivar operation_id:
20612
+ :ivar operation_id: Required.
19134
20613
  :vartype operation_id: str
19135
20614
  :ivar description:
19136
20615
  :vartype description: str
@@ -19154,6 +20633,10 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19154
20633
  :vartype planned_start: ~datetime.datetime
19155
20634
  :ivar planned_end:
19156
20635
  :vartype planned_end: ~datetime.datetime
20636
+ :ivar actual_start:
20637
+ :vartype actual_start: ~datetime.datetime
20638
+ :ivar actual_end:
20639
+ :vartype actual_end: ~datetime.datetime
19157
20640
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19158
20641
  "Stopped".
19159
20642
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19167,6 +20650,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19167
20650
  :vartype started_quantity: float
19168
20651
  :ivar ongoing_quantity:
19169
20652
  :vartype ongoing_quantity: float
20653
+ :ivar available_to_start_quantity: Required.
20654
+ :vartype available_to_start_quantity: float
19170
20655
  :ivar work_instructions:
19171
20656
  :vartype work_instructions: str
19172
20657
  :ivar note:
@@ -19182,10 +20667,13 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19182
20667
  """
19183
20668
 
19184
20669
  _validation = {
20670
+ "operation": {"required": True},
20671
+ "operation_id": {"required": True, "min_length": 1},
19185
20672
  "status": {"required": True},
19186
20673
  "produced_quantity": {"required": True},
19187
20674
  "scrapped_quantity": {"required": True},
19188
20675
  "quantity": {"required": True},
20676
+ "available_to_start_quantity": {"required": True},
19189
20677
  "disable_setup_registration": {"required": True},
19190
20678
  }
19191
20679
 
@@ -19204,12 +20692,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19204
20692
  "resource": {"key": "resource", "type": "ResourceDto"},
19205
20693
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
19206
20694
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
20695
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
20696
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
19207
20697
  "status": {"key": "status", "type": "str"},
19208
20698
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
19209
20699
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
19210
20700
  "quantity": {"key": "quantity", "type": "float"},
19211
20701
  "started_quantity": {"key": "startedQuantity", "type": "float"},
19212
20702
  "ongoing_quantity": {"key": "ongoingQuantity", "type": "float"},
20703
+ "available_to_start_quantity": {"key": "availableToStartQuantity", "type": "float"},
19213
20704
  "work_instructions": {"key": "workInstructions", "type": "str"},
19214
20705
  "note": {"key": "note", "type": "str"},
19215
20706
  "fixture": {"key": "fixture", "type": "str"},
@@ -19221,14 +20712,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19221
20712
  def __init__( # pylint: disable=too-many-locals
19222
20713
  self,
19223
20714
  *,
20715
+ operation: int,
20716
+ operation_id: str,
19224
20717
  status: Union[str, "_models.OperationStatusDto"],
19225
20718
  produced_quantity: float,
19226
20719
  scrapped_quantity: float,
19227
20720
  quantity: float,
20721
+ available_to_start_quantity: float,
19228
20722
  disable_setup_registration: bool,
19229
- operation: Optional[int] = None,
19230
20723
  next_operation: Optional[int] = None,
19231
- operation_id: Optional[str] = None,
19232
20724
  description: Optional[str] = None,
19233
20725
  total_planned_hours: Optional[float] = None,
19234
20726
  total_used_hours: Optional[float] = None,
@@ -19240,6 +20732,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19240
20732
  resource: Optional["_models.ResourceDto"] = None,
19241
20733
  planned_start: Optional[datetime.datetime] = None,
19242
20734
  planned_end: Optional[datetime.datetime] = None,
20735
+ actual_start: Optional[datetime.datetime] = None,
20736
+ actual_end: Optional[datetime.datetime] = None,
19243
20737
  started_quantity: Optional[float] = None,
19244
20738
  ongoing_quantity: Optional[float] = None,
19245
20739
  work_instructions: Optional[str] = None,
@@ -19250,11 +20744,11 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19250
20744
  **kwargs: Any
19251
20745
  ) -> None:
19252
20746
  """
19253
- :keyword operation:
20747
+ :keyword operation: Required.
19254
20748
  :paramtype operation: int
19255
20749
  :keyword next_operation:
19256
20750
  :paramtype next_operation: int
19257
- :keyword operation_id:
20751
+ :keyword operation_id: Required.
19258
20752
  :paramtype operation_id: str
19259
20753
  :keyword description:
19260
20754
  :paramtype description: str
@@ -19278,6 +20772,10 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19278
20772
  :paramtype planned_start: ~datetime.datetime
19279
20773
  :keyword planned_end:
19280
20774
  :paramtype planned_end: ~datetime.datetime
20775
+ :keyword actual_start:
20776
+ :paramtype actual_start: ~datetime.datetime
20777
+ :keyword actual_end:
20778
+ :paramtype actual_end: ~datetime.datetime
19281
20779
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19282
20780
  "Stopped".
19283
20781
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19291,6 +20789,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19291
20789
  :paramtype started_quantity: float
19292
20790
  :keyword ongoing_quantity:
19293
20791
  :paramtype ongoing_quantity: float
20792
+ :keyword available_to_start_quantity: Required.
20793
+ :paramtype available_to_start_quantity: float
19294
20794
  :keyword work_instructions:
19295
20795
  :paramtype work_instructions: str
19296
20796
  :keyword note:
@@ -19319,12 +20819,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19319
20819
  self.resource = resource
19320
20820
  self.planned_start = planned_start
19321
20821
  self.planned_end = planned_end
20822
+ self.actual_start = actual_start
20823
+ self.actual_end = actual_end
19322
20824
  self.status = status
19323
20825
  self.produced_quantity = produced_quantity
19324
20826
  self.scrapped_quantity = scrapped_quantity
19325
20827
  self.quantity = quantity
19326
20828
  self.started_quantity = started_quantity
19327
20829
  self.ongoing_quantity = ongoing_quantity
20830
+ self.available_to_start_quantity = available_to_start_quantity
19328
20831
  self.work_instructions = work_instructions
19329
20832
  self.note = note
19330
20833
  self.fixture = fixture
@@ -19340,11 +20843,14 @@ class ProductionResourceDto(_serialization.Model):
19340
20843
  :vartype id: str
19341
20844
  :ivar name:
19342
20845
  :vartype name: str
20846
+ :ivar department:
20847
+ :vartype department: ~ignos.api.client.models.DepartmentDto
19343
20848
  """
19344
20849
 
19345
20850
  _attribute_map = {
19346
20851
  "id": {"key": "id", "type": "str"},
19347
20852
  "name": {"key": "name", "type": "str"},
20853
+ "department": {"key": "department", "type": "DepartmentDto"},
19348
20854
  }
19349
20855
 
19350
20856
  def __init__(
@@ -19352,6 +20858,7 @@ class ProductionResourceDto(_serialization.Model):
19352
20858
  *,
19353
20859
  id: Optional[str] = None, # pylint: disable=redefined-builtin
19354
20860
  name: Optional[str] = None,
20861
+ department: Optional["_models.DepartmentDto"] = None,
19355
20862
  **kwargs: Any
19356
20863
  ) -> None:
19357
20864
  """
@@ -19359,10 +20866,108 @@ class ProductionResourceDto(_serialization.Model):
19359
20866
  :paramtype id: str
19360
20867
  :keyword name:
19361
20868
  :paramtype name: str
20869
+ :keyword department:
20870
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
19362
20871
  """
19363
20872
  super().__init__(**kwargs)
19364
20873
  self.id = id
19365
20874
  self.name = name
20875
+ self.department = department
20876
+
20877
+
20878
+ class ProductionScheduleFiltersDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
20879
+ """ProductionScheduleFiltersDto.
20880
+
20881
+ :ivar part_numbers:
20882
+ :vartype part_numbers: list[~ignos.api.client.models.FilterValueWithQuantity]
20883
+ :ivar bom_positions:
20884
+ :vartype bom_positions: list[~ignos.api.client.models.FilterValueWithQuantity]
20885
+ :ivar project_ids:
20886
+ :vartype project_ids: list[~ignos.api.client.models.FilterValueWithQuantity]
20887
+ :ivar part_names:
20888
+ :vartype part_names: list[~ignos.api.client.models.FilterValueWithQuantity]
20889
+ :ivar work_order_ids:
20890
+ :vartype work_order_ids: list[~ignos.api.client.models.FilterValueWithQuantity]
20891
+ :ivar materials:
20892
+ :vartype materials: list[~ignos.api.client.models.FilterValueWithQuantity]
20893
+ :ivar descriptions:
20894
+ :vartype descriptions: list[~ignos.api.client.models.FilterValueWithQuantity]
20895
+ :ivar operations_with_available_work:
20896
+ :vartype operations_with_available_work: int
20897
+ :ivar operation_statuses:
20898
+ :vartype operation_statuses: list[~ignos.api.client.models.OperationStatusFilterWithQuantity]
20899
+ :ivar last_operation:
20900
+ :vartype last_operation: ~datetime.datetime
20901
+ :ivar first_operation:
20902
+ :vartype first_operation: ~datetime.datetime
20903
+ """
20904
+
20905
+ _attribute_map = {
20906
+ "part_numbers": {"key": "partNumbers", "type": "[FilterValueWithQuantity]"},
20907
+ "bom_positions": {"key": "bomPositions", "type": "[FilterValueWithQuantity]"},
20908
+ "project_ids": {"key": "projectIds", "type": "[FilterValueWithQuantity]"},
20909
+ "part_names": {"key": "partNames", "type": "[FilterValueWithQuantity]"},
20910
+ "work_order_ids": {"key": "workOrderIds", "type": "[FilterValueWithQuantity]"},
20911
+ "materials": {"key": "materials", "type": "[FilterValueWithQuantity]"},
20912
+ "descriptions": {"key": "descriptions", "type": "[FilterValueWithQuantity]"},
20913
+ "operations_with_available_work": {"key": "operationsWithAvailableWork", "type": "int"},
20914
+ "operation_statuses": {"key": "operationStatuses", "type": "[OperationStatusFilterWithQuantity]"},
20915
+ "last_operation": {"key": "lastOperation", "type": "iso-8601"},
20916
+ "first_operation": {"key": "firstOperation", "type": "iso-8601"},
20917
+ }
20918
+
20919
+ def __init__(
20920
+ self,
20921
+ *,
20922
+ part_numbers: Optional[List["_models.FilterValueWithQuantity"]] = None,
20923
+ bom_positions: Optional[List["_models.FilterValueWithQuantity"]] = None,
20924
+ project_ids: Optional[List["_models.FilterValueWithQuantity"]] = None,
20925
+ part_names: Optional[List["_models.FilterValueWithQuantity"]] = None,
20926
+ work_order_ids: Optional[List["_models.FilterValueWithQuantity"]] = None,
20927
+ materials: Optional[List["_models.FilterValueWithQuantity"]] = None,
20928
+ descriptions: Optional[List["_models.FilterValueWithQuantity"]] = None,
20929
+ operations_with_available_work: Optional[int] = None,
20930
+ operation_statuses: Optional[List["_models.OperationStatusFilterWithQuantity"]] = None,
20931
+ last_operation: Optional[datetime.datetime] = None,
20932
+ first_operation: Optional[datetime.datetime] = None,
20933
+ **kwargs: Any
20934
+ ) -> None:
20935
+ """
20936
+ :keyword part_numbers:
20937
+ :paramtype part_numbers: list[~ignos.api.client.models.FilterValueWithQuantity]
20938
+ :keyword bom_positions:
20939
+ :paramtype bom_positions: list[~ignos.api.client.models.FilterValueWithQuantity]
20940
+ :keyword project_ids:
20941
+ :paramtype project_ids: list[~ignos.api.client.models.FilterValueWithQuantity]
20942
+ :keyword part_names:
20943
+ :paramtype part_names: list[~ignos.api.client.models.FilterValueWithQuantity]
20944
+ :keyword work_order_ids:
20945
+ :paramtype work_order_ids: list[~ignos.api.client.models.FilterValueWithQuantity]
20946
+ :keyword materials:
20947
+ :paramtype materials: list[~ignos.api.client.models.FilterValueWithQuantity]
20948
+ :keyword descriptions:
20949
+ :paramtype descriptions: list[~ignos.api.client.models.FilterValueWithQuantity]
20950
+ :keyword operations_with_available_work:
20951
+ :paramtype operations_with_available_work: int
20952
+ :keyword operation_statuses:
20953
+ :paramtype operation_statuses: list[~ignos.api.client.models.OperationStatusFilterWithQuantity]
20954
+ :keyword last_operation:
20955
+ :paramtype last_operation: ~datetime.datetime
20956
+ :keyword first_operation:
20957
+ :paramtype first_operation: ~datetime.datetime
20958
+ """
20959
+ super().__init__(**kwargs)
20960
+ self.part_numbers = part_numbers
20961
+ self.bom_positions = bom_positions
20962
+ self.project_ids = project_ids
20963
+ self.part_names = part_names
20964
+ self.work_order_ids = work_order_ids
20965
+ self.materials = materials
20966
+ self.descriptions = descriptions
20967
+ self.operations_with_available_work = operations_with_available_work
20968
+ self.operation_statuses = operation_statuses
20969
+ self.last_operation = last_operation
20970
+ self.first_operation = first_operation
19366
20971
 
19367
20972
 
19368
20973
  class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
@@ -19382,6 +20987,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19382
20987
  :vartype planned_start: ~datetime.datetime
19383
20988
  :ivar planned_end:
19384
20989
  :vartype planned_end: ~datetime.datetime
20990
+ :ivar actual_start:
20991
+ :vartype actual_start: ~datetime.datetime
20992
+ :ivar actual_end:
20993
+ :vartype actual_end: ~datetime.datetime
19385
20994
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19386
20995
  "Stopped".
19387
20996
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19423,6 +21032,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19423
21032
  :vartype resource_id: str
19424
21033
  :ivar resource_name: Required.
19425
21034
  :vartype resource_name: str
21035
+ :ivar resource_department_number:
21036
+ :vartype resource_department_number: str
21037
+ :ivar resource_department_name:
21038
+ :vartype resource_department_name: str
19426
21039
  :ivar bom_position:
19427
21040
  :vartype bom_position: str
19428
21041
  :ivar customer_name:
@@ -19445,8 +21058,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19445
21058
  :vartype tool_number: str
19446
21059
  :ivar prerequisites: Required.
19447
21060
  :vartype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
19448
- :ivar end_location:
19449
- :vartype end_location: str
21061
+ :ivar delivery_location:
21062
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
19450
21063
  :ivar drawing:
19451
21064
  :vartype drawing: ~ignos.api.client.models.DrawingDto
19452
21065
  :ivar drawing_number:
@@ -19484,6 +21097,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19484
21097
  "operation_name": {"key": "operationName", "type": "str"},
19485
21098
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
19486
21099
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
21100
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
21101
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
19487
21102
  "status": {"key": "status", "type": "str"},
19488
21103
  "total_planned_hours": {"key": "totalPlannedHours", "type": "float"},
19489
21104
  "total_used_hours": {"key": "totalUsedHours", "type": "float"},
@@ -19504,6 +21119,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19504
21119
  "part_material": {"key": "partMaterial", "type": "str"},
19505
21120
  "resource_id": {"key": "resourceId", "type": "str"},
19506
21121
  "resource_name": {"key": "resourceName", "type": "str"},
21122
+ "resource_department_number": {"key": "resourceDepartmentNumber", "type": "str"},
21123
+ "resource_department_name": {"key": "resourceDepartmentName", "type": "str"},
19507
21124
  "bom_position": {"key": "bomPosition", "type": "str"},
19508
21125
  "customer_name": {"key": "customerName", "type": "str"},
19509
21126
  "previous_operation": {"key": "previousOperation", "type": "SurroundingOperationDto"},
@@ -19515,7 +21132,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19515
21132
  "program": {"key": "program", "type": "str"},
19516
21133
  "tool_number": {"key": "toolNumber", "type": "str"},
19517
21134
  "prerequisites": {"key": "prerequisites", "type": "OperationPrerequisitesDto"},
19518
- "end_location": {"key": "endLocation", "type": "str"},
21135
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
19519
21136
  "drawing": {"key": "drawing", "type": "DrawingDto"},
19520
21137
  "drawing_number": {"key": "drawingNumber", "type": "str"},
19521
21138
  "disable_setup_registration": {"key": "disableSetupRegistration", "type": "bool"},
@@ -19542,6 +21159,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19542
21159
  disable_setup_registration: bool,
19543
21160
  material_pick_status: Union[str, "_models.MaterialPickStatus"],
19544
21161
  planned_end: Optional[datetime.datetime] = None,
21162
+ actual_start: Optional[datetime.datetime] = None,
21163
+ actual_end: Optional[datetime.datetime] = None,
19545
21164
  total_planned_hours: Optional[float] = None,
19546
21165
  total_used_hours: Optional[float] = None,
19547
21166
  planned_setup_hours: Optional[float] = None,
@@ -19554,6 +21173,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19554
21173
  part_revision: Optional[str] = None,
19555
21174
  part_name: Optional[str] = None,
19556
21175
  part_material: Optional[str] = None,
21176
+ resource_department_number: Optional[str] = None,
21177
+ resource_department_name: Optional[str] = None,
19557
21178
  bom_position: Optional[str] = None,
19558
21179
  customer_name: Optional[str] = None,
19559
21180
  previous_operation: Optional["_models.SurroundingOperationDto"] = None,
@@ -19564,7 +21185,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19564
21185
  fixture: Optional[str] = None,
19565
21186
  program: Optional[str] = None,
19566
21187
  tool_number: Optional[str] = None,
19567
- end_location: Optional[str] = None,
21188
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
19568
21189
  drawing: Optional["_models.DrawingDto"] = None,
19569
21190
  drawing_number: Optional[str] = None,
19570
21191
  **kwargs: Any
@@ -19582,6 +21203,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19582
21203
  :paramtype planned_start: ~datetime.datetime
19583
21204
  :keyword planned_end:
19584
21205
  :paramtype planned_end: ~datetime.datetime
21206
+ :keyword actual_start:
21207
+ :paramtype actual_start: ~datetime.datetime
21208
+ :keyword actual_end:
21209
+ :paramtype actual_end: ~datetime.datetime
19585
21210
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19586
21211
  "Stopped".
19587
21212
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19623,6 +21248,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19623
21248
  :paramtype resource_id: str
19624
21249
  :keyword resource_name: Required.
19625
21250
  :paramtype resource_name: str
21251
+ :keyword resource_department_number:
21252
+ :paramtype resource_department_number: str
21253
+ :keyword resource_department_name:
21254
+ :paramtype resource_department_name: str
19626
21255
  :keyword bom_position:
19627
21256
  :paramtype bom_position: str
19628
21257
  :keyword customer_name:
@@ -19645,8 +21274,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19645
21274
  :paramtype tool_number: str
19646
21275
  :keyword prerequisites: Required.
19647
21276
  :paramtype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
19648
- :keyword end_location:
19649
- :paramtype end_location: str
21277
+ :keyword delivery_location:
21278
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
19650
21279
  :keyword drawing:
19651
21280
  :paramtype drawing: ~ignos.api.client.models.DrawingDto
19652
21281
  :keyword drawing_number:
@@ -19664,6 +21293,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19664
21293
  self.operation_name = operation_name
19665
21294
  self.planned_start = planned_start
19666
21295
  self.planned_end = planned_end
21296
+ self.actual_start = actual_start
21297
+ self.actual_end = actual_end
19667
21298
  self.status = status
19668
21299
  self.total_planned_hours = total_planned_hours
19669
21300
  self.total_used_hours = total_used_hours
@@ -19684,6 +21315,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19684
21315
  self.part_material = part_material
19685
21316
  self.resource_id = resource_id
19686
21317
  self.resource_name = resource_name
21318
+ self.resource_department_number = resource_department_number
21319
+ self.resource_department_name = resource_department_name
19687
21320
  self.bom_position = bom_position
19688
21321
  self.customer_name = customer_name
19689
21322
  self.previous_operation = previous_operation
@@ -19695,7 +21328,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
19695
21328
  self.program = program
19696
21329
  self.tool_number = tool_number
19697
21330
  self.prerequisites = prerequisites
19698
- self.end_location = end_location
21331
+ self.delivery_location = delivery_location
19699
21332
  self.drawing = drawing
19700
21333
  self.drawing_number = drawing_number
19701
21334
  self.disable_setup_registration = disable_setup_registration
@@ -20138,6 +21771,8 @@ class ResourceDto(_serialization.Model):
20138
21771
  :vartype resource_type: str
20139
21772
  :ivar resource_group_id:
20140
21773
  :vartype resource_group_id: str
21774
+ :ivar department:
21775
+ :vartype department: ~ignos.api.client.models.DepartmentDto
20141
21776
  """
20142
21777
 
20143
21778
  _validation = {
@@ -20152,6 +21787,7 @@ class ResourceDto(_serialization.Model):
20152
21787
  "description": {"key": "description", "type": "str"},
20153
21788
  "resource_type": {"key": "resourceType", "type": "str"},
20154
21789
  "resource_group_id": {"key": "resourceGroupId", "type": "str"},
21790
+ "department": {"key": "department", "type": "DepartmentDto"},
20155
21791
  }
20156
21792
 
20157
21793
  def __init__(
@@ -20163,6 +21799,7 @@ class ResourceDto(_serialization.Model):
20163
21799
  description: Optional[str] = None,
20164
21800
  resource_type: Optional[str] = None,
20165
21801
  resource_group_id: Optional[str] = None,
21802
+ department: Optional["_models.DepartmentDto"] = None,
20166
21803
  **kwargs: Any
20167
21804
  ) -> None:
20168
21805
  """
@@ -20178,6 +21815,8 @@ class ResourceDto(_serialization.Model):
20178
21815
  :paramtype resource_type: str
20179
21816
  :keyword resource_group_id:
20180
21817
  :paramtype resource_group_id: str
21818
+ :keyword department:
21819
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
20181
21820
  """
20182
21821
  super().__init__(**kwargs)
20183
21822
  self.id = id
@@ -20186,6 +21825,7 @@ class ResourceDto(_serialization.Model):
20186
21825
  self.description = description
20187
21826
  self.resource_type = resource_type
20188
21827
  self.resource_group_id = resource_group_id
21828
+ self.department = department
20189
21829
 
20190
21830
 
20191
21831
  class ResourceExistDto(_serialization.Model):
@@ -20244,6 +21884,8 @@ class ResourceGroupDto(_serialization.Model):
20244
21884
  :vartype name: str
20245
21885
  :ivar resources: Required.
20246
21886
  :vartype resources: list[~ignos.api.client.models.ProductionResourceDto]
21887
+ :ivar department:
21888
+ :vartype department: ~ignos.api.client.models.DepartmentDto
20247
21889
  """
20248
21890
 
20249
21891
  _validation = {
@@ -20254,6 +21896,7 @@ class ResourceGroupDto(_serialization.Model):
20254
21896
  "id": {"key": "id", "type": "str"},
20255
21897
  "name": {"key": "name", "type": "str"},
20256
21898
  "resources": {"key": "resources", "type": "[ProductionResourceDto]"},
21899
+ "department": {"key": "department", "type": "DepartmentDto"},
20257
21900
  }
20258
21901
 
20259
21902
  def __init__(
@@ -20262,6 +21905,7 @@ class ResourceGroupDto(_serialization.Model):
20262
21905
  resources: List["_models.ProductionResourceDto"],
20263
21906
  id: Optional[str] = None, # pylint: disable=redefined-builtin
20264
21907
  name: Optional[str] = None,
21908
+ department: Optional["_models.DepartmentDto"] = None,
20265
21909
  **kwargs: Any
20266
21910
  ) -> None:
20267
21911
  """
@@ -20271,11 +21915,14 @@ class ResourceGroupDto(_serialization.Model):
20271
21915
  :paramtype name: str
20272
21916
  :keyword resources: Required.
20273
21917
  :paramtype resources: list[~ignos.api.client.models.ProductionResourceDto]
21918
+ :keyword department:
21919
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
20274
21920
  """
20275
21921
  super().__init__(**kwargs)
20276
21922
  self.id = id
20277
21923
  self.name = name
20278
21924
  self.resources = resources
21925
+ self.department = department
20279
21926
 
20280
21927
 
20281
21928
  class RightAngledTriangleDto(_serialization.Model):
@@ -20631,6 +22278,39 @@ class SaveValueResponseDto(_serialization.Model):
20631
22278
  self.tools = tools
20632
22279
 
20633
22280
 
22281
+ class ScheduledWorkSummaryDto(_serialization.Model):
22282
+ """ScheduledWorkSummaryDto.
22283
+
22284
+ All required parameters must be populated in order to send to server.
22285
+
22286
+ :ivar number_of_operations: Required.
22287
+ :vartype number_of_operations: int
22288
+ :ivar remaining_work: Required.
22289
+ :vartype remaining_work: float
22290
+ """
22291
+
22292
+ _validation = {
22293
+ "number_of_operations": {"required": True},
22294
+ "remaining_work": {"required": True},
22295
+ }
22296
+
22297
+ _attribute_map = {
22298
+ "number_of_operations": {"key": "numberOfOperations", "type": "int"},
22299
+ "remaining_work": {"key": "remainingWork", "type": "float"},
22300
+ }
22301
+
22302
+ def __init__(self, *, number_of_operations: int, remaining_work: float, **kwargs: Any) -> None:
22303
+ """
22304
+ :keyword number_of_operations: Required.
22305
+ :paramtype number_of_operations: int
22306
+ :keyword remaining_work: Required.
22307
+ :paramtype remaining_work: float
22308
+ """
22309
+ super().__init__(**kwargs)
22310
+ self.number_of_operations = number_of_operations
22311
+ self.remaining_work = remaining_work
22312
+
22313
+
20634
22314
  class SchemaFeedbackCreatedDto(_serialization.Model):
20635
22315
  """SchemaFeedbackCreatedDto.
20636
22316
 
@@ -20941,6 +22621,46 @@ class SchemaInstanceElementDto(_serialization.Model):
20941
22621
  self.disabled = disabled
20942
22622
 
20943
22623
 
22624
+ class SearchWorkOrderDto(_serialization.Model):
22625
+ """SearchWorkOrderDto.
22626
+
22627
+ All required parameters must be populated in order to send to server.
22628
+
22629
+ :ivar work_order_id: Required.
22630
+ :vartype work_order_id: str
22631
+ :ivar part_name:
22632
+ :vartype part_name: str
22633
+ :ivar part_number:
22634
+ :vartype part_number: str
22635
+ """
22636
+
22637
+ _validation = {
22638
+ "work_order_id": {"required": True, "min_length": 1},
22639
+ }
22640
+
22641
+ _attribute_map = {
22642
+ "work_order_id": {"key": "workOrderId", "type": "str"},
22643
+ "part_name": {"key": "partName", "type": "str"},
22644
+ "part_number": {"key": "partNumber", "type": "str"},
22645
+ }
22646
+
22647
+ def __init__(
22648
+ self, *, work_order_id: str, part_name: Optional[str] = None, part_number: Optional[str] = None, **kwargs: Any
22649
+ ) -> None:
22650
+ """
22651
+ :keyword work_order_id: Required.
22652
+ :paramtype work_order_id: str
22653
+ :keyword part_name:
22654
+ :paramtype part_name: str
22655
+ :keyword part_number:
22656
+ :paramtype part_number: str
22657
+ """
22658
+ super().__init__(**kwargs)
22659
+ self.work_order_id = work_order_id
22660
+ self.part_name = part_name
22661
+ self.part_number = part_number
22662
+
22663
+
20944
22664
  class SelectProductionCompany(_serialization.Model):
20945
22665
  """SelectProductionCompany.
20946
22666
 
@@ -21258,18 +22978,58 @@ class StartCamTransferToMachine(_serialization.Model):
21258
22978
  "cnc_machine_id": {"key": "cncMachineId", "type": "str"},
21259
22979
  }
21260
22980
 
21261
- def __init__(self, *, path: str, content: str, cnc_machine_id: str, **kwargs: Any) -> None:
22981
+ def __init__(self, *, path: str, content: str, cnc_machine_id: str, **kwargs: Any) -> None:
22982
+ """
22983
+ :keyword path: Required.
22984
+ :paramtype path: str
22985
+ :keyword content: Required.
22986
+ :paramtype content: str
22987
+ :keyword cnc_machine_id: Required.
22988
+ :paramtype cnc_machine_id: str
22989
+ """
22990
+ super().__init__(**kwargs)
22991
+ self.path = path
22992
+ self.content = content
22993
+ self.cnc_machine_id = cnc_machine_id
22994
+
22995
+
22996
+ class StartCamTransferToMachineFromTempUpload(_serialization.Model):
22997
+ """StartCamTransferToMachineFromTempUpload.
22998
+
22999
+ All required parameters must be populated in order to send to server.
23000
+
23001
+ :ivar upload_key: Required.
23002
+ :vartype upload_key: str
23003
+ :ivar filename: Required.
23004
+ :vartype filename: str
23005
+ :ivar cnc_machine_id: Required.
23006
+ :vartype cnc_machine_id: str
23007
+ """
23008
+
23009
+ _validation = {
23010
+ "upload_key": {"required": True, "min_length": 1},
23011
+ "filename": {"required": True, "min_length": 1},
23012
+ "cnc_machine_id": {"required": True, "min_length": 1},
23013
+ }
23014
+
23015
+ _attribute_map = {
23016
+ "upload_key": {"key": "uploadKey", "type": "str"},
23017
+ "filename": {"key": "filename", "type": "str"},
23018
+ "cnc_machine_id": {"key": "cncMachineId", "type": "str"},
23019
+ }
23020
+
23021
+ def __init__(self, *, upload_key: str, filename: str, cnc_machine_id: str, **kwargs: Any) -> None:
21262
23022
  """
21263
- :keyword path: Required.
21264
- :paramtype path: str
21265
- :keyword content: Required.
21266
- :paramtype content: str
23023
+ :keyword upload_key: Required.
23024
+ :paramtype upload_key: str
23025
+ :keyword filename: Required.
23026
+ :paramtype filename: str
21267
23027
  :keyword cnc_machine_id: Required.
21268
23028
  :paramtype cnc_machine_id: str
21269
23029
  """
21270
23030
  super().__init__(**kwargs)
21271
- self.path = path
21272
- self.content = content
23031
+ self.upload_key = upload_key
23032
+ self.filename = filename
21273
23033
  self.cnc_machine_id = cnc_machine_id
21274
23034
 
21275
23035
 
@@ -21534,6 +23294,45 @@ class StateDto(_serialization.Model):
21534
23294
  self.seconds = seconds
21535
23295
 
21536
23296
 
23297
+ class StoppedWorkDto(_serialization.Model):
23298
+ """StoppedWorkDto.
23299
+
23300
+ All required parameters must be populated in order to send to server.
23301
+
23302
+ :ivar operation: Required.
23303
+ :vartype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
23304
+ :ivar last_work_activity: Required.
23305
+ :vartype last_work_activity: ~ignos.api.client.models.CurrentWorkDto
23306
+ """
23307
+
23308
+ _validation = {
23309
+ "operation": {"required": True},
23310
+ "last_work_activity": {"required": True},
23311
+ }
23312
+
23313
+ _attribute_map = {
23314
+ "operation": {"key": "operation", "type": "ProductionScheduleOperationDto"},
23315
+ "last_work_activity": {"key": "lastWorkActivity", "type": "CurrentWorkDto"},
23316
+ }
23317
+
23318
+ def __init__(
23319
+ self,
23320
+ *,
23321
+ operation: "_models.ProductionScheduleOperationDto",
23322
+ last_work_activity: "_models.CurrentWorkDto",
23323
+ **kwargs: Any
23324
+ ) -> None:
23325
+ """
23326
+ :keyword operation: Required.
23327
+ :paramtype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
23328
+ :keyword last_work_activity: Required.
23329
+ :paramtype last_work_activity: ~ignos.api.client.models.CurrentWorkDto
23330
+ """
23331
+ super().__init__(**kwargs)
23332
+ self.operation = operation
23333
+ self.last_work_activity = last_work_activity
23334
+
23335
+
21537
23336
  class StopWorkOperationRequest(_serialization.Model):
21538
23337
  """StopWorkOperationRequest.
21539
23338
 
@@ -21754,10 +23553,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21754
23553
  :vartype operation: int
21755
23554
  :ivar operation_name: Required.
21756
23555
  :vartype operation_name: str
21757
- :ivar planned_start: Required.
23556
+ :ivar planned_start:
21758
23557
  :vartype planned_start: ~datetime.datetime
21759
23558
  :ivar planned_end:
21760
23559
  :vartype planned_end: ~datetime.datetime
23560
+ :ivar actual_start:
23561
+ :vartype actual_start: ~datetime.datetime
23562
+ :ivar actual_end:
23563
+ :vartype actual_end: ~datetime.datetime
21761
23564
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
21762
23565
  "Stopped".
21763
23566
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -21767,6 +23570,10 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21767
23570
  :vartype resource_id: str
21768
23571
  :ivar resource_name:
21769
23572
  :vartype resource_name: str
23573
+ :ivar resource_department_number:
23574
+ :vartype resource_department_number: str
23575
+ :ivar resource_department_name:
23576
+ :vartype resource_department_name: str
21770
23577
  :ivar produced_quantity: Required.
21771
23578
  :vartype produced_quantity: float
21772
23579
  :ivar scrapped_quantity: Required.
@@ -21779,7 +23586,6 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21779
23586
  "id": {"required": True, "min_length": 1},
21780
23587
  "operation": {"required": True},
21781
23588
  "operation_name": {"required": True, "min_length": 1},
21782
- "planned_start": {"required": True},
21783
23589
  "status": {"required": True},
21784
23590
  "produced_quantity": {"required": True},
21785
23591
  "scrapped_quantity": {"required": True},
@@ -21791,10 +23597,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21791
23597
  "operation_name": {"key": "operationName", "type": "str"},
21792
23598
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
21793
23599
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
23600
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
23601
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
21794
23602
  "status": {"key": "status", "type": "str"},
21795
23603
  "resource_group_id": {"key": "resourceGroupId", "type": "str"},
21796
23604
  "resource_id": {"key": "resourceId", "type": "str"},
21797
23605
  "resource_name": {"key": "resourceName", "type": "str"},
23606
+ "resource_department_number": {"key": "resourceDepartmentNumber", "type": "str"},
23607
+ "resource_department_name": {"key": "resourceDepartmentName", "type": "str"},
21798
23608
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
21799
23609
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
21800
23610
  "started_quantity": {"key": "startedQuantity", "type": "float"},
@@ -21806,14 +23616,18 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21806
23616
  id: str, # pylint: disable=redefined-builtin
21807
23617
  operation: int,
21808
23618
  operation_name: str,
21809
- planned_start: datetime.datetime,
21810
23619
  status: Union[str, "_models.OperationStatusDto"],
21811
23620
  produced_quantity: float,
21812
23621
  scrapped_quantity: float,
23622
+ planned_start: Optional[datetime.datetime] = None,
21813
23623
  planned_end: Optional[datetime.datetime] = None,
23624
+ actual_start: Optional[datetime.datetime] = None,
23625
+ actual_end: Optional[datetime.datetime] = None,
21814
23626
  resource_group_id: Optional[str] = None,
21815
23627
  resource_id: Optional[str] = None,
21816
23628
  resource_name: Optional[str] = None,
23629
+ resource_department_number: Optional[str] = None,
23630
+ resource_department_name: Optional[str] = None,
21817
23631
  started_quantity: Optional[float] = None,
21818
23632
  **kwargs: Any
21819
23633
  ) -> None:
@@ -21824,10 +23638,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21824
23638
  :paramtype operation: int
21825
23639
  :keyword operation_name: Required.
21826
23640
  :paramtype operation_name: str
21827
- :keyword planned_start: Required.
23641
+ :keyword planned_start:
21828
23642
  :paramtype planned_start: ~datetime.datetime
21829
23643
  :keyword planned_end:
21830
23644
  :paramtype planned_end: ~datetime.datetime
23645
+ :keyword actual_start:
23646
+ :paramtype actual_start: ~datetime.datetime
23647
+ :keyword actual_end:
23648
+ :paramtype actual_end: ~datetime.datetime
21831
23649
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
21832
23650
  "Stopped".
21833
23651
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -21837,6 +23655,10 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21837
23655
  :paramtype resource_id: str
21838
23656
  :keyword resource_name:
21839
23657
  :paramtype resource_name: str
23658
+ :keyword resource_department_number:
23659
+ :paramtype resource_department_number: str
23660
+ :keyword resource_department_name:
23661
+ :paramtype resource_department_name: str
21840
23662
  :keyword produced_quantity: Required.
21841
23663
  :paramtype produced_quantity: float
21842
23664
  :keyword scrapped_quantity: Required.
@@ -21850,10 +23672,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
21850
23672
  self.operation_name = operation_name
21851
23673
  self.planned_start = planned_start
21852
23674
  self.planned_end = planned_end
23675
+ self.actual_start = actual_start
23676
+ self.actual_end = actual_end
21853
23677
  self.status = status
21854
23678
  self.resource_group_id = resource_group_id
21855
23679
  self.resource_id = resource_id
21856
23680
  self.resource_name = resource_name
23681
+ self.resource_department_number = resource_department_number
23682
+ self.resource_department_name = resource_department_name
21857
23683
  self.produced_quantity = produced_quantity
21858
23684
  self.scrapped_quantity = scrapped_quantity
21859
23685
  self.started_quantity = started_quantity
@@ -22065,7 +23891,7 @@ class SustainabilityPartInfoDto(_serialization.Model):
22065
23891
  self.part_name = part_name
22066
23892
 
22067
23893
 
22068
- class TraceDto(_serialization.Model):
23894
+ class TraceDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
22069
23895
  """TraceDto.
22070
23896
 
22071
23897
  All required parameters must be populated in order to send to server.
@@ -22088,6 +23914,11 @@ class TraceDto(_serialization.Model):
22088
23914
  :vartype operations: list[~ignos.api.client.models.WorkOrderTraceOperationDto]
22089
23915
  :ivar trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
22090
23916
  :vartype trace_type: str or ~ignos.api.client.models.TraceType
23917
+ :ivar trace_status: Required. Known values are: "None", "Unavailable", "NotNeeded", "Partial",
23918
+ and "Completed".
23919
+ :vartype trace_status: str or ~ignos.api.client.models.TraceStatus
23920
+ :ivar manual_completed: Required.
23921
+ :vartype manual_completed: bool
22091
23922
  :ivar material_lines_missing_trace_information: Required.
22092
23923
  :vartype material_lines_missing_trace_information: list[int]
22093
23924
  """
@@ -22102,6 +23933,8 @@ class TraceDto(_serialization.Model):
22102
23933
  "override_material_details": {"required": True},
22103
23934
  "operations": {"required": True},
22104
23935
  "trace_type": {"required": True},
23936
+ "trace_status": {"required": True},
23937
+ "manual_completed": {"required": True},
22105
23938
  "material_lines_missing_trace_information": {"required": True},
22106
23939
  }
22107
23940
 
@@ -22115,6 +23948,8 @@ class TraceDto(_serialization.Model):
22115
23948
  "override_material_details": {"key": "overrideMaterialDetails", "type": "[TraceMaterialDetailDto]"},
22116
23949
  "operations": {"key": "operations", "type": "[WorkOrderTraceOperationDto]"},
22117
23950
  "trace_type": {"key": "traceType", "type": "str"},
23951
+ "trace_status": {"key": "traceStatus", "type": "str"},
23952
+ "manual_completed": {"key": "manualCompleted", "type": "bool"},
22118
23953
  "material_lines_missing_trace_information": {"key": "materialLinesMissingTraceInformation", "type": "[int]"},
22119
23954
  }
22120
23955
 
@@ -22130,6 +23965,8 @@ class TraceDto(_serialization.Model):
22130
23965
  override_material_details: List["_models.TraceMaterialDetailDto"],
22131
23966
  operations: List["_models.WorkOrderTraceOperationDto"],
22132
23967
  trace_type: Union[str, "_models.TraceType"],
23968
+ trace_status: Union[str, "_models.TraceStatus"],
23969
+ manual_completed: bool,
22133
23970
  material_lines_missing_trace_information: List[int],
22134
23971
  **kwargs: Any
22135
23972
  ) -> None:
@@ -22152,6 +23989,11 @@ class TraceDto(_serialization.Model):
22152
23989
  :paramtype operations: list[~ignos.api.client.models.WorkOrderTraceOperationDto]
22153
23990
  :keyword trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
22154
23991
  :paramtype trace_type: str or ~ignos.api.client.models.TraceType
23992
+ :keyword trace_status: Required. Known values are: "None", "Unavailable", "NotNeeded",
23993
+ "Partial", and "Completed".
23994
+ :paramtype trace_status: str or ~ignos.api.client.models.TraceStatus
23995
+ :keyword manual_completed: Required.
23996
+ :paramtype manual_completed: bool
22155
23997
  :keyword material_lines_missing_trace_information: Required.
22156
23998
  :paramtype material_lines_missing_trace_information: list[int]
22157
23999
  """
@@ -22165,6 +24007,8 @@ class TraceDto(_serialization.Model):
22165
24007
  self.override_material_details = override_material_details
22166
24008
  self.operations = operations
22167
24009
  self.trace_type = trace_type
24010
+ self.trace_status = trace_status
24011
+ self.manual_completed = manual_completed
22168
24012
  self.material_lines_missing_trace_information = material_lines_missing_trace_information
22169
24013
 
22170
24014
 
@@ -22482,74 +24326,333 @@ class TraceWorkOrderListDto(_serialization.Model):
22482
24326
  **kwargs: Any
22483
24327
  ) -> None:
22484
24328
  """
22485
- :keyword id: Required.
22486
- :paramtype id: str
22487
- :keyword part: Required.
22488
- :paramtype part: ~ignos.api.client.models.PartDto
22489
- :keyword quantity: Required.
22490
- :paramtype quantity: float
22491
- :keyword unit:
22492
- :paramtype unit: str
22493
- :keyword status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed",
22494
- "ProductionFinished", and "Deleted".
22495
- :paramtype status: str or ~ignos.api.client.models.WorkorderStatus
22496
- :keyword planned_start:
22497
- :paramtype planned_start: ~datetime.datetime
22498
- :keyword planned_end:
22499
- :paramtype planned_end: ~datetime.datetime
22500
- :keyword produced_quantity:
22501
- :paramtype produced_quantity: float
22502
- :keyword scrapped_quantity:
22503
- :paramtype scrapped_quantity: float
22504
- :keyword customer_order_reference:
22505
- :paramtype customer_order_reference:
22506
- ~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
24329
+ :keyword id: Required.
24330
+ :paramtype id: str
24331
+ :keyword part: Required.
24332
+ :paramtype part: ~ignos.api.client.models.PartDto
24333
+ :keyword quantity: Required.
24334
+ :paramtype quantity: float
24335
+ :keyword unit:
24336
+ :paramtype unit: str
24337
+ :keyword status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed",
24338
+ "ProductionFinished", and "Deleted".
24339
+ :paramtype status: str or ~ignos.api.client.models.WorkorderStatus
24340
+ :keyword planned_start:
24341
+ :paramtype planned_start: ~datetime.datetime
24342
+ :keyword planned_end:
24343
+ :paramtype planned_end: ~datetime.datetime
24344
+ :keyword produced_quantity:
24345
+ :paramtype produced_quantity: float
24346
+ :keyword scrapped_quantity:
24347
+ :paramtype scrapped_quantity: float
24348
+ :keyword customer_order_reference:
24349
+ :paramtype customer_order_reference:
24350
+ ~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
24351
+ """
24352
+ super().__init__(**kwargs)
24353
+ self.id = id
24354
+ self.part = part
24355
+ self.quantity = quantity
24356
+ self.unit = unit
24357
+ self.status = status
24358
+ self.planned_start = planned_start
24359
+ self.planned_end = planned_end
24360
+ self.produced_quantity = produced_quantity
24361
+ self.scrapped_quantity = scrapped_quantity
24362
+ self.customer_order_reference = customer_order_reference
24363
+
24364
+
24365
+ class TraceWorkOrderListDtoPagedResult(_serialization.Model):
24366
+ """TraceWorkOrderListDtoPagedResult.
24367
+
24368
+ All required parameters must be populated in order to send to server.
24369
+
24370
+ :ivar results: Required.
24371
+ :vartype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
24372
+ :ivar continuation_token:
24373
+ :vartype continuation_token: str
24374
+ """
24375
+
24376
+ _validation = {
24377
+ "results": {"required": True},
24378
+ }
24379
+
24380
+ _attribute_map = {
24381
+ "results": {"key": "results", "type": "[TraceWorkOrderListDto]"},
24382
+ "continuation_token": {"key": "continuationToken", "type": "str"},
24383
+ }
24384
+
24385
+ def __init__(
24386
+ self, *, results: List["_models.TraceWorkOrderListDto"], continuation_token: Optional[str] = None, **kwargs: Any
24387
+ ) -> None:
24388
+ """
24389
+ :keyword results: Required.
24390
+ :paramtype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
24391
+ :keyword continuation_token:
24392
+ :paramtype continuation_token: str
24393
+ """
24394
+ super().__init__(**kwargs)
24395
+ self.results = results
24396
+ self.continuation_token = continuation_token
24397
+
24398
+
24399
+ class TrackingEventDto(_serialization.Model):
24400
+ """TrackingEventDto.
24401
+
24402
+ All required parameters must be populated in order to send to server.
24403
+
24404
+ :ivar id: Required.
24405
+ :vartype id: int
24406
+ :ivar created: Required.
24407
+ :vartype created: ~datetime.datetime
24408
+ :ivar created_by: Required.
24409
+ :vartype created_by: str
24410
+ :ivar location: Required.
24411
+ :vartype location: ~ignos.api.client.models.LocationDto
24412
+ :ivar status: Required. Known values are: "Manual", "BookingPending", "BookingCancelled",
24413
+ "BookingInProgress", and "BookingComplete".
24414
+ :vartype status: str or ~ignos.api.client.models.TrackingStatusDto
24415
+ :ivar booking_id:
24416
+ :vartype booking_id: str
24417
+ :ivar comment:
24418
+ :vartype comment: str
24419
+ """
24420
+
24421
+ _validation = {
24422
+ "id": {"required": True},
24423
+ "created": {"required": True},
24424
+ "created_by": {"required": True, "min_length": 1},
24425
+ "location": {"required": True},
24426
+ "status": {"required": True},
24427
+ }
24428
+
24429
+ _attribute_map = {
24430
+ "id": {"key": "id", "type": "int"},
24431
+ "created": {"key": "created", "type": "iso-8601"},
24432
+ "created_by": {"key": "createdBy", "type": "str"},
24433
+ "location": {"key": "location", "type": "LocationDto"},
24434
+ "status": {"key": "status", "type": "str"},
24435
+ "booking_id": {"key": "bookingId", "type": "str"},
24436
+ "comment": {"key": "comment", "type": "str"},
24437
+ }
24438
+
24439
+ def __init__(
24440
+ self,
24441
+ *,
24442
+ id: int, # pylint: disable=redefined-builtin
24443
+ created: datetime.datetime,
24444
+ created_by: str,
24445
+ location: "_models.LocationDto",
24446
+ status: Union[str, "_models.TrackingStatusDto"],
24447
+ booking_id: Optional[str] = None,
24448
+ comment: Optional[str] = None,
24449
+ **kwargs: Any
24450
+ ) -> None:
24451
+ """
24452
+ :keyword id: Required.
24453
+ :paramtype id: int
24454
+ :keyword created: Required.
24455
+ :paramtype created: ~datetime.datetime
24456
+ :keyword created_by: Required.
24457
+ :paramtype created_by: str
24458
+ :keyword location: Required.
24459
+ :paramtype location: ~ignos.api.client.models.LocationDto
24460
+ :keyword status: Required. Known values are: "Manual", "BookingPending", "BookingCancelled",
24461
+ "BookingInProgress", and "BookingComplete".
24462
+ :paramtype status: str or ~ignos.api.client.models.TrackingStatusDto
24463
+ :keyword booking_id:
24464
+ :paramtype booking_id: str
24465
+ :keyword comment:
24466
+ :paramtype comment: str
24467
+ """
24468
+ super().__init__(**kwargs)
24469
+ self.id = id
24470
+ self.created = created
24471
+ self.created_by = created_by
24472
+ self.location = location
24473
+ self.status = status
24474
+ self.booking_id = booking_id
24475
+ self.comment = comment
24476
+
24477
+
24478
+ class TrackingHistoryDto(_serialization.Model):
24479
+ """TrackingHistoryDto.
24480
+
24481
+ All required parameters must be populated in order to send to server.
24482
+
24483
+ :ivar tracking_id: Required.
24484
+ :vartype tracking_id: str
24485
+ :ivar pallet_number: Required.
24486
+ :vartype pallet_number: int
24487
+ :ivar work_order_id: Required.
24488
+ :vartype work_order_id: str
24489
+ :ivar tracking_events: Required.
24490
+ :vartype tracking_events: list[~ignos.api.client.models.TrackingEventDto]
24491
+ """
24492
+
24493
+ _validation = {
24494
+ "tracking_id": {"required": True, "min_length": 1},
24495
+ "pallet_number": {"required": True},
24496
+ "work_order_id": {"required": True, "min_length": 1},
24497
+ "tracking_events": {"required": True},
24498
+ }
24499
+
24500
+ _attribute_map = {
24501
+ "tracking_id": {"key": "trackingId", "type": "str"},
24502
+ "pallet_number": {"key": "palletNumber", "type": "int"},
24503
+ "work_order_id": {"key": "workOrderId", "type": "str"},
24504
+ "tracking_events": {"key": "trackingEvents", "type": "[TrackingEventDto]"},
24505
+ }
24506
+
24507
+ def __init__(
24508
+ self,
24509
+ *,
24510
+ tracking_id: str,
24511
+ pallet_number: int,
24512
+ work_order_id: str,
24513
+ tracking_events: List["_models.TrackingEventDto"],
24514
+ **kwargs: Any
24515
+ ) -> None:
24516
+ """
24517
+ :keyword tracking_id: Required.
24518
+ :paramtype tracking_id: str
24519
+ :keyword pallet_number: Required.
24520
+ :paramtype pallet_number: int
24521
+ :keyword work_order_id: Required.
24522
+ :paramtype work_order_id: str
24523
+ :keyword tracking_events: Required.
24524
+ :paramtype tracking_events: list[~ignos.api.client.models.TrackingEventDto]
24525
+ """
24526
+ super().__init__(**kwargs)
24527
+ self.tracking_id = tracking_id
24528
+ self.pallet_number = pallet_number
24529
+ self.work_order_id = work_order_id
24530
+ self.tracking_events = tracking_events
24531
+
24532
+
24533
+ class TrackingHistoryUpdateDto(_serialization.Model):
24534
+ """TrackingHistoryUpdateDto.
24535
+
24536
+ All required parameters must be populated in order to send to server.
24537
+
24538
+ :ivar work_order_id: Required.
24539
+ :vartype work_order_id: str
24540
+ :ivar location_id: Required.
24541
+ :vartype location_id: str
24542
+ :ivar comment:
24543
+ :vartype comment: str
24544
+ """
24545
+
24546
+ _validation = {
24547
+ "work_order_id": {"required": True, "min_length": 1},
24548
+ "location_id": {"required": True, "min_length": 1},
24549
+ }
24550
+
24551
+ _attribute_map = {
24552
+ "work_order_id": {"key": "workOrderId", "type": "str"},
24553
+ "location_id": {"key": "locationId", "type": "str"},
24554
+ "comment": {"key": "comment", "type": "str"},
24555
+ }
24556
+
24557
+ def __init__(self, *, work_order_id: str, location_id: str, comment: Optional[str] = None, **kwargs: Any) -> None:
24558
+ """
24559
+ :keyword work_order_id: Required.
24560
+ :paramtype work_order_id: str
24561
+ :keyword location_id: Required.
24562
+ :paramtype location_id: str
24563
+ :keyword comment:
24564
+ :paramtype comment: str
24565
+ """
24566
+ super().__init__(**kwargs)
24567
+ self.work_order_id = work_order_id
24568
+ self.location_id = location_id
24569
+ self.comment = comment
24570
+
24571
+
24572
+ class TrackingUpdateDto(_serialization.Model):
24573
+ """TrackingUpdateDto.
24574
+
24575
+ All required parameters must be populated in order to send to server.
24576
+
24577
+ :ivar tracking_id: Required.
24578
+ :vartype tracking_id: str
24579
+ :ivar location_id: Required.
24580
+ :vartype location_id: str
24581
+ :ivar comment:
24582
+ :vartype comment: str
24583
+ """
24584
+
24585
+ _validation = {
24586
+ "tracking_id": {"required": True, "min_length": 1},
24587
+ "location_id": {"required": True, "min_length": 1},
24588
+ }
24589
+
24590
+ _attribute_map = {
24591
+ "tracking_id": {"key": "trackingId", "type": "str"},
24592
+ "location_id": {"key": "locationId", "type": "str"},
24593
+ "comment": {"key": "comment", "type": "str"},
24594
+ }
24595
+
24596
+ def __init__(self, *, tracking_id: str, location_id: str, comment: Optional[str] = None, **kwargs: Any) -> None:
24597
+ """
24598
+ :keyword tracking_id: Required.
24599
+ :paramtype tracking_id: str
24600
+ :keyword location_id: Required.
24601
+ :paramtype location_id: str
24602
+ :keyword comment:
24603
+ :paramtype comment: str
22507
24604
  """
22508
24605
  super().__init__(**kwargs)
22509
- self.id = id
22510
- self.part = part
22511
- self.quantity = quantity
22512
- self.unit = unit
22513
- self.status = status
22514
- self.planned_start = planned_start
22515
- self.planned_end = planned_end
22516
- self.produced_quantity = produced_quantity
22517
- self.scrapped_quantity = scrapped_quantity
22518
- self.customer_order_reference = customer_order_reference
24606
+ self.tracking_id = tracking_id
24607
+ self.location_id = location_id
24608
+ self.comment = comment
22519
24609
 
22520
24610
 
22521
- class TraceWorkOrderListDtoPagedResult(_serialization.Model):
22522
- """TraceWorkOrderListDtoPagedResult.
24611
+ class TrackingWorkOrderDto(_serialization.Model):
24612
+ """TrackingWorkOrderDto.
22523
24613
 
22524
24614
  All required parameters must be populated in order to send to server.
22525
24615
 
22526
- :ivar results: Required.
22527
- :vartype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
22528
- :ivar continuation_token:
22529
- :vartype continuation_token: str
24616
+ :ivar work_order_id: Required.
24617
+ :vartype work_order_id: str
24618
+ :ivar part: Required.
24619
+ :vartype part: ~ignos.api.client.models.PartDto
24620
+ :ivar tracking_history: Required.
24621
+ :vartype tracking_history: list[~ignos.api.client.models.TrackingHistoryDto]
22530
24622
  """
22531
24623
 
22532
24624
  _validation = {
22533
- "results": {"required": True},
24625
+ "work_order_id": {"required": True, "min_length": 1},
24626
+ "part": {"required": True},
24627
+ "tracking_history": {"required": True},
22534
24628
  }
22535
24629
 
22536
24630
  _attribute_map = {
22537
- "results": {"key": "results", "type": "[TraceWorkOrderListDto]"},
22538
- "continuation_token": {"key": "continuationToken", "type": "str"},
24631
+ "work_order_id": {"key": "workOrderId", "type": "str"},
24632
+ "part": {"key": "part", "type": "PartDto"},
24633
+ "tracking_history": {"key": "trackingHistory", "type": "[TrackingHistoryDto]"},
22539
24634
  }
22540
24635
 
22541
24636
  def __init__(
22542
- self, *, results: List["_models.TraceWorkOrderListDto"], continuation_token: Optional[str] = None, **kwargs: Any
24637
+ self,
24638
+ *,
24639
+ work_order_id: str,
24640
+ part: "_models.PartDto",
24641
+ tracking_history: List["_models.TrackingHistoryDto"],
24642
+ **kwargs: Any
22543
24643
  ) -> None:
22544
24644
  """
22545
- :keyword results: Required.
22546
- :paramtype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
22547
- :keyword continuation_token:
22548
- :paramtype continuation_token: str
24645
+ :keyword work_order_id: Required.
24646
+ :paramtype work_order_id: str
24647
+ :keyword part: Required.
24648
+ :paramtype part: ~ignos.api.client.models.PartDto
24649
+ :keyword tracking_history: Required.
24650
+ :paramtype tracking_history: list[~ignos.api.client.models.TrackingHistoryDto]
22549
24651
  """
22550
24652
  super().__init__(**kwargs)
22551
- self.results = results
22552
- self.continuation_token = continuation_token
24653
+ self.work_order_id = work_order_id
24654
+ self.part = part
24655
+ self.tracking_history = tracking_history
22553
24656
 
22554
24657
 
22555
24658
  class UnregisteredToolValueDto(_serialization.Model):
@@ -22763,6 +24866,8 @@ class UpdateCncMachineCommunicationSettingsRequest(_serialization.Model): # pyl
22763
24866
  class UpdateCncMachineOperationRequest(_serialization.Model): # pylint: disable=too-many-instance-attributes
22764
24867
  """UpdateCncMachineOperationRequest.
22765
24868
 
24869
+ All required parameters must be populated in order to send to server.
24870
+
22766
24871
  :ivar operation:
22767
24872
  :vartype operation: int
22768
24873
  :ivar machine_id:
@@ -22781,12 +24886,17 @@ class UpdateCncMachineOperationRequest(_serialization.Model): # pylint: disable
22781
24886
  :vartype tailstock_pressure: str
22782
24887
  :ivar fixture:
22783
24888
  :vartype fixture: str
22784
- :ivar status: Known values are: "Draft", "Ready", "Verified", and "Archived".
24889
+ :ivar status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
22785
24890
  :vartype status: str or ~ignos.api.client.models.CncOperationStatus
22786
- :ivar deleted:
24891
+ :ivar deleted: Required.
22787
24892
  :vartype deleted: bool
22788
24893
  """
22789
24894
 
24895
+ _validation = {
24896
+ "status": {"required": True},
24897
+ "deleted": {"required": True},
24898
+ }
24899
+
22790
24900
  _attribute_map = {
22791
24901
  "operation": {"key": "operation", "type": "int"},
22792
24902
  "machine_id": {"key": "machineId", "type": "str"},
@@ -22804,6 +24914,8 @@ class UpdateCncMachineOperationRequest(_serialization.Model): # pylint: disable
22804
24914
  def __init__(
22805
24915
  self,
22806
24916
  *,
24917
+ status: Union[str, "_models.CncOperationStatus"],
24918
+ deleted: bool,
22807
24919
  operation: Optional[int] = None,
22808
24920
  machine_id: Optional[str] = None,
22809
24921
  title: Optional[str] = None,
@@ -22813,8 +24925,6 @@ class UpdateCncMachineOperationRequest(_serialization.Model): # pylint: disable
22813
24925
  tailstock: Optional[str] = None,
22814
24926
  tailstock_pressure: Optional[str] = None,
22815
24927
  fixture: Optional[str] = None,
22816
- status: Optional[Union[str, "_models.CncOperationStatus"]] = None,
22817
- deleted: Optional[bool] = None,
22818
24928
  **kwargs: Any
22819
24929
  ) -> None:
22820
24930
  """
@@ -22836,9 +24946,9 @@ class UpdateCncMachineOperationRequest(_serialization.Model): # pylint: disable
22836
24946
  :paramtype tailstock_pressure: str
22837
24947
  :keyword fixture:
22838
24948
  :paramtype fixture: str
22839
- :keyword status: Known values are: "Draft", "Ready", "Verified", and "Archived".
24949
+ :keyword status: Required. Known values are: "Draft", "Ready", "Verified", and "Archived".
22840
24950
  :paramtype status: str or ~ignos.api.client.models.CncOperationStatus
22841
- :keyword deleted:
24951
+ :keyword deleted: Required.
22842
24952
  :paramtype deleted: bool
22843
24953
  """
22844
24954
  super().__init__(**kwargs)
@@ -22870,6 +24980,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22870
24980
  :vartype tool_suffix: str
22871
24981
  :ivar description:
22872
24982
  :vartype description: str
24983
+ :ivar holder_description:
24984
+ :vartype holder_description: str
22873
24985
  :ivar geometry:
22874
24986
  :vartype geometry: str
22875
24987
  :ivar size:
@@ -22880,6 +24992,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22880
24992
  :vartype grade: str
22881
24993
  :ivar radius:
22882
24994
  :vartype radius: float
24995
+ :ivar chamfer:
24996
+ :vartype chamfer: float
22883
24997
  :ivar width:
22884
24998
  :vartype width: float
22885
24999
  :ivar pitch:
@@ -22909,11 +25023,13 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22909
25023
  "tool_number": {"key": "toolNumber", "type": "str"},
22910
25024
  "tool_suffix": {"key": "toolSuffix", "type": "str"},
22911
25025
  "description": {"key": "description", "type": "str"},
25026
+ "holder_description": {"key": "holderDescription", "type": "str"},
22912
25027
  "geometry": {"key": "geometry", "type": "str"},
22913
25028
  "size": {"key": "size", "type": "str"},
22914
25029
  "diameter": {"key": "diameter", "type": "float"},
22915
25030
  "grade": {"key": "grade", "type": "str"},
22916
25031
  "radius": {"key": "radius", "type": "float"},
25032
+ "chamfer": {"key": "chamfer", "type": "float"},
22917
25033
  "width": {"key": "width", "type": "float"},
22918
25034
  "pitch": {"key": "pitch", "type": "str"},
22919
25035
  "length": {"key": "length", "type": "float"},
@@ -22932,11 +25048,13 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22932
25048
  tool_number: Optional[str] = None,
22933
25049
  tool_suffix: Optional[str] = None,
22934
25050
  description: Optional[str] = None,
25051
+ holder_description: Optional[str] = None,
22935
25052
  geometry: Optional[str] = None,
22936
25053
  size: Optional[str] = None,
22937
25054
  diameter: Optional[float] = None,
22938
25055
  grade: Optional[str] = None,
22939
25056
  radius: Optional[float] = None,
25057
+ chamfer: Optional[float] = None,
22940
25058
  width: Optional[float] = None,
22941
25059
  pitch: Optional[str] = None,
22942
25060
  length: Optional[float] = None,
@@ -22958,6 +25076,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22958
25076
  :paramtype tool_suffix: str
22959
25077
  :keyword description:
22960
25078
  :paramtype description: str
25079
+ :keyword holder_description:
25080
+ :paramtype holder_description: str
22961
25081
  :keyword geometry:
22962
25082
  :paramtype geometry: str
22963
25083
  :keyword size:
@@ -22968,6 +25088,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22968
25088
  :paramtype grade: str
22969
25089
  :keyword radius:
22970
25090
  :paramtype radius: float
25091
+ :keyword chamfer:
25092
+ :paramtype chamfer: float
22971
25093
  :keyword width:
22972
25094
  :paramtype width: float
22973
25095
  :keyword pitch:
@@ -22991,11 +25113,13 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
22991
25113
  self.tool_number = tool_number
22992
25114
  self.tool_suffix = tool_suffix
22993
25115
  self.description = description
25116
+ self.holder_description = holder_description
22994
25117
  self.geometry = geometry
22995
25118
  self.size = size
22996
25119
  self.diameter = diameter
22997
25120
  self.grade = grade
22998
25121
  self.radius = radius
25122
+ self.chamfer = chamfer
22999
25123
  self.width = width
23000
25124
  self.pitch = pitch
23001
25125
  self.length = length
@@ -23053,6 +25177,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23053
25177
  :vartype tool_suffix: str
23054
25178
  :ivar description:
23055
25179
  :vartype description: str
25180
+ :ivar holder_description:
25181
+ :vartype holder_description: str
23056
25182
  :ivar geometry:
23057
25183
  :vartype geometry: str
23058
25184
  :ivar size:
@@ -23063,6 +25189,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23063
25189
  :vartype grade: str
23064
25190
  :ivar radius:
23065
25191
  :vartype radius: float
25192
+ :ivar chamfer:
25193
+ :vartype chamfer: float
23066
25194
  :ivar width:
23067
25195
  :vartype width: float
23068
25196
  :ivar pitch:
@@ -23092,11 +25220,13 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23092
25220
  "tool_number": {"key": "toolNumber", "type": "str"},
23093
25221
  "tool_suffix": {"key": "toolSuffix", "type": "str"},
23094
25222
  "description": {"key": "description", "type": "str"},
25223
+ "holder_description": {"key": "holderDescription", "type": "str"},
23095
25224
  "geometry": {"key": "geometry", "type": "str"},
23096
25225
  "size": {"key": "size", "type": "str"},
23097
25226
  "diameter": {"key": "diameter", "type": "float"},
23098
25227
  "grade": {"key": "grade", "type": "str"},
23099
25228
  "radius": {"key": "radius", "type": "float"},
25229
+ "chamfer": {"key": "chamfer", "type": "float"},
23100
25230
  "width": {"key": "width", "type": "float"},
23101
25231
  "pitch": {"key": "pitch", "type": "str"},
23102
25232
  "length": {"key": "length", "type": "float"},
@@ -23115,11 +25245,13 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23115
25245
  tool_number: Optional[str] = None,
23116
25246
  tool_suffix: Optional[str] = None,
23117
25247
  description: Optional[str] = None,
25248
+ holder_description: Optional[str] = None,
23118
25249
  geometry: Optional[str] = None,
23119
25250
  size: Optional[str] = None,
23120
25251
  diameter: Optional[float] = None,
23121
25252
  grade: Optional[str] = None,
23122
25253
  radius: Optional[float] = None,
25254
+ chamfer: Optional[float] = None,
23123
25255
  width: Optional[float] = None,
23124
25256
  pitch: Optional[str] = None,
23125
25257
  length: Optional[float] = None,
@@ -23141,6 +25273,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23141
25273
  :paramtype tool_suffix: str
23142
25274
  :keyword description:
23143
25275
  :paramtype description: str
25276
+ :keyword holder_description:
25277
+ :paramtype holder_description: str
23144
25278
  :keyword geometry:
23145
25279
  :paramtype geometry: str
23146
25280
  :keyword size:
@@ -23151,6 +25285,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23151
25285
  :paramtype grade: str
23152
25286
  :keyword radius:
23153
25287
  :paramtype radius: float
25288
+ :keyword chamfer:
25289
+ :paramtype chamfer: float
23154
25290
  :keyword width:
23155
25291
  :paramtype width: float
23156
25292
  :keyword pitch:
@@ -23174,11 +25310,13 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23174
25310
  self.tool_number = tool_number
23175
25311
  self.tool_suffix = tool_suffix
23176
25312
  self.description = description
25313
+ self.holder_description = holder_description
23177
25314
  self.geometry = geometry
23178
25315
  self.size = size
23179
25316
  self.diameter = diameter
23180
25317
  self.grade = grade
23181
25318
  self.radius = radius
25319
+ self.chamfer = chamfer
23182
25320
  self.width = width
23183
25321
  self.pitch = pitch
23184
25322
  self.length = length
@@ -23192,6 +25330,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23192
25330
  class UpdateCncPartRequest(_serialization.Model):
23193
25331
  """UpdateCncPartRequest.
23194
25332
 
25333
+ All required parameters must be populated in order to send to server.
25334
+
23195
25335
  :ivar customer_id:
23196
25336
  :vartype customer_id: str
23197
25337
  :ivar customer_name:
@@ -23208,12 +25348,16 @@ class UpdateCncPartRequest(_serialization.Model):
23208
25348
  :vartype drawing_revision: str
23209
25349
  :ivar material:
23210
25350
  :vartype material: str
23211
- :ivar deleted:
25351
+ :ivar deleted: Required.
23212
25352
  :vartype deleted: bool
23213
25353
  :ivar description:
23214
25354
  :vartype description: str
23215
25355
  """
23216
25356
 
25357
+ _validation = {
25358
+ "deleted": {"required": True},
25359
+ }
25360
+
23217
25361
  _attribute_map = {
23218
25362
  "customer_id": {"key": "customerId", "type": "str"},
23219
25363
  "customer_name": {"key": "customerName", "type": "str"},
@@ -23230,6 +25374,7 @@ class UpdateCncPartRequest(_serialization.Model):
23230
25374
  def __init__(
23231
25375
  self,
23232
25376
  *,
25377
+ deleted: bool,
23233
25378
  customer_id: Optional[str] = None,
23234
25379
  customer_name: Optional[str] = None,
23235
25380
  part_number: Optional[str] = None,
@@ -23238,7 +25383,6 @@ class UpdateCncPartRequest(_serialization.Model):
23238
25383
  drawing: Optional[str] = None,
23239
25384
  drawing_revision: Optional[str] = None,
23240
25385
  material: Optional[str] = None,
23241
- deleted: Optional[bool] = None,
23242
25386
  description: Optional[str] = None,
23243
25387
  **kwargs: Any
23244
25388
  ) -> None:
@@ -23259,7 +25403,7 @@ class UpdateCncPartRequest(_serialization.Model):
23259
25403
  :paramtype drawing_revision: str
23260
25404
  :keyword material:
23261
25405
  :paramtype material: str
23262
- :keyword deleted:
25406
+ :keyword deleted: Required.
23263
25407
  :paramtype deleted: bool
23264
25408
  :keyword description:
23265
25409
  :paramtype description: str
@@ -24094,17 +26238,23 @@ class UpdateMrbTemplate(_serialization.Model):
24094
26238
  class UpdateProgramFileRequest(_serialization.Model):
24095
26239
  """UpdateProgramFileRequest.
24096
26240
 
24097
- :ivar deleted:
26241
+ All required parameters must be populated in order to send to server.
26242
+
26243
+ :ivar deleted: Required.
24098
26244
  :vartype deleted: bool
24099
26245
  """
24100
26246
 
26247
+ _validation = {
26248
+ "deleted": {"required": True},
26249
+ }
26250
+
24101
26251
  _attribute_map = {
24102
26252
  "deleted": {"key": "deleted", "type": "bool"},
24103
26253
  }
24104
26254
 
24105
- def __init__(self, *, deleted: Optional[bool] = None, **kwargs: Any) -> None:
26255
+ def __init__(self, *, deleted: bool, **kwargs: Any) -> None:
24106
26256
  """
24107
- :keyword deleted:
26257
+ :keyword deleted: Required.
24108
26258
  :paramtype deleted: bool
24109
26259
  """
24110
26260
  super().__init__(**kwargs)
@@ -24228,6 +26378,32 @@ class UpdateSchemaInstanceElementsRequest(_serialization.Model):
24228
26378
  self.elements = elements
24229
26379
 
24230
26380
 
26381
+ class UpdateTraceManualCompletionRequest(_serialization.Model):
26382
+ """UpdateTraceManualCompletionRequest.
26383
+
26384
+ All required parameters must be populated in order to send to server.
26385
+
26386
+ :ivar completed: Required.
26387
+ :vartype completed: bool
26388
+ """
26389
+
26390
+ _validation = {
26391
+ "completed": {"required": True},
26392
+ }
26393
+
26394
+ _attribute_map = {
26395
+ "completed": {"key": "completed", "type": "bool"},
26396
+ }
26397
+
26398
+ def __init__(self, *, completed: bool, **kwargs: Any) -> None:
26399
+ """
26400
+ :keyword completed: Required.
26401
+ :paramtype completed: bool
26402
+ """
26403
+ super().__init__(**kwargs)
26404
+ self.completed = completed
26405
+
26406
+
24231
26407
  class UpdateTraceRequest(_serialization.Model):
24232
26408
  """UpdateTraceRequest.
24233
26409
 
@@ -25174,8 +27350,8 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25174
27350
  :vartype planner: ~ignos.api.client.models.UserDto
25175
27351
  :ivar project_leader:
25176
27352
  :vartype project_leader: ~ignos.api.client.models.UserDto
25177
- :ivar end_location:
25178
- :vartype end_location: str
27353
+ :ivar delivery_location:
27354
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
25179
27355
  :ivar project:
25180
27356
  :vartype project: ~ignos.api.client.models.WorkOrderProjectDto
25181
27357
  :ivar start_date:
@@ -25211,7 +27387,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25211
27387
  "customer_order_reference": {"key": "customerOrderReference", "type": "WorkorderCustomerOrderReferenceDto"},
25212
27388
  "planner": {"key": "planner", "type": "UserDto"},
25213
27389
  "project_leader": {"key": "projectLeader", "type": "UserDto"},
25214
- "end_location": {"key": "endLocation", "type": "str"},
27390
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
25215
27391
  "project": {"key": "project", "type": "WorkOrderProjectDto"},
25216
27392
  "start_date": {"key": "startDate", "type": "iso-8601"},
25217
27393
  "end_date": {"key": "endDate", "type": "iso-8601"},
@@ -25236,7 +27412,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25236
27412
  customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
25237
27413
  planner: Optional["_models.UserDto"] = None,
25238
27414
  project_leader: Optional["_models.UserDto"] = None,
25239
- end_location: Optional[str] = None,
27415
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
25240
27416
  project: Optional["_models.WorkOrderProjectDto"] = None,
25241
27417
  start_date: Optional[datetime.datetime] = None,
25242
27418
  end_date: Optional[datetime.datetime] = None,
@@ -25275,8 +27451,8 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25275
27451
  :paramtype planner: ~ignos.api.client.models.UserDto
25276
27452
  :keyword project_leader:
25277
27453
  :paramtype project_leader: ~ignos.api.client.models.UserDto
25278
- :keyword end_location:
25279
- :paramtype end_location: str
27454
+ :keyword delivery_location:
27455
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
25280
27456
  :keyword project:
25281
27457
  :paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
25282
27458
  :keyword start_date:
@@ -25303,7 +27479,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25303
27479
  self.customer_order_reference = customer_order_reference
25304
27480
  self.planner = planner
25305
27481
  self.project_leader = project_leader
25306
- self.end_location = end_location
27482
+ self.delivery_location = delivery_location
25307
27483
  self.project = project
25308
27484
  self.start_date = start_date
25309
27485
  self.end_date = end_date
@@ -25562,6 +27738,8 @@ class UserDto(_serialization.Model):
25562
27738
  :vartype full_name: str
25563
27739
  :ivar upn:
25564
27740
  :vartype upn: str
27741
+ :ivar email:
27742
+ :vartype email: str
25565
27743
  :ivar is_beta_tester:
25566
27744
  :vartype is_beta_tester: bool
25567
27745
  """
@@ -25570,6 +27748,7 @@ class UserDto(_serialization.Model):
25570
27748
  "id": {"key": "id", "type": "str"},
25571
27749
  "full_name": {"key": "fullName", "type": "str"},
25572
27750
  "upn": {"key": "upn", "type": "str"},
27751
+ "email": {"key": "email", "type": "str"},
25573
27752
  "is_beta_tester": {"key": "isBetaTester", "type": "bool"},
25574
27753
  }
25575
27754
 
@@ -25579,6 +27758,7 @@ class UserDto(_serialization.Model):
25579
27758
  id: Optional[str] = None, # pylint: disable=redefined-builtin
25580
27759
  full_name: Optional[str] = None,
25581
27760
  upn: Optional[str] = None,
27761
+ email: Optional[str] = None,
25582
27762
  is_beta_tester: Optional[bool] = None,
25583
27763
  **kwargs: Any
25584
27764
  ) -> None:
@@ -25589,6 +27769,8 @@ class UserDto(_serialization.Model):
25589
27769
  :paramtype full_name: str
25590
27770
  :keyword upn:
25591
27771
  :paramtype upn: str
27772
+ :keyword email:
27773
+ :paramtype email: str
25592
27774
  :keyword is_beta_tester:
25593
27775
  :paramtype is_beta_tester: bool
25594
27776
  """
@@ -25596,6 +27778,7 @@ class UserDto(_serialization.Model):
25596
27778
  self.id = id
25597
27779
  self.full_name = full_name
25598
27780
  self.upn = upn
27781
+ self.email = email
25599
27782
  self.is_beta_tester = is_beta_tester
25600
27783
 
25601
27784
 
@@ -25945,6 +28128,58 @@ class ValidationRuleDto(_serialization.Model):
25945
28128
  self.name = name
25946
28129
 
25947
28130
 
28131
+ class WarehouseLocationDto(_serialization.Model):
28132
+ """WarehouseLocationDto.
28133
+
28134
+ All required parameters must be populated in order to send to server.
28135
+
28136
+ :ivar zone:
28137
+ :vartype zone: str
28138
+ :ivar location: Required.
28139
+ :vartype location: str
28140
+ :ivar warehouse:
28141
+ :vartype warehouse: str
28142
+ :ivar site:
28143
+ :vartype site: str
28144
+ """
28145
+
28146
+ _validation = {
28147
+ "location": {"required": True, "min_length": 1},
28148
+ }
28149
+
28150
+ _attribute_map = {
28151
+ "zone": {"key": "zone", "type": "str"},
28152
+ "location": {"key": "location", "type": "str"},
28153
+ "warehouse": {"key": "warehouse", "type": "str"},
28154
+ "site": {"key": "site", "type": "str"},
28155
+ }
28156
+
28157
+ def __init__(
28158
+ self,
28159
+ *,
28160
+ location: str,
28161
+ zone: Optional[str] = None,
28162
+ warehouse: Optional[str] = None,
28163
+ site: Optional[str] = None,
28164
+ **kwargs: Any
28165
+ ) -> None:
28166
+ """
28167
+ :keyword zone:
28168
+ :paramtype zone: str
28169
+ :keyword location: Required.
28170
+ :paramtype location: str
28171
+ :keyword warehouse:
28172
+ :paramtype warehouse: str
28173
+ :keyword site:
28174
+ :paramtype site: str
28175
+ """
28176
+ super().__init__(**kwargs)
28177
+ self.zone = zone
28178
+ self.location = location
28179
+ self.warehouse = warehouse
28180
+ self.site = site
28181
+
28182
+
25948
28183
  class WhitelistMeasuringTool(_serialization.Model):
25949
28184
  """WhitelistMeasuringTool.
25950
28185
 
@@ -25978,108 +28213,99 @@ class WhitelistMeasuringTool(_serialization.Model):
25978
28213
  self.description = description
25979
28214
 
25980
28215
 
25981
- class WorkActivityDto(_serialization.Model):
25982
- """WorkActivityDto.
25983
-
25984
- All required parameters must be populated in order to send to server.
28216
+ class WorkerDto(_serialization.Model):
28217
+ """WorkerDto.
25985
28218
 
25986
- :ivar id: Required.
25987
- :vartype id: str
25988
- :ivar start_time: Required.
25989
- :vartype start_time: ~datetime.datetime
25990
- :ivar end_time:
25991
- :vartype end_time: ~datetime.datetime
25992
- :ivar user:
25993
- :vartype user: ~ignos.api.client.models.UserDto
25994
- :ivar personnel_number: Required.
28219
+ :ivar personnel_number:
25995
28220
  :vartype personnel_number: str
25996
- :ivar work_type: Required. Known values are: "None", "Production", and "Setup".
25997
- :vartype work_type: str or ~ignos.api.client.models.WorkTypeDto
25998
- :ivar started_quantity:
25999
- :vartype started_quantity: int
28221
+ :ivar badge_id:
28222
+ :vartype badge_id: str
26000
28223
  """
26001
28224
 
26002
- _validation = {
26003
- "id": {"required": True, "min_length": 1},
26004
- "start_time": {"required": True},
26005
- "personnel_number": {"required": True, "min_length": 1},
26006
- "work_type": {"required": True},
26007
- }
26008
-
26009
28225
  _attribute_map = {
26010
- "id": {"key": "id", "type": "str"},
26011
- "start_time": {"key": "startTime", "type": "iso-8601"},
26012
- "end_time": {"key": "endTime", "type": "iso-8601"},
26013
- "user": {"key": "user", "type": "UserDto"},
26014
28226
  "personnel_number": {"key": "personnelNumber", "type": "str"},
26015
- "work_type": {"key": "workType", "type": "str"},
26016
- "started_quantity": {"key": "startedQuantity", "type": "int"},
28227
+ "badge_id": {"key": "badgeId", "type": "str"},
26017
28228
  }
26018
28229
 
26019
28230
  def __init__(
26020
- self,
26021
- *,
26022
- id: str, # pylint: disable=redefined-builtin
26023
- start_time: datetime.datetime,
26024
- personnel_number: str,
26025
- work_type: Union[str, "_models.WorkTypeDto"],
26026
- end_time: Optional[datetime.datetime] = None,
26027
- user: Optional["_models.UserDto"] = None,
26028
- started_quantity: Optional[int] = None,
26029
- **kwargs: Any
28231
+ self, *, personnel_number: Optional[str] = None, badge_id: Optional[str] = None, **kwargs: Any
26030
28232
  ) -> None:
26031
28233
  """
26032
- :keyword id: Required.
26033
- :paramtype id: str
26034
- :keyword start_time: Required.
26035
- :paramtype start_time: ~datetime.datetime
26036
- :keyword end_time:
26037
- :paramtype end_time: ~datetime.datetime
26038
- :keyword user:
26039
- :paramtype user: ~ignos.api.client.models.UserDto
26040
- :keyword personnel_number: Required.
28234
+ :keyword personnel_number:
26041
28235
  :paramtype personnel_number: str
26042
- :keyword work_type: Required. Known values are: "None", "Production", and "Setup".
26043
- :paramtype work_type: str or ~ignos.api.client.models.WorkTypeDto
26044
- :keyword started_quantity:
26045
- :paramtype started_quantity: int
28236
+ :keyword badge_id:
28237
+ :paramtype badge_id: str
26046
28238
  """
26047
28239
  super().__init__(**kwargs)
26048
- self.id = id
26049
- self.start_time = start_time
26050
- self.end_time = end_time
26051
- self.user = user
26052
28240
  self.personnel_number = personnel_number
26053
- self.work_type = work_type
26054
- self.started_quantity = started_quantity
28241
+ self.badge_id = badge_id
26055
28242
 
26056
28243
 
26057
- class WorkerDto(_serialization.Model):
26058
- """WorkerDto.
28244
+ class WorkOrderAttachmentDto(_serialization.Model):
28245
+ """WorkOrderAttachmentDto.
26059
28246
 
26060
- :ivar personnel_number:
26061
- :vartype personnel_number: str
26062
- :ivar badge_id:
26063
- :vartype badge_id: str
28247
+ :ivar created_by:
28248
+ :vartype created_by: ~ignos.api.client.models.UserDto
28249
+ :ivar created:
28250
+ :vartype created: ~datetime.datetime
28251
+ :ivar modified_by:
28252
+ :vartype modified_by: ~ignos.api.client.models.UserDto
28253
+ :ivar modified:
28254
+ :vartype modified: ~datetime.datetime
28255
+ :ivar name:
28256
+ :vartype name: str
28257
+ :ivar notes:
28258
+ :vartype notes: str
28259
+ :ivar attachment_type:
28260
+ :vartype attachment_type: str
26064
28261
  """
26065
28262
 
26066
28263
  _attribute_map = {
26067
- "personnel_number": {"key": "personnelNumber", "type": "str"},
26068
- "badge_id": {"key": "badgeId", "type": "str"},
28264
+ "created_by": {"key": "createdBy", "type": "UserDto"},
28265
+ "created": {"key": "created", "type": "iso-8601"},
28266
+ "modified_by": {"key": "modifiedBy", "type": "UserDto"},
28267
+ "modified": {"key": "modified", "type": "iso-8601"},
28268
+ "name": {"key": "name", "type": "str"},
28269
+ "notes": {"key": "notes", "type": "str"},
28270
+ "attachment_type": {"key": "attachmentType", "type": "str"},
26069
28271
  }
26070
28272
 
26071
28273
  def __init__(
26072
- self, *, personnel_number: Optional[str] = None, badge_id: Optional[str] = None, **kwargs: Any
28274
+ self,
28275
+ *,
28276
+ created_by: Optional["_models.UserDto"] = None,
28277
+ created: Optional[datetime.datetime] = None,
28278
+ modified_by: Optional["_models.UserDto"] = None,
28279
+ modified: Optional[datetime.datetime] = None,
28280
+ name: Optional[str] = None,
28281
+ notes: Optional[str] = None,
28282
+ attachment_type: Optional[str] = None,
28283
+ **kwargs: Any
26073
28284
  ) -> None:
26074
28285
  """
26075
- :keyword personnel_number:
26076
- :paramtype personnel_number: str
26077
- :keyword badge_id:
26078
- :paramtype badge_id: str
28286
+ :keyword created_by:
28287
+ :paramtype created_by: ~ignos.api.client.models.UserDto
28288
+ :keyword created:
28289
+ :paramtype created: ~datetime.datetime
28290
+ :keyword modified_by:
28291
+ :paramtype modified_by: ~ignos.api.client.models.UserDto
28292
+ :keyword modified:
28293
+ :paramtype modified: ~datetime.datetime
28294
+ :keyword name:
28295
+ :paramtype name: str
28296
+ :keyword notes:
28297
+ :paramtype notes: str
28298
+ :keyword attachment_type:
28299
+ :paramtype attachment_type: str
26079
28300
  """
26080
28301
  super().__init__(**kwargs)
26081
- self.personnel_number = personnel_number
26082
- self.badge_id = badge_id
28302
+ self.created_by = created_by
28303
+ self.created = created
28304
+ self.modified_by = modified_by
28305
+ self.modified = modified
28306
+ self.name = name
28307
+ self.notes = notes
28308
+ self.attachment_type = attachment_type
26083
28309
 
26084
28310
 
26085
28311
  class WorkOrderConsumptionDto(_serialization.Model):
@@ -26700,6 +28926,10 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
26700
28926
  :vartype planned_start: ~datetime.datetime
26701
28927
  :ivar planned_end:
26702
28928
  :vartype planned_end: ~datetime.datetime
28929
+ :ivar actual_start:
28930
+ :vartype actual_start: ~datetime.datetime
28931
+ :ivar actual_end:
28932
+ :vartype actual_end: ~datetime.datetime
26703
28933
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
26704
28934
  "Stopped".
26705
28935
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -26738,6 +28968,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
26738
28968
  "resource": {"key": "resource", "type": "ResourceDto"},
26739
28969
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
26740
28970
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
28971
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
28972
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
26741
28973
  "status": {"key": "status", "type": "str"},
26742
28974
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
26743
28975
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
@@ -26764,6 +28996,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
26764
28996
  resource: Optional["_models.ResourceDto"] = None,
26765
28997
  planned_start: Optional[datetime.datetime] = None,
26766
28998
  planned_end: Optional[datetime.datetime] = None,
28999
+ actual_start: Optional[datetime.datetime] = None,
29000
+ actual_end: Optional[datetime.datetime] = None,
26767
29001
  **kwargs: Any
26768
29002
  ) -> None:
26769
29003
  """
@@ -26785,6 +29019,10 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
26785
29019
  :paramtype planned_start: ~datetime.datetime
26786
29020
  :keyword planned_end:
26787
29021
  :paramtype planned_end: ~datetime.datetime
29022
+ :keyword actual_start:
29023
+ :paramtype actual_start: ~datetime.datetime
29024
+ :keyword actual_end:
29025
+ :paramtype actual_end: ~datetime.datetime
26788
29026
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
26789
29027
  "Stopped".
26790
29028
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -26809,6 +29047,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
26809
29047
  self.resource = resource
26810
29048
  self.planned_start = planned_start
26811
29049
  self.planned_end = planned_end
29050
+ self.actual_start = actual_start
29051
+ self.actual_end = actual_end
26812
29052
  self.status = status
26813
29053
  self.produced_quantity = produced_quantity
26814
29054
  self.scrapped_quantity = scrapped_quantity