ignos-api-client 2024.3.12.8830__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.
@@ -862,6 +862,306 @@ class BatchInsertValuesResponseDto(_serialization.Model):
862
862
  self.tool_warning = tool_warning
863
863
 
864
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
+
865
1165
  class CalculateBarWeight(_serialization.Model):
866
1166
  """CalculateBarWeight.
867
1167
 
@@ -2133,6 +2433,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2133
2433
  :vartype grade: str
2134
2434
  :ivar radius:
2135
2435
  :vartype radius: float
2436
+ :ivar chamfer:
2437
+ :vartype chamfer: float
2136
2438
  :ivar width:
2137
2439
  :vartype width: float
2138
2440
  :ivar pitch:
@@ -2178,6 +2480,7 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2178
2480
  "diameter": {"key": "diameter", "type": "float"},
2179
2481
  "grade": {"key": "grade", "type": "str"},
2180
2482
  "radius": {"key": "radius", "type": "float"},
2483
+ "chamfer": {"key": "chamfer", "type": "float"},
2181
2484
  "width": {"key": "width", "type": "float"},
2182
2485
  "pitch": {"key": "pitch", "type": "str"},
2183
2486
  "length": {"key": "length", "type": "float"},
@@ -2207,6 +2510,7 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2207
2510
  diameter: Optional[float] = None,
2208
2511
  grade: Optional[str] = None,
2209
2512
  radius: Optional[float] = None,
2513
+ chamfer: Optional[float] = None,
2210
2514
  width: Optional[float] = None,
2211
2515
  pitch: Optional[str] = None,
2212
2516
  length: Optional[float] = None,
@@ -2248,6 +2552,8 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2248
2552
  :paramtype grade: str
2249
2553
  :keyword radius:
2250
2554
  :paramtype radius: float
2555
+ :keyword chamfer:
2556
+ :paramtype chamfer: float
2251
2557
  :keyword width:
2252
2558
  :paramtype width: float
2253
2559
  :keyword pitch:
@@ -2284,6 +2590,7 @@ class CncToolDto(_serialization.Model): # pylint: disable=too-many-instance-att
2284
2590
  self.diameter = diameter
2285
2591
  self.grade = grade
2286
2592
  self.radius = radius
2593
+ self.chamfer = chamfer
2287
2594
  self.width = width
2288
2595
  self.pitch = pitch
2289
2596
  self.length = length
@@ -2331,6 +2638,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2331
2638
  :vartype radius: bool
2332
2639
  :ivar radius_helper_text: Required.
2333
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
2334
2645
  :ivar width: Required.
2335
2646
  :vartype width: bool
2336
2647
  :ivar width_helper_text: Required.
@@ -2384,6 +2695,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2384
2695
  "grade_helper_text": {"required": True, "min_length": 1},
2385
2696
  "radius": {"required": True},
2386
2697
  "radius_helper_text": {"required": True, "min_length": 1},
2698
+ "chamfer": {"required": True},
2699
+ "chamfer_helper_text": {"required": True, "min_length": 1},
2387
2700
  "width": {"required": True},
2388
2701
  "width_helper_text": {"required": True, "min_length": 1},
2389
2702
  "pitch": {"required": True},
@@ -2420,6 +2733,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2420
2733
  "grade_helper_text": {"key": "gradeHelperText", "type": "str"},
2421
2734
  "radius": {"key": "radius", "type": "bool"},
2422
2735
  "radius_helper_text": {"key": "radiusHelperText", "type": "str"},
2736
+ "chamfer": {"key": "chamfer", "type": "bool"},
2737
+ "chamfer_helper_text": {"key": "chamferHelperText", "type": "str"},
2423
2738
  "width": {"key": "width", "type": "bool"},
2424
2739
  "width_helper_text": {"key": "widthHelperText", "type": "str"},
2425
2740
  "pitch": {"key": "pitch", "type": "bool"},
@@ -2457,6 +2772,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2457
2772
  grade_helper_text: str,
2458
2773
  radius: bool,
2459
2774
  radius_helper_text: str,
2775
+ chamfer: bool,
2776
+ chamfer_helper_text: str,
2460
2777
  width: bool,
2461
2778
  width_helper_text: str,
2462
2779
  pitch: bool,
@@ -2509,6 +2826,10 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2509
2826
  :paramtype radius: bool
2510
2827
  :keyword radius_helper_text: Required.
2511
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
2512
2833
  :keyword width: Required.
2513
2834
  :paramtype width: bool
2514
2835
  :keyword width_helper_text: Required.
@@ -2562,6 +2883,8 @@ class CncToolSubTypeDto(_serialization.Model): # pylint: disable=too-many-insta
2562
2883
  self.grade_helper_text = grade_helper_text
2563
2884
  self.radius = radius
2564
2885
  self.radius_helper_text = radius_helper_text
2886
+ self.chamfer = chamfer
2887
+ self.chamfer_helper_text = chamfer_helper_text
2565
2888
  self.width = width
2566
2889
  self.width_helper_text = width_helper_text
2567
2890
  self.pitch = pitch
@@ -3081,6 +3404,48 @@ class CopyCncPart(_serialization.Model):
3081
3404
  self.description = description
3082
3405
 
3083
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
+
3084
3449
  class CountryDto(_serialization.Model):
3085
3450
  """CountryDto.
3086
3451
 
@@ -3347,6 +3712,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3347
3712
  :vartype grade: str
3348
3713
  :ivar radius:
3349
3714
  :vartype radius: float
3715
+ :ivar chamfer:
3716
+ :vartype chamfer: float
3350
3717
  :ivar width:
3351
3718
  :vartype width: float
3352
3719
  :ivar pitch:
@@ -3382,6 +3749,7 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3382
3749
  "diameter": {"key": "diameter", "type": "float"},
3383
3750
  "grade": {"key": "grade", "type": "str"},
3384
3751
  "radius": {"key": "radius", "type": "float"},
3752
+ "chamfer": {"key": "chamfer", "type": "float"},
3385
3753
  "width": {"key": "width", "type": "float"},
3386
3754
  "pitch": {"key": "pitch", "type": "str"},
3387
3755
  "length": {"key": "length", "type": "float"},
@@ -3406,6 +3774,7 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3406
3774
  diameter: Optional[float] = None,
3407
3775
  grade: Optional[str] = None,
3408
3776
  radius: Optional[float] = None,
3777
+ chamfer: Optional[float] = None,
3409
3778
  width: Optional[float] = None,
3410
3779
  pitch: Optional[str] = None,
3411
3780
  length: Optional[float] = None,
@@ -3439,6 +3808,8 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3439
3808
  :paramtype grade: str
3440
3809
  :keyword radius:
3441
3810
  :paramtype radius: float
3811
+ :keyword chamfer:
3812
+ :paramtype chamfer: float
3442
3813
  :keyword width:
3443
3814
  :paramtype width: float
3444
3815
  :keyword pitch:
@@ -3468,6 +3839,7 @@ class CreateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
3468
3839
  self.diameter = diameter
3469
3840
  self.grade = grade
3470
3841
  self.radius = radius
3842
+ self.chamfer = chamfer
3471
3843
  self.width = width
3472
3844
  self.pitch = pitch
3473
3845
  self.length = length
@@ -3974,38 +4346,134 @@ class CreateMachineGroupResponse(_serialization.Model):
3974
4346
  self.id = id
3975
4347
 
3976
4348
 
3977
- class CreateMeasurementFormMapping(_serialization.Model):
3978
- """CreateMeasurementFormMapping.
4349
+ class CreateMachineWithoutResource(_serialization.Model):
4350
+ """CreateMachineWithoutResource.
3979
4351
 
3980
4352
  All required parameters must be populated in order to send to server.
3981
4353
 
3982
- :ivar source_id: Required.
3983
- :vartype source_id: str
3984
- :ivar target_id: Required.
3985
- :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
3986
4374
  """
3987
4375
 
3988
4376
  _validation = {
3989
- "source_id": {"required": True, "min_length": 1},
3990
- "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},
3991
4380
  }
3992
4381
 
3993
4382
  _attribute_map = {
3994
- "source_id": {"key": "sourceId", "type": "str"},
3995
- "target_id": {"key": "targetId", "type": "str"},
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"},
3996
4393
  }
3997
4394
 
3998
- def __init__(self, *, source_id: str, target_id: str, **kwargs: Any) -> None:
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:
3999
4410
  """
4000
- :keyword source_id: Required.
4001
- :paramtype source_id: str
4002
- :keyword target_id: Required.
4003
- :paramtype target_id: str
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
4004
4431
  """
4005
4432
  super().__init__(**kwargs)
4006
- self.source_id = source_id
4007
- self.target_id = target_id
4008
-
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
+ """
4468
+ :keyword source_id: Required.
4469
+ :paramtype source_id: str
4470
+ :keyword target_id: Required.
4471
+ :paramtype target_id: str
4472
+ """
4473
+ super().__init__(**kwargs)
4474
+ self.source_id = source_id
4475
+ self.target_id = target_id
4476
+
4009
4477
 
4010
4478
  class CreateMeasurementFormSchema(_serialization.Model):
4011
4479
  """CreateMeasurementFormSchema.
@@ -4192,6 +4660,8 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4192
4660
  :vartype upload_key: str
4193
4661
  :ivar filename:
4194
4662
  :vartype filename: str
4663
+ :ivar initial_calibration_date:
4664
+ :vartype initial_calibration_date: ~datetime.datetime
4195
4665
  """
4196
4666
 
4197
4667
  _validation = {
@@ -4217,6 +4687,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4217
4687
  "precision": {"key": "precision", "type": "str"},
4218
4688
  "upload_key": {"key": "uploadKey", "type": "str"},
4219
4689
  "filename": {"key": "filename", "type": "str"},
4690
+ "initial_calibration_date": {"key": "initialCalibrationDate", "type": "iso-8601"},
4220
4691
  }
4221
4692
 
4222
4693
  def __init__(
@@ -4237,6 +4708,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4237
4708
  precision: Optional[str] = None,
4238
4709
  upload_key: Optional[str] = None,
4239
4710
  filename: Optional[str] = None,
4711
+ initial_calibration_date: Optional[datetime.datetime] = None,
4240
4712
  **kwargs: Any
4241
4713
  ) -> None:
4242
4714
  """
@@ -4270,6 +4742,8 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4270
4742
  :paramtype upload_key: str
4271
4743
  :keyword filename:
4272
4744
  :paramtype filename: str
4745
+ :keyword initial_calibration_date:
4746
+ :paramtype initial_calibration_date: ~datetime.datetime
4273
4747
  """
4274
4748
  super().__init__(**kwargs)
4275
4749
  self.tool_id = tool_id
@@ -4287,6 +4761,7 @@ class CreateMeasuringToolRequest(_serialization.Model): # pylint: disable=too-m
4287
4761
  self.precision = precision
4288
4762
  self.upload_key = upload_key
4289
4763
  self.filename = filename
4764
+ self.initial_calibration_date = initial_calibration_date
4290
4765
 
4291
4766
 
4292
4767
  class CreateMeasuringToolSubTypeRequest(_serialization.Model):
@@ -4575,6 +5050,186 @@ class CreateMrbTemplateRequest(_serialization.Model):
4575
5050
  self.pdf_filename = pdf_filename
4576
5051
 
4577
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
+
4578
5233
  class CreateSchemaElement(_serialization.Model): # pylint: disable=too-many-instance-attributes
4579
5234
  """CreateSchemaElement.
4580
5235
 
@@ -5037,45 +5692,6 @@ class CurrentWorkActivityDto(_serialization.Model):
5037
5692
 
5038
5693
  All required parameters must be populated in order to send to server.
5039
5694
 
5040
- :ivar work_activity: Required.
5041
- :vartype work_activity: ~ignos.api.client.models.WorkActivityDto
5042
- :ivar operation: Required.
5043
- :vartype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
5044
- """
5045
-
5046
- _validation = {
5047
- "work_activity": {"required": True},
5048
- "operation": {"required": True},
5049
- }
5050
-
5051
- _attribute_map = {
5052
- "work_activity": {"key": "workActivity", "type": "WorkActivityDto"},
5053
- "operation": {"key": "operation", "type": "ProductionScheduleOperationDto"},
5054
- }
5055
-
5056
- def __init__(
5057
- self,
5058
- *,
5059
- work_activity: "_models.WorkActivityDto",
5060
- operation: "_models.ProductionScheduleOperationDto",
5061
- **kwargs: Any
5062
- ) -> None:
5063
- """
5064
- :keyword work_activity: Required.
5065
- :paramtype work_activity: ~ignos.api.client.models.WorkActivityDto
5066
- :keyword operation: Required.
5067
- :paramtype operation: ~ignos.api.client.models.ProductionScheduleOperationDto
5068
- """
5069
- super().__init__(**kwargs)
5070
- self.work_activity = work_activity
5071
- self.operation = operation
5072
-
5073
-
5074
- class CurrentWorkActivityV2Dto(_serialization.Model):
5075
- """CurrentWorkActivityV2Dto.
5076
-
5077
- All required parameters must be populated in order to send to server.
5078
-
5079
5695
  :ivar active_work: Required.
5080
5696
  :vartype active_work: list[~ignos.api.client.models.ActiveWorkDto]
5081
5697
  :ivar stopped_work: Required.
@@ -5113,6 +5729,8 @@ class CurrentWorkDto(_serialization.Model):
5113
5729
 
5114
5730
  All required parameters must be populated in order to send to server.
5115
5731
 
5732
+ :ivar resource_id: Required.
5733
+ :vartype resource_id: str
5116
5734
  :ivar upn:
5117
5735
  :vartype upn: str
5118
5736
  :ivar personnel_number: Required.
@@ -5132,6 +5750,7 @@ class CurrentWorkDto(_serialization.Model):
5132
5750
  """
5133
5751
 
5134
5752
  _validation = {
5753
+ "resource_id": {"required": True, "min_length": 1},
5135
5754
  "upn": {"readonly": True},
5136
5755
  "personnel_number": {"required": True, "readonly": True, "min_length": 1},
5137
5756
  "active": {"required": True, "readonly": True},
@@ -5143,6 +5762,7 @@ class CurrentWorkDto(_serialization.Model):
5143
5762
  }
5144
5763
 
5145
5764
  _attribute_map = {
5765
+ "resource_id": {"key": "resourceId", "type": "str"},
5146
5766
  "upn": {"key": "upn", "type": "str"},
5147
5767
  "personnel_number": {"key": "personnelNumber", "type": "str"},
5148
5768
  "active": {"key": "active", "type": "bool"},
@@ -5153,9 +5773,13 @@ class CurrentWorkDto(_serialization.Model):
5153
5773
  "work_type": {"key": "workType", "type": "str"},
5154
5774
  }
5155
5775
 
5156
- def __init__(self, **kwargs: Any) -> None:
5157
- """ """
5776
+ def __init__(self, *, resource_id: str, **kwargs: Any) -> None:
5777
+ """
5778
+ :keyword resource_id: Required.
5779
+ :paramtype resource_id: str
5780
+ """
5158
5781
  super().__init__(**kwargs)
5782
+ self.resource_id = resource_id
5159
5783
  self.upn = None
5160
5784
  self.personnel_number = None
5161
5785
  self.active = None
@@ -5637,6 +6261,9 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5637
6261
  :vartype trace_type: str or ~ignos.api.client.models.TraceType
5638
6262
  :ivar trace_exists: Required.
5639
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
5640
6267
  :ivar work_orders:
5641
6268
  :vartype work_orders:
5642
6269
  list[~ignos.api.client.models.CustomerOrderLineWorkOrderTraceStatusNodeDto]
@@ -5647,6 +6274,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5647
6274
  "part": {"required": True},
5648
6275
  "trace_type": {"required": True},
5649
6276
  "trace_exists": {"required": True},
6277
+ "trace_status": {"required": True},
5650
6278
  }
5651
6279
 
5652
6280
  _attribute_map = {
@@ -5654,6 +6282,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5654
6282
  "part": {"key": "part", "type": "PartDto"},
5655
6283
  "trace_type": {"key": "traceType", "type": "str"},
5656
6284
  "trace_exists": {"key": "traceExists", "type": "bool"},
6285
+ "trace_status": {"key": "traceStatus", "type": "str"},
5657
6286
  "work_orders": {"key": "workOrders", "type": "[CustomerOrderLineWorkOrderTraceStatusNodeDto]"},
5658
6287
  }
5659
6288
 
@@ -5664,6 +6293,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5664
6293
  part: "_models.PartDto",
5665
6294
  trace_type: Union[str, "_models.TraceType"],
5666
6295
  trace_exists: bool,
6296
+ trace_status: Union[str, "_models.TraceStatus"],
5667
6297
  work_orders: Optional[List["_models.CustomerOrderLineWorkOrderTraceStatusNodeDto"]] = None,
5668
6298
  **kwargs: Any
5669
6299
  ) -> None:
@@ -5676,6 +6306,9 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5676
6306
  :paramtype trace_type: str or ~ignos.api.client.models.TraceType
5677
6307
  :keyword trace_exists: Required.
5678
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
5679
6312
  :keyword work_orders:
5680
6313
  :paramtype work_orders:
5681
6314
  list[~ignos.api.client.models.CustomerOrderLineWorkOrderTraceStatusNodeDto]
@@ -5685,6 +6318,7 @@ class CustomerOrderLineWorkOrderTraceStatusNodeDto(_serialization.Model): # pyl
5685
6318
  self.part = part
5686
6319
  self.trace_type = trace_type
5687
6320
  self.trace_exists = trace_exists
6321
+ self.trace_status = trace_status
5688
6322
  self.work_orders = work_orders
5689
6323
 
5690
6324
 
@@ -5786,6 +6420,39 @@ class DeletePartDrawingRequest(_serialization.Model):
5786
6420
  self.filename = filename
5787
6421
 
5788
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
+
5789
6456
  class DeprecateToolRequest(_serialization.Model):
5790
6457
  """DeprecateToolRequest.
5791
6458
 
@@ -6132,7 +6799,7 @@ class DocumentTypeRuleDto(_serialization.Model):
6132
6799
  :vartype requirement: str or ~ignos.api.client.models.DocumentMetadataRequirement
6133
6800
  :ivar mutability: Known values are: "Immutable", "Appendable", and "Mutable".
6134
6801
  :vartype mutability: str or ~ignos.api.client.models.Mutability
6135
- :ivar rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and "LotNumbers".
6802
+ :ivar rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
6136
6803
  :vartype rule_type: str or ~ignos.api.client.models.DocumentRuleType
6137
6804
  """
6138
6805
 
@@ -6159,8 +6826,7 @@ class DocumentTypeRuleDto(_serialization.Model):
6159
6826
  :paramtype requirement: str or ~ignos.api.client.models.DocumentMetadataRequirement
6160
6827
  :keyword mutability: Known values are: "Immutable", "Appendable", and "Mutable".
6161
6828
  :paramtype mutability: str or ~ignos.api.client.models.Mutability
6162
- :keyword rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and
6163
- "LotNumbers".
6829
+ :keyword rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
6164
6830
  :paramtype rule_type: str or ~ignos.api.client.models.DocumentRuleType
6165
6831
  """
6166
6832
  super().__init__(**kwargs)
@@ -6175,7 +6841,7 @@ class DocumentTypeRuleTypeDto(_serialization.Model):
6175
6841
 
6176
6842
  :ivar tag:
6177
6843
  :vartype tag: str
6178
- :ivar rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and "LotNumbers".
6844
+ :ivar rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
6179
6845
  :vartype rule_type: str or ~ignos.api.client.models.DocumentRuleType
6180
6846
  :ivar description:
6181
6847
  :vartype description: str
@@ -6198,8 +6864,7 @@ class DocumentTypeRuleTypeDto(_serialization.Model):
6198
6864
  """
6199
6865
  :keyword tag:
6200
6866
  :paramtype tag: str
6201
- :keyword rule_type: Known values are: "Tag", "Title", "Sequences", "OrderLines", and
6202
- "LotNumbers".
6867
+ :keyword rule_type: Known values are: "Tag", "Sequences", "OrderLines", and "LotNumbers".
6203
6868
  :paramtype rule_type: str or ~ignos.api.client.models.DocumentRuleType
6204
6869
  :keyword description:
6205
6870
  :paramtype description: str
@@ -10113,24 +10778,78 @@ class ListWorkOrdersRequest(_serialization.Model):
10113
10778
  self.continuation_token = continuation_token
10114
10779
 
10115
10780
 
10116
- class Machine(_serialization.Model):
10117
- """Machine.
10781
+ class LocationDto(_serialization.Model):
10782
+ """LocationDto.
10118
10783
 
10119
- :ivar external_id:
10120
- :vartype external_id: str
10121
- :ivar id:
10122
- :vartype id: int
10123
- :ivar name:
10124
- :vartype name: str
10125
- :ivar description:
10126
- :vartype description: str
10127
- :ivar datapoints:
10128
- :vartype datapoints: list[~ignos.api.client.models.NumericNullableValueWithTimestamp]
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
10129
10794
  """
10130
10795
 
10131
- _attribute_map = {
10132
- "external_id": {"key": "externalId", "type": "str"},
10133
- "id": {"key": "id", "type": "int"},
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
+
10835
+ class Machine(_serialization.Model):
10836
+ """Machine.
10837
+
10838
+ :ivar external_id:
10839
+ :vartype external_id: str
10840
+ :ivar id:
10841
+ :vartype id: int
10842
+ :ivar name:
10843
+ :vartype name: str
10844
+ :ivar description:
10845
+ :vartype description: str
10846
+ :ivar datapoints:
10847
+ :vartype datapoints: list[~ignos.api.client.models.NumericNullableValueWithTimestamp]
10848
+ """
10849
+
10850
+ _attribute_map = {
10851
+ "external_id": {"key": "externalId", "type": "str"},
10852
+ "id": {"key": "id", "type": "int"},
10134
10853
  "name": {"key": "name", "type": "str"},
10135
10854
  "description": {"key": "description", "type": "str"},
10136
10855
  "datapoints": {"key": "datapoints", "type": "[NumericNullableValueWithTimestamp]"},
@@ -11655,8 +12374,12 @@ class MachineUtilizationV2Dto(_serialization.Model):
11655
12374
 
11656
12375
  All required parameters must be populated in order to send to server.
11657
12376
 
12377
+ :ivar id:
12378
+ :vartype id: int
11658
12379
  :ivar name: Required.
11659
12380
  :vartype name: str
12381
+ :ivar description:
12382
+ :vartype description: str
11660
12383
  :ivar utilization: Required.
11661
12384
  :vartype utilization: ~ignos.api.client.models.UtilizationDto
11662
12385
  """
@@ -11667,19 +12390,35 @@ class MachineUtilizationV2Dto(_serialization.Model):
11667
12390
  }
11668
12391
 
11669
12392
  _attribute_map = {
12393
+ "id": {"key": "id", "type": "int"},
11670
12394
  "name": {"key": "name", "type": "str"},
12395
+ "description": {"key": "description", "type": "str"},
11671
12396
  "utilization": {"key": "utilization", "type": "UtilizationDto"},
11672
12397
  }
11673
12398
 
11674
- 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:
11675
12408
  """
12409
+ :keyword id:
12410
+ :paramtype id: int
11676
12411
  :keyword name: Required.
11677
12412
  :paramtype name: str
12413
+ :keyword description:
12414
+ :paramtype description: str
11678
12415
  :keyword utilization: Required.
11679
12416
  :paramtype utilization: ~ignos.api.client.models.UtilizationDto
11680
12417
  """
11681
12418
  super().__init__(**kwargs)
12419
+ self.id = id
11682
12420
  self.name = name
12421
+ self.description = description
11683
12422
  self.utilization = utilization
11684
12423
 
11685
12424
 
@@ -19448,6 +20187,8 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19448
20187
  :vartype order_reference: ~ignos.api.client.models.OrderReferenceDto
19449
20188
  :ivar status: Required. Known values are: "Unknown", "NotStarted", "Partial", and "Completed".
19450
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]
19451
20192
  """
19452
20193
 
19453
20194
  _validation = {
@@ -19458,6 +20199,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19458
20199
  "total_required_quantity": {"required": True},
19459
20200
  "used_quantity": {"required": True},
19460
20201
  "status": {"required": True},
20202
+ "availability_details": {"required": True},
19461
20203
  }
19462
20204
 
19463
20205
  _attribute_map = {
@@ -19478,6 +20220,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19478
20220
  "drawing": {"key": "drawing", "type": "DrawingDto"},
19479
20221
  "order_reference": {"key": "orderReference", "type": "OrderReferenceDto"},
19480
20222
  "status": {"key": "status", "type": "str"},
20223
+ "availability_details": {"key": "availabilityDetails", "type": "[InventoryDto]"},
19481
20224
  }
19482
20225
 
19483
20226
  def __init__(
@@ -19490,6 +20233,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19490
20233
  total_required_quantity: float,
19491
20234
  used_quantity: float,
19492
20235
  status: Union[str, "_models.MaterialStatus"],
20236
+ availability_details: List["_models.InventoryDto"],
19493
20237
  position: Optional[str] = None,
19494
20238
  dimension: Optional[str] = None,
19495
20239
  operation_name: Optional[str] = None,
@@ -19538,6 +20282,8 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19538
20282
  :keyword status: Required. Known values are: "Unknown", "NotStarted", "Partial", and
19539
20283
  "Completed".
19540
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]
19541
20287
  """
19542
20288
  super().__init__(**kwargs)
19543
20289
  self.position = position
@@ -19557,6 +20303,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
19557
20303
  self.drawing = drawing
19558
20304
  self.order_reference = order_reference
19559
20305
  self.status = status
20306
+ self.availability_details = availability_details
19560
20307
 
19561
20308
 
19562
20309
  class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
@@ -19591,10 +20338,12 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19591
20338
  :vartype planner: ~ignos.api.client.models.UserDto
19592
20339
  :ivar project_leader:
19593
20340
  :vartype project_leader: ~ignos.api.client.models.UserDto
19594
- :ivar end_location:
19595
- :vartype end_location: str
20341
+ :ivar delivery_location:
20342
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
19596
20343
  :ivar project:
19597
20344
  :vartype project: ~ignos.api.client.models.WorkOrderProjectDto
20345
+ :ivar attachments:
20346
+ :vartype attachments: list[~ignos.api.client.models.WorkOrderAttachmentDto]
19598
20347
  :ivar start_date:
19599
20348
  :vartype start_date: ~datetime.datetime
19600
20349
  :ivar end_date:
@@ -19632,8 +20381,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19632
20381
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
19633
20382
  "planner": {"key": "planner", "type": "UserDto"},
19634
20383
  "project_leader": {"key": "projectLeader", "type": "UserDto"},
19635
- "end_location": {"key": "endLocation", "type": "str"},
20384
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
19636
20385
  "project": {"key": "project", "type": "WorkOrderProjectDto"},
20386
+ "attachments": {"key": "attachments", "type": "[WorkOrderAttachmentDto]"},
19637
20387
  "start_date": {"key": "startDate", "type": "iso-8601"},
19638
20388
  "end_date": {"key": "endDate", "type": "iso-8601"},
19639
20389
  "bom_position": {"key": "bomPosition", "type": "str"},
@@ -19657,8 +20407,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19657
20407
  planned_end: Optional[datetime.datetime] = None,
19658
20408
  planner: Optional["_models.UserDto"] = None,
19659
20409
  project_leader: Optional["_models.UserDto"] = None,
19660
- end_location: Optional[str] = None,
20410
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
19661
20411
  project: Optional["_models.WorkOrderProjectDto"] = None,
20412
+ attachments: Optional[List["_models.WorkOrderAttachmentDto"]] = None,
19662
20413
  start_date: Optional[datetime.datetime] = None,
19663
20414
  end_date: Optional[datetime.datetime] = None,
19664
20415
  bom_position: Optional[str] = None,
@@ -19694,10 +20445,12 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19694
20445
  :paramtype planner: ~ignos.api.client.models.UserDto
19695
20446
  :keyword project_leader:
19696
20447
  :paramtype project_leader: ~ignos.api.client.models.UserDto
19697
- :keyword end_location:
19698
- :paramtype end_location: str
20448
+ :keyword delivery_location:
20449
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
19699
20450
  :keyword project:
19700
20451
  :paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
20452
+ :keyword attachments:
20453
+ :paramtype attachments: list[~ignos.api.client.models.WorkOrderAttachmentDto]
19701
20454
  :keyword start_date:
19702
20455
  :paramtype start_date: ~datetime.datetime
19703
20456
  :keyword end_date:
@@ -19723,8 +20476,9 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19723
20476
  self.scrapped_quantity = scrapped_quantity
19724
20477
  self.planner = planner
19725
20478
  self.project_leader = project_leader
19726
- self.end_location = end_location
20479
+ self.delivery_location = delivery_location
19727
20480
  self.project = project
20481
+ self.attachments = attachments
19728
20482
  self.start_date = start_date
19729
20483
  self.end_date = end_date
19730
20484
  self.bom_position = bom_position
@@ -19732,16 +20486,130 @@ class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-inst
19732
20486
  self.order_reference = order_reference
19733
20487
 
19734
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
+
19735
20603
  class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
19736
20604
  """ProductionOrderOperationDto.
19737
20605
 
19738
20606
  All required parameters must be populated in order to send to server.
19739
20607
 
19740
- :ivar operation:
20608
+ :ivar operation: Required.
19741
20609
  :vartype operation: int
19742
20610
  :ivar next_operation:
19743
20611
  :vartype next_operation: int
19744
- :ivar operation_id:
20612
+ :ivar operation_id: Required.
19745
20613
  :vartype operation_id: str
19746
20614
  :ivar description:
19747
20615
  :vartype description: str
@@ -19765,6 +20633,10 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19765
20633
  :vartype planned_start: ~datetime.datetime
19766
20634
  :ivar planned_end:
19767
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
19768
20640
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19769
20641
  "Stopped".
19770
20642
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19778,6 +20650,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19778
20650
  :vartype started_quantity: float
19779
20651
  :ivar ongoing_quantity:
19780
20652
  :vartype ongoing_quantity: float
20653
+ :ivar available_to_start_quantity: Required.
20654
+ :vartype available_to_start_quantity: float
19781
20655
  :ivar work_instructions:
19782
20656
  :vartype work_instructions: str
19783
20657
  :ivar note:
@@ -19793,10 +20667,13 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19793
20667
  """
19794
20668
 
19795
20669
  _validation = {
20670
+ "operation": {"required": True},
20671
+ "operation_id": {"required": True, "min_length": 1},
19796
20672
  "status": {"required": True},
19797
20673
  "produced_quantity": {"required": True},
19798
20674
  "scrapped_quantity": {"required": True},
19799
20675
  "quantity": {"required": True},
20676
+ "available_to_start_quantity": {"required": True},
19800
20677
  "disable_setup_registration": {"required": True},
19801
20678
  }
19802
20679
 
@@ -19815,12 +20692,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19815
20692
  "resource": {"key": "resource", "type": "ResourceDto"},
19816
20693
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
19817
20694
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
20695
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
20696
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
19818
20697
  "status": {"key": "status", "type": "str"},
19819
20698
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
19820
20699
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
19821
20700
  "quantity": {"key": "quantity", "type": "float"},
19822
20701
  "started_quantity": {"key": "startedQuantity", "type": "float"},
19823
20702
  "ongoing_quantity": {"key": "ongoingQuantity", "type": "float"},
20703
+ "available_to_start_quantity": {"key": "availableToStartQuantity", "type": "float"},
19824
20704
  "work_instructions": {"key": "workInstructions", "type": "str"},
19825
20705
  "note": {"key": "note", "type": "str"},
19826
20706
  "fixture": {"key": "fixture", "type": "str"},
@@ -19832,14 +20712,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19832
20712
  def __init__( # pylint: disable=too-many-locals
19833
20713
  self,
19834
20714
  *,
20715
+ operation: int,
20716
+ operation_id: str,
19835
20717
  status: Union[str, "_models.OperationStatusDto"],
19836
20718
  produced_quantity: float,
19837
20719
  scrapped_quantity: float,
19838
20720
  quantity: float,
20721
+ available_to_start_quantity: float,
19839
20722
  disable_setup_registration: bool,
19840
- operation: Optional[int] = None,
19841
20723
  next_operation: Optional[int] = None,
19842
- operation_id: Optional[str] = None,
19843
20724
  description: Optional[str] = None,
19844
20725
  total_planned_hours: Optional[float] = None,
19845
20726
  total_used_hours: Optional[float] = None,
@@ -19851,6 +20732,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19851
20732
  resource: Optional["_models.ResourceDto"] = None,
19852
20733
  planned_start: Optional[datetime.datetime] = None,
19853
20734
  planned_end: Optional[datetime.datetime] = None,
20735
+ actual_start: Optional[datetime.datetime] = None,
20736
+ actual_end: Optional[datetime.datetime] = None,
19854
20737
  started_quantity: Optional[float] = None,
19855
20738
  ongoing_quantity: Optional[float] = None,
19856
20739
  work_instructions: Optional[str] = None,
@@ -19861,11 +20744,11 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19861
20744
  **kwargs: Any
19862
20745
  ) -> None:
19863
20746
  """
19864
- :keyword operation:
20747
+ :keyword operation: Required.
19865
20748
  :paramtype operation: int
19866
20749
  :keyword next_operation:
19867
20750
  :paramtype next_operation: int
19868
- :keyword operation_id:
20751
+ :keyword operation_id: Required.
19869
20752
  :paramtype operation_id: str
19870
20753
  :keyword description:
19871
20754
  :paramtype description: str
@@ -19889,6 +20772,10 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19889
20772
  :paramtype planned_start: ~datetime.datetime
19890
20773
  :keyword planned_end:
19891
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
19892
20779
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
19893
20780
  "Stopped".
19894
20781
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -19902,6 +20789,8 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19902
20789
  :paramtype started_quantity: float
19903
20790
  :keyword ongoing_quantity:
19904
20791
  :paramtype ongoing_quantity: float
20792
+ :keyword available_to_start_quantity: Required.
20793
+ :paramtype available_to_start_quantity: float
19905
20794
  :keyword work_instructions:
19906
20795
  :paramtype work_instructions: str
19907
20796
  :keyword note:
@@ -19930,12 +20819,15 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
19930
20819
  self.resource = resource
19931
20820
  self.planned_start = planned_start
19932
20821
  self.planned_end = planned_end
20822
+ self.actual_start = actual_start
20823
+ self.actual_end = actual_end
19933
20824
  self.status = status
19934
20825
  self.produced_quantity = produced_quantity
19935
20826
  self.scrapped_quantity = scrapped_quantity
19936
20827
  self.quantity = quantity
19937
20828
  self.started_quantity = started_quantity
19938
20829
  self.ongoing_quantity = ongoing_quantity
20830
+ self.available_to_start_quantity = available_to_start_quantity
19939
20831
  self.work_instructions = work_instructions
19940
20832
  self.note = note
19941
20833
  self.fixture = fixture
@@ -19951,11 +20843,14 @@ class ProductionResourceDto(_serialization.Model):
19951
20843
  :vartype id: str
19952
20844
  :ivar name:
19953
20845
  :vartype name: str
20846
+ :ivar department:
20847
+ :vartype department: ~ignos.api.client.models.DepartmentDto
19954
20848
  """
19955
20849
 
19956
20850
  _attribute_map = {
19957
20851
  "id": {"key": "id", "type": "str"},
19958
20852
  "name": {"key": "name", "type": "str"},
20853
+ "department": {"key": "department", "type": "DepartmentDto"},
19959
20854
  }
19960
20855
 
19961
20856
  def __init__(
@@ -19963,6 +20858,7 @@ class ProductionResourceDto(_serialization.Model):
19963
20858
  *,
19964
20859
  id: Optional[str] = None, # pylint: disable=redefined-builtin
19965
20860
  name: Optional[str] = None,
20861
+ department: Optional["_models.DepartmentDto"] = None,
19966
20862
  **kwargs: Any
19967
20863
  ) -> None:
19968
20864
  """
@@ -19970,10 +20866,13 @@ class ProductionResourceDto(_serialization.Model):
19970
20866
  :paramtype id: str
19971
20867
  :keyword name:
19972
20868
  :paramtype name: str
20869
+ :keyword department:
20870
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
19973
20871
  """
19974
20872
  super().__init__(**kwargs)
19975
20873
  self.id = id
19976
20874
  self.name = name
20875
+ self.department = department
19977
20876
 
19978
20877
 
19979
20878
  class ProductionScheduleFiltersDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
@@ -20088,6 +20987,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20088
20987
  :vartype planned_start: ~datetime.datetime
20089
20988
  :ivar planned_end:
20090
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
20091
20994
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
20092
20995
  "Stopped".
20093
20996
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -20129,6 +21032,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20129
21032
  :vartype resource_id: str
20130
21033
  :ivar resource_name: Required.
20131
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
20132
21039
  :ivar bom_position:
20133
21040
  :vartype bom_position: str
20134
21041
  :ivar customer_name:
@@ -20151,8 +21058,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20151
21058
  :vartype tool_number: str
20152
21059
  :ivar prerequisites: Required.
20153
21060
  :vartype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
20154
- :ivar end_location:
20155
- :vartype end_location: str
21061
+ :ivar delivery_location:
21062
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
20156
21063
  :ivar drawing:
20157
21064
  :vartype drawing: ~ignos.api.client.models.DrawingDto
20158
21065
  :ivar drawing_number:
@@ -20190,6 +21097,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20190
21097
  "operation_name": {"key": "operationName", "type": "str"},
20191
21098
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
20192
21099
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
21100
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
21101
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
20193
21102
  "status": {"key": "status", "type": "str"},
20194
21103
  "total_planned_hours": {"key": "totalPlannedHours", "type": "float"},
20195
21104
  "total_used_hours": {"key": "totalUsedHours", "type": "float"},
@@ -20210,6 +21119,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20210
21119
  "part_material": {"key": "partMaterial", "type": "str"},
20211
21120
  "resource_id": {"key": "resourceId", "type": "str"},
20212
21121
  "resource_name": {"key": "resourceName", "type": "str"},
21122
+ "resource_department_number": {"key": "resourceDepartmentNumber", "type": "str"},
21123
+ "resource_department_name": {"key": "resourceDepartmentName", "type": "str"},
20213
21124
  "bom_position": {"key": "bomPosition", "type": "str"},
20214
21125
  "customer_name": {"key": "customerName", "type": "str"},
20215
21126
  "previous_operation": {"key": "previousOperation", "type": "SurroundingOperationDto"},
@@ -20221,7 +21132,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20221
21132
  "program": {"key": "program", "type": "str"},
20222
21133
  "tool_number": {"key": "toolNumber", "type": "str"},
20223
21134
  "prerequisites": {"key": "prerequisites", "type": "OperationPrerequisitesDto"},
20224
- "end_location": {"key": "endLocation", "type": "str"},
21135
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
20225
21136
  "drawing": {"key": "drawing", "type": "DrawingDto"},
20226
21137
  "drawing_number": {"key": "drawingNumber", "type": "str"},
20227
21138
  "disable_setup_registration": {"key": "disableSetupRegistration", "type": "bool"},
@@ -20248,6 +21159,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20248
21159
  disable_setup_registration: bool,
20249
21160
  material_pick_status: Union[str, "_models.MaterialPickStatus"],
20250
21161
  planned_end: Optional[datetime.datetime] = None,
21162
+ actual_start: Optional[datetime.datetime] = None,
21163
+ actual_end: Optional[datetime.datetime] = None,
20251
21164
  total_planned_hours: Optional[float] = None,
20252
21165
  total_used_hours: Optional[float] = None,
20253
21166
  planned_setup_hours: Optional[float] = None,
@@ -20260,6 +21173,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20260
21173
  part_revision: Optional[str] = None,
20261
21174
  part_name: Optional[str] = None,
20262
21175
  part_material: Optional[str] = None,
21176
+ resource_department_number: Optional[str] = None,
21177
+ resource_department_name: Optional[str] = None,
20263
21178
  bom_position: Optional[str] = None,
20264
21179
  customer_name: Optional[str] = None,
20265
21180
  previous_operation: Optional["_models.SurroundingOperationDto"] = None,
@@ -20270,7 +21185,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20270
21185
  fixture: Optional[str] = None,
20271
21186
  program: Optional[str] = None,
20272
21187
  tool_number: Optional[str] = None,
20273
- end_location: Optional[str] = None,
21188
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
20274
21189
  drawing: Optional["_models.DrawingDto"] = None,
20275
21190
  drawing_number: Optional[str] = None,
20276
21191
  **kwargs: Any
@@ -20288,6 +21203,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20288
21203
  :paramtype planned_start: ~datetime.datetime
20289
21204
  :keyword planned_end:
20290
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
20291
21210
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
20292
21211
  "Stopped".
20293
21212
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -20329,6 +21248,10 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20329
21248
  :paramtype resource_id: str
20330
21249
  :keyword resource_name: Required.
20331
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
20332
21255
  :keyword bom_position:
20333
21256
  :paramtype bom_position: str
20334
21257
  :keyword customer_name:
@@ -20351,8 +21274,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20351
21274
  :paramtype tool_number: str
20352
21275
  :keyword prerequisites: Required.
20353
21276
  :paramtype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
20354
- :keyword end_location:
20355
- :paramtype end_location: str
21277
+ :keyword delivery_location:
21278
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
20356
21279
  :keyword drawing:
20357
21280
  :paramtype drawing: ~ignos.api.client.models.DrawingDto
20358
21281
  :keyword drawing_number:
@@ -20370,6 +21293,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20370
21293
  self.operation_name = operation_name
20371
21294
  self.planned_start = planned_start
20372
21295
  self.planned_end = planned_end
21296
+ self.actual_start = actual_start
21297
+ self.actual_end = actual_end
20373
21298
  self.status = status
20374
21299
  self.total_planned_hours = total_planned_hours
20375
21300
  self.total_used_hours = total_used_hours
@@ -20390,6 +21315,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20390
21315
  self.part_material = part_material
20391
21316
  self.resource_id = resource_id
20392
21317
  self.resource_name = resource_name
21318
+ self.resource_department_number = resource_department_number
21319
+ self.resource_department_name = resource_department_name
20393
21320
  self.bom_position = bom_position
20394
21321
  self.customer_name = customer_name
20395
21322
  self.previous_operation = previous_operation
@@ -20401,7 +21328,7 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
20401
21328
  self.program = program
20402
21329
  self.tool_number = tool_number
20403
21330
  self.prerequisites = prerequisites
20404
- self.end_location = end_location
21331
+ self.delivery_location = delivery_location
20405
21332
  self.drawing = drawing
20406
21333
  self.drawing_number = drawing_number
20407
21334
  self.disable_setup_registration = disable_setup_registration
@@ -20844,6 +21771,8 @@ class ResourceDto(_serialization.Model):
20844
21771
  :vartype resource_type: str
20845
21772
  :ivar resource_group_id:
20846
21773
  :vartype resource_group_id: str
21774
+ :ivar department:
21775
+ :vartype department: ~ignos.api.client.models.DepartmentDto
20847
21776
  """
20848
21777
 
20849
21778
  _validation = {
@@ -20858,6 +21787,7 @@ class ResourceDto(_serialization.Model):
20858
21787
  "description": {"key": "description", "type": "str"},
20859
21788
  "resource_type": {"key": "resourceType", "type": "str"},
20860
21789
  "resource_group_id": {"key": "resourceGroupId", "type": "str"},
21790
+ "department": {"key": "department", "type": "DepartmentDto"},
20861
21791
  }
20862
21792
 
20863
21793
  def __init__(
@@ -20869,6 +21799,7 @@ class ResourceDto(_serialization.Model):
20869
21799
  description: Optional[str] = None,
20870
21800
  resource_type: Optional[str] = None,
20871
21801
  resource_group_id: Optional[str] = None,
21802
+ department: Optional["_models.DepartmentDto"] = None,
20872
21803
  **kwargs: Any
20873
21804
  ) -> None:
20874
21805
  """
@@ -20884,6 +21815,8 @@ class ResourceDto(_serialization.Model):
20884
21815
  :paramtype resource_type: str
20885
21816
  :keyword resource_group_id:
20886
21817
  :paramtype resource_group_id: str
21818
+ :keyword department:
21819
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
20887
21820
  """
20888
21821
  super().__init__(**kwargs)
20889
21822
  self.id = id
@@ -20892,6 +21825,7 @@ class ResourceDto(_serialization.Model):
20892
21825
  self.description = description
20893
21826
  self.resource_type = resource_type
20894
21827
  self.resource_group_id = resource_group_id
21828
+ self.department = department
20895
21829
 
20896
21830
 
20897
21831
  class ResourceExistDto(_serialization.Model):
@@ -20950,6 +21884,8 @@ class ResourceGroupDto(_serialization.Model):
20950
21884
  :vartype name: str
20951
21885
  :ivar resources: Required.
20952
21886
  :vartype resources: list[~ignos.api.client.models.ProductionResourceDto]
21887
+ :ivar department:
21888
+ :vartype department: ~ignos.api.client.models.DepartmentDto
20953
21889
  """
20954
21890
 
20955
21891
  _validation = {
@@ -20960,6 +21896,7 @@ class ResourceGroupDto(_serialization.Model):
20960
21896
  "id": {"key": "id", "type": "str"},
20961
21897
  "name": {"key": "name", "type": "str"},
20962
21898
  "resources": {"key": "resources", "type": "[ProductionResourceDto]"},
21899
+ "department": {"key": "department", "type": "DepartmentDto"},
20963
21900
  }
20964
21901
 
20965
21902
  def __init__(
@@ -20968,6 +21905,7 @@ class ResourceGroupDto(_serialization.Model):
20968
21905
  resources: List["_models.ProductionResourceDto"],
20969
21906
  id: Optional[str] = None, # pylint: disable=redefined-builtin
20970
21907
  name: Optional[str] = None,
21908
+ department: Optional["_models.DepartmentDto"] = None,
20971
21909
  **kwargs: Any
20972
21910
  ) -> None:
20973
21911
  """
@@ -20977,11 +21915,14 @@ class ResourceGroupDto(_serialization.Model):
20977
21915
  :paramtype name: str
20978
21916
  :keyword resources: Required.
20979
21917
  :paramtype resources: list[~ignos.api.client.models.ProductionResourceDto]
21918
+ :keyword department:
21919
+ :paramtype department: ~ignos.api.client.models.DepartmentDto
20980
21920
  """
20981
21921
  super().__init__(**kwargs)
20982
21922
  self.id = id
20983
21923
  self.name = name
20984
21924
  self.resources = resources
21925
+ self.department = department
20985
21926
 
20986
21927
 
20987
21928
  class RightAngledTriangleDto(_serialization.Model):
@@ -21680,6 +22621,46 @@ class SchemaInstanceElementDto(_serialization.Model):
21680
22621
  self.disabled = disabled
21681
22622
 
21682
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
+
21683
22664
  class SelectProductionCompany(_serialization.Model):
21684
22665
  """SelectProductionCompany.
21685
22666
 
@@ -22012,6 +22993,46 @@ class StartCamTransferToMachine(_serialization.Model):
22012
22993
  self.cnc_machine_id = cnc_machine_id
22013
22994
 
22014
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:
23022
+ """
23023
+ :keyword upload_key: Required.
23024
+ :paramtype upload_key: str
23025
+ :keyword filename: Required.
23026
+ :paramtype filename: str
23027
+ :keyword cnc_machine_id: Required.
23028
+ :paramtype cnc_machine_id: str
23029
+ """
23030
+ super().__init__(**kwargs)
23031
+ self.upload_key = upload_key
23032
+ self.filename = filename
23033
+ self.cnc_machine_id = cnc_machine_id
23034
+
23035
+
22015
23036
  class StartOperationDto(_serialization.Model):
22016
23037
  """StartOperationDto.
22017
23038
 
@@ -22532,10 +23553,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22532
23553
  :vartype operation: int
22533
23554
  :ivar operation_name: Required.
22534
23555
  :vartype operation_name: str
22535
- :ivar planned_start: Required.
23556
+ :ivar planned_start:
22536
23557
  :vartype planned_start: ~datetime.datetime
22537
23558
  :ivar planned_end:
22538
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
22539
23564
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
22540
23565
  "Stopped".
22541
23566
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -22545,6 +23570,10 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22545
23570
  :vartype resource_id: str
22546
23571
  :ivar resource_name:
22547
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
22548
23577
  :ivar produced_quantity: Required.
22549
23578
  :vartype produced_quantity: float
22550
23579
  :ivar scrapped_quantity: Required.
@@ -22557,7 +23586,6 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22557
23586
  "id": {"required": True, "min_length": 1},
22558
23587
  "operation": {"required": True},
22559
23588
  "operation_name": {"required": True, "min_length": 1},
22560
- "planned_start": {"required": True},
22561
23589
  "status": {"required": True},
22562
23590
  "produced_quantity": {"required": True},
22563
23591
  "scrapped_quantity": {"required": True},
@@ -22569,10 +23597,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22569
23597
  "operation_name": {"key": "operationName", "type": "str"},
22570
23598
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
22571
23599
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
23600
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
23601
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
22572
23602
  "status": {"key": "status", "type": "str"},
22573
23603
  "resource_group_id": {"key": "resourceGroupId", "type": "str"},
22574
23604
  "resource_id": {"key": "resourceId", "type": "str"},
22575
23605
  "resource_name": {"key": "resourceName", "type": "str"},
23606
+ "resource_department_number": {"key": "resourceDepartmentNumber", "type": "str"},
23607
+ "resource_department_name": {"key": "resourceDepartmentName", "type": "str"},
22576
23608
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
22577
23609
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
22578
23610
  "started_quantity": {"key": "startedQuantity", "type": "float"},
@@ -22584,14 +23616,18 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22584
23616
  id: str, # pylint: disable=redefined-builtin
22585
23617
  operation: int,
22586
23618
  operation_name: str,
22587
- planned_start: datetime.datetime,
22588
23619
  status: Union[str, "_models.OperationStatusDto"],
22589
23620
  produced_quantity: float,
22590
23621
  scrapped_quantity: float,
23622
+ planned_start: Optional[datetime.datetime] = None,
22591
23623
  planned_end: Optional[datetime.datetime] = None,
23624
+ actual_start: Optional[datetime.datetime] = None,
23625
+ actual_end: Optional[datetime.datetime] = None,
22592
23626
  resource_group_id: Optional[str] = None,
22593
23627
  resource_id: Optional[str] = None,
22594
23628
  resource_name: Optional[str] = None,
23629
+ resource_department_number: Optional[str] = None,
23630
+ resource_department_name: Optional[str] = None,
22595
23631
  started_quantity: Optional[float] = None,
22596
23632
  **kwargs: Any
22597
23633
  ) -> None:
@@ -22602,10 +23638,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22602
23638
  :paramtype operation: int
22603
23639
  :keyword operation_name: Required.
22604
23640
  :paramtype operation_name: str
22605
- :keyword planned_start: Required.
23641
+ :keyword planned_start:
22606
23642
  :paramtype planned_start: ~datetime.datetime
22607
23643
  :keyword planned_end:
22608
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
22609
23649
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
22610
23650
  "Stopped".
22611
23651
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -22615,6 +23655,10 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22615
23655
  :paramtype resource_id: str
22616
23656
  :keyword resource_name:
22617
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
22618
23662
  :keyword produced_quantity: Required.
22619
23663
  :paramtype produced_quantity: float
22620
23664
  :keyword scrapped_quantity: Required.
@@ -22628,10 +23672,14 @@ class SurroundingOperationDto(_serialization.Model): # pylint: disable=too-many
22628
23672
  self.operation_name = operation_name
22629
23673
  self.planned_start = planned_start
22630
23674
  self.planned_end = planned_end
23675
+ self.actual_start = actual_start
23676
+ self.actual_end = actual_end
22631
23677
  self.status = status
22632
23678
  self.resource_group_id = resource_group_id
22633
23679
  self.resource_id = resource_id
22634
23680
  self.resource_name = resource_name
23681
+ self.resource_department_number = resource_department_number
23682
+ self.resource_department_name = resource_department_name
22635
23683
  self.produced_quantity = produced_quantity
22636
23684
  self.scrapped_quantity = scrapped_quantity
22637
23685
  self.started_quantity = started_quantity
@@ -22843,7 +23891,7 @@ class SustainabilityPartInfoDto(_serialization.Model):
22843
23891
  self.part_name = part_name
22844
23892
 
22845
23893
 
22846
- class TraceDto(_serialization.Model):
23894
+ class TraceDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
22847
23895
  """TraceDto.
22848
23896
 
22849
23897
  All required parameters must be populated in order to send to server.
@@ -22866,6 +23914,11 @@ class TraceDto(_serialization.Model):
22866
23914
  :vartype operations: list[~ignos.api.client.models.WorkOrderTraceOperationDto]
22867
23915
  :ivar trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
22868
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
22869
23922
  :ivar material_lines_missing_trace_information: Required.
22870
23923
  :vartype material_lines_missing_trace_information: list[int]
22871
23924
  """
@@ -22880,6 +23933,8 @@ class TraceDto(_serialization.Model):
22880
23933
  "override_material_details": {"required": True},
22881
23934
  "operations": {"required": True},
22882
23935
  "trace_type": {"required": True},
23936
+ "trace_status": {"required": True},
23937
+ "manual_completed": {"required": True},
22883
23938
  "material_lines_missing_trace_information": {"required": True},
22884
23939
  }
22885
23940
 
@@ -22893,6 +23948,8 @@ class TraceDto(_serialization.Model):
22893
23948
  "override_material_details": {"key": "overrideMaterialDetails", "type": "[TraceMaterialDetailDto]"},
22894
23949
  "operations": {"key": "operations", "type": "[WorkOrderTraceOperationDto]"},
22895
23950
  "trace_type": {"key": "traceType", "type": "str"},
23951
+ "trace_status": {"key": "traceStatus", "type": "str"},
23952
+ "manual_completed": {"key": "manualCompleted", "type": "bool"},
22896
23953
  "material_lines_missing_trace_information": {"key": "materialLinesMissingTraceInformation", "type": "[int]"},
22897
23954
  }
22898
23955
 
@@ -22908,6 +23965,8 @@ class TraceDto(_serialization.Model):
22908
23965
  override_material_details: List["_models.TraceMaterialDetailDto"],
22909
23966
  operations: List["_models.WorkOrderTraceOperationDto"],
22910
23967
  trace_type: Union[str, "_models.TraceType"],
23968
+ trace_status: Union[str, "_models.TraceStatus"],
23969
+ manual_completed: bool,
22911
23970
  material_lines_missing_trace_information: List[int],
22912
23971
  **kwargs: Any
22913
23972
  ) -> None:
@@ -22930,6 +23989,11 @@ class TraceDto(_serialization.Model):
22930
23989
  :paramtype operations: list[~ignos.api.client.models.WorkOrderTraceOperationDto]
22931
23990
  :keyword trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
22932
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
22933
23997
  :keyword material_lines_missing_trace_information: Required.
22934
23998
  :paramtype material_lines_missing_trace_information: list[int]
22935
23999
  """
@@ -22943,6 +24007,8 @@ class TraceDto(_serialization.Model):
22943
24007
  self.override_material_details = override_material_details
22944
24008
  self.operations = operations
22945
24009
  self.trace_type = trace_type
24010
+ self.trace_status = trace_status
24011
+ self.manual_completed = manual_completed
22946
24012
  self.material_lines_missing_trace_information = material_lines_missing_trace_information
22947
24013
 
22948
24014
 
@@ -23244,90 +24310,349 @@ class TraceWorkOrderListDto(_serialization.Model):
23244
24310
  "customer_order_reference": {"key": "customerOrderReference", "type": "WorkorderCustomerOrderReferenceDto"},
23245
24311
  }
23246
24312
 
23247
- def __init__(
23248
- self,
23249
- *,
23250
- id: str, # pylint: disable=redefined-builtin
23251
- part: "_models.PartDto",
23252
- quantity: float,
23253
- status: Union[str, "_models.WorkorderStatus"],
23254
- unit: Optional[str] = None,
23255
- planned_start: Optional[datetime.datetime] = None,
23256
- planned_end: Optional[datetime.datetime] = None,
23257
- produced_quantity: Optional[float] = None,
23258
- scrapped_quantity: Optional[float] = None,
23259
- customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
23260
- **kwargs: Any
23261
- ) -> None:
24313
+ def __init__(
24314
+ self,
24315
+ *,
24316
+ id: str, # pylint: disable=redefined-builtin
24317
+ part: "_models.PartDto",
24318
+ quantity: float,
24319
+ status: Union[str, "_models.WorkorderStatus"],
24320
+ unit: Optional[str] = None,
24321
+ planned_start: Optional[datetime.datetime] = None,
24322
+ planned_end: Optional[datetime.datetime] = None,
24323
+ produced_quantity: Optional[float] = None,
24324
+ scrapped_quantity: Optional[float] = None,
24325
+ customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
24326
+ **kwargs: Any
24327
+ ) -> None:
24328
+ """
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:
23262
24597
  """
23263
- :keyword id: Required.
23264
- :paramtype id: str
23265
- :keyword part: Required.
23266
- :paramtype part: ~ignos.api.client.models.PartDto
23267
- :keyword quantity: Required.
23268
- :paramtype quantity: float
23269
- :keyword unit:
23270
- :paramtype unit: str
23271
- :keyword status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed",
23272
- "ProductionFinished", and "Deleted".
23273
- :paramtype status: str or ~ignos.api.client.models.WorkorderStatus
23274
- :keyword planned_start:
23275
- :paramtype planned_start: ~datetime.datetime
23276
- :keyword planned_end:
23277
- :paramtype planned_end: ~datetime.datetime
23278
- :keyword produced_quantity:
23279
- :paramtype produced_quantity: float
23280
- :keyword scrapped_quantity:
23281
- :paramtype scrapped_quantity: float
23282
- :keyword customer_order_reference:
23283
- :paramtype customer_order_reference:
23284
- ~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
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
23285
24604
  """
23286
24605
  super().__init__(**kwargs)
23287
- self.id = id
23288
- self.part = part
23289
- self.quantity = quantity
23290
- self.unit = unit
23291
- self.status = status
23292
- self.planned_start = planned_start
23293
- self.planned_end = planned_end
23294
- self.produced_quantity = produced_quantity
23295
- self.scrapped_quantity = scrapped_quantity
23296
- self.customer_order_reference = customer_order_reference
24606
+ self.tracking_id = tracking_id
24607
+ self.location_id = location_id
24608
+ self.comment = comment
23297
24609
 
23298
24610
 
23299
- class TraceWorkOrderListDtoPagedResult(_serialization.Model):
23300
- """TraceWorkOrderListDtoPagedResult.
24611
+ class TrackingWorkOrderDto(_serialization.Model):
24612
+ """TrackingWorkOrderDto.
23301
24613
 
23302
24614
  All required parameters must be populated in order to send to server.
23303
24615
 
23304
- :ivar results: Required.
23305
- :vartype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
23306
- :ivar continuation_token:
23307
- :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]
23308
24622
  """
23309
24623
 
23310
24624
  _validation = {
23311
- "results": {"required": True},
24625
+ "work_order_id": {"required": True, "min_length": 1},
24626
+ "part": {"required": True},
24627
+ "tracking_history": {"required": True},
23312
24628
  }
23313
24629
 
23314
24630
  _attribute_map = {
23315
- "results": {"key": "results", "type": "[TraceWorkOrderListDto]"},
23316
- "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]"},
23317
24634
  }
23318
24635
 
23319
24636
  def __init__(
23320
- 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
23321
24643
  ) -> None:
23322
24644
  """
23323
- :keyword results: Required.
23324
- :paramtype results: list[~ignos.api.client.models.TraceWorkOrderListDto]
23325
- :keyword continuation_token:
23326
- :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]
23327
24651
  """
23328
24652
  super().__init__(**kwargs)
23329
- self.results = results
23330
- self.continuation_token = continuation_token
24653
+ self.work_order_id = work_order_id
24654
+ self.part = part
24655
+ self.tracking_history = tracking_history
23331
24656
 
23332
24657
 
23333
24658
  class UnregisteredToolValueDto(_serialization.Model):
@@ -23667,6 +24992,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
23667
24992
  :vartype grade: str
23668
24993
  :ivar radius:
23669
24994
  :vartype radius: float
24995
+ :ivar chamfer:
24996
+ :vartype chamfer: float
23670
24997
  :ivar width:
23671
24998
  :vartype width: float
23672
24999
  :ivar pitch:
@@ -23702,6 +25029,7 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
23702
25029
  "diameter": {"key": "diameter", "type": "float"},
23703
25030
  "grade": {"key": "grade", "type": "str"},
23704
25031
  "radius": {"key": "radius", "type": "float"},
25032
+ "chamfer": {"key": "chamfer", "type": "float"},
23705
25033
  "width": {"key": "width", "type": "float"},
23706
25034
  "pitch": {"key": "pitch", "type": "str"},
23707
25035
  "length": {"key": "length", "type": "float"},
@@ -23726,6 +25054,7 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
23726
25054
  diameter: Optional[float] = None,
23727
25055
  grade: Optional[str] = None,
23728
25056
  radius: Optional[float] = None,
25057
+ chamfer: Optional[float] = None,
23729
25058
  width: Optional[float] = None,
23730
25059
  pitch: Optional[str] = None,
23731
25060
  length: Optional[float] = None,
@@ -23759,6 +25088,8 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
23759
25088
  :paramtype grade: str
23760
25089
  :keyword radius:
23761
25090
  :paramtype radius: float
25091
+ :keyword chamfer:
25092
+ :paramtype chamfer: float
23762
25093
  :keyword width:
23763
25094
  :paramtype width: float
23764
25095
  :keyword pitch:
@@ -23788,6 +25119,7 @@ class UpdateCncMachineOperationToolRequest(_serialization.Model): # pylint: dis
23788
25119
  self.diameter = diameter
23789
25120
  self.grade = grade
23790
25121
  self.radius = radius
25122
+ self.chamfer = chamfer
23791
25123
  self.width = width
23792
25124
  self.pitch = pitch
23793
25125
  self.length = length
@@ -23857,6 +25189,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23857
25189
  :vartype grade: str
23858
25190
  :ivar radius:
23859
25191
  :vartype radius: float
25192
+ :ivar chamfer:
25193
+ :vartype chamfer: float
23860
25194
  :ivar width:
23861
25195
  :vartype width: float
23862
25196
  :ivar pitch:
@@ -23892,6 +25226,7 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23892
25226
  "diameter": {"key": "diameter", "type": "float"},
23893
25227
  "grade": {"key": "grade", "type": "str"},
23894
25228
  "radius": {"key": "radius", "type": "float"},
25229
+ "chamfer": {"key": "chamfer", "type": "float"},
23895
25230
  "width": {"key": "width", "type": "float"},
23896
25231
  "pitch": {"key": "pitch", "type": "str"},
23897
25232
  "length": {"key": "length", "type": "float"},
@@ -23916,6 +25251,7 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23916
25251
  diameter: Optional[float] = None,
23917
25252
  grade: Optional[str] = None,
23918
25253
  radius: Optional[float] = None,
25254
+ chamfer: Optional[float] = None,
23919
25255
  width: Optional[float] = None,
23920
25256
  pitch: Optional[str] = None,
23921
25257
  length: Optional[float] = None,
@@ -23949,6 +25285,8 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23949
25285
  :paramtype grade: str
23950
25286
  :keyword radius:
23951
25287
  :paramtype radius: float
25288
+ :keyword chamfer:
25289
+ :paramtype chamfer: float
23952
25290
  :keyword width:
23953
25291
  :paramtype width: float
23954
25292
  :keyword pitch:
@@ -23978,6 +25316,7 @@ class UpdateCncMachineToolRequest(_serialization.Model): # pylint: disable=too-
23978
25316
  self.diameter = diameter
23979
25317
  self.grade = grade
23980
25318
  self.radius = radius
25319
+ self.chamfer = chamfer
23981
25320
  self.width = width
23982
25321
  self.pitch = pitch
23983
25322
  self.length = length
@@ -25039,6 +26378,32 @@ class UpdateSchemaInstanceElementsRequest(_serialization.Model):
25039
26378
  self.elements = elements
25040
26379
 
25041
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
+
25042
26407
  class UpdateTraceRequest(_serialization.Model):
25043
26408
  """UpdateTraceRequest.
25044
26409
 
@@ -25985,8 +27350,8 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
25985
27350
  :vartype planner: ~ignos.api.client.models.UserDto
25986
27351
  :ivar project_leader:
25987
27352
  :vartype project_leader: ~ignos.api.client.models.UserDto
25988
- :ivar end_location:
25989
- :vartype end_location: str
27353
+ :ivar delivery_location:
27354
+ :vartype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
25990
27355
  :ivar project:
25991
27356
  :vartype project: ~ignos.api.client.models.WorkOrderProjectDto
25992
27357
  :ivar start_date:
@@ -26022,7 +27387,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
26022
27387
  "customer_order_reference": {"key": "customerOrderReference", "type": "WorkorderCustomerOrderReferenceDto"},
26023
27388
  "planner": {"key": "planner", "type": "UserDto"},
26024
27389
  "project_leader": {"key": "projectLeader", "type": "UserDto"},
26025
- "end_location": {"key": "endLocation", "type": "str"},
27390
+ "delivery_location": {"key": "deliveryLocation", "type": "WarehouseLocationDto"},
26026
27391
  "project": {"key": "project", "type": "WorkOrderProjectDto"},
26027
27392
  "start_date": {"key": "startDate", "type": "iso-8601"},
26028
27393
  "end_date": {"key": "endDate", "type": "iso-8601"},
@@ -26047,7 +27412,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
26047
27412
  customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
26048
27413
  planner: Optional["_models.UserDto"] = None,
26049
27414
  project_leader: Optional["_models.UserDto"] = None,
26050
- end_location: Optional[str] = None,
27415
+ delivery_location: Optional["_models.WarehouseLocationDto"] = None,
26051
27416
  project: Optional["_models.WorkOrderProjectDto"] = None,
26052
27417
  start_date: Optional[datetime.datetime] = None,
26053
27418
  end_date: Optional[datetime.datetime] = None,
@@ -26086,8 +27451,8 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
26086
27451
  :paramtype planner: ~ignos.api.client.models.UserDto
26087
27452
  :keyword project_leader:
26088
27453
  :paramtype project_leader: ~ignos.api.client.models.UserDto
26089
- :keyword end_location:
26090
- :paramtype end_location: str
27454
+ :keyword delivery_location:
27455
+ :paramtype delivery_location: ~ignos.api.client.models.WarehouseLocationDto
26091
27456
  :keyword project:
26092
27457
  :paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
26093
27458
  :keyword start_date:
@@ -26114,7 +27479,7 @@ class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-insta
26114
27479
  self.customer_order_reference = customer_order_reference
26115
27480
  self.planner = planner
26116
27481
  self.project_leader = project_leader
26117
- self.end_location = end_location
27482
+ self.delivery_location = delivery_location
26118
27483
  self.project = project
26119
27484
  self.start_date = start_date
26120
27485
  self.end_date = end_date
@@ -26373,6 +27738,8 @@ class UserDto(_serialization.Model):
26373
27738
  :vartype full_name: str
26374
27739
  :ivar upn:
26375
27740
  :vartype upn: str
27741
+ :ivar email:
27742
+ :vartype email: str
26376
27743
  :ivar is_beta_tester:
26377
27744
  :vartype is_beta_tester: bool
26378
27745
  """
@@ -26381,6 +27748,7 @@ class UserDto(_serialization.Model):
26381
27748
  "id": {"key": "id", "type": "str"},
26382
27749
  "full_name": {"key": "fullName", "type": "str"},
26383
27750
  "upn": {"key": "upn", "type": "str"},
27751
+ "email": {"key": "email", "type": "str"},
26384
27752
  "is_beta_tester": {"key": "isBetaTester", "type": "bool"},
26385
27753
  }
26386
27754
 
@@ -26390,6 +27758,7 @@ class UserDto(_serialization.Model):
26390
27758
  id: Optional[str] = None, # pylint: disable=redefined-builtin
26391
27759
  full_name: Optional[str] = None,
26392
27760
  upn: Optional[str] = None,
27761
+ email: Optional[str] = None,
26393
27762
  is_beta_tester: Optional[bool] = None,
26394
27763
  **kwargs: Any
26395
27764
  ) -> None:
@@ -26400,6 +27769,8 @@ class UserDto(_serialization.Model):
26400
27769
  :paramtype full_name: str
26401
27770
  :keyword upn:
26402
27771
  :paramtype upn: str
27772
+ :keyword email:
27773
+ :paramtype email: str
26403
27774
  :keyword is_beta_tester:
26404
27775
  :paramtype is_beta_tester: bool
26405
27776
  """
@@ -26407,6 +27778,7 @@ class UserDto(_serialization.Model):
26407
27778
  self.id = id
26408
27779
  self.full_name = full_name
26409
27780
  self.upn = upn
27781
+ self.email = email
26410
27782
  self.is_beta_tester = is_beta_tester
26411
27783
 
26412
27784
 
@@ -26756,6 +28128,58 @@ class ValidationRuleDto(_serialization.Model):
26756
28128
  self.name = name
26757
28129
 
26758
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
+
26759
28183
  class WhitelistMeasuringTool(_serialization.Model):
26760
28184
  """WhitelistMeasuringTool.
26761
28185
 
@@ -26789,108 +28213,99 @@ class WhitelistMeasuringTool(_serialization.Model):
26789
28213
  self.description = description
26790
28214
 
26791
28215
 
26792
- class WorkActivityDto(_serialization.Model):
26793
- """WorkActivityDto.
26794
-
26795
- All required parameters must be populated in order to send to server.
28216
+ class WorkerDto(_serialization.Model):
28217
+ """WorkerDto.
26796
28218
 
26797
- :ivar id: Required.
26798
- :vartype id: str
26799
- :ivar start_time: Required.
26800
- :vartype start_time: ~datetime.datetime
26801
- :ivar end_time:
26802
- :vartype end_time: ~datetime.datetime
26803
- :ivar user:
26804
- :vartype user: ~ignos.api.client.models.UserDto
26805
- :ivar personnel_number: Required.
28219
+ :ivar personnel_number:
26806
28220
  :vartype personnel_number: str
26807
- :ivar work_type: Required. Known values are: "None", "Production", and "Setup".
26808
- :vartype work_type: str or ~ignos.api.client.models.WorkTypeDto
26809
- :ivar started_quantity:
26810
- :vartype started_quantity: int
28221
+ :ivar badge_id:
28222
+ :vartype badge_id: str
26811
28223
  """
26812
28224
 
26813
- _validation = {
26814
- "id": {"required": True, "min_length": 1},
26815
- "start_time": {"required": True},
26816
- "personnel_number": {"required": True, "min_length": 1},
26817
- "work_type": {"required": True},
26818
- }
26819
-
26820
28225
  _attribute_map = {
26821
- "id": {"key": "id", "type": "str"},
26822
- "start_time": {"key": "startTime", "type": "iso-8601"},
26823
- "end_time": {"key": "endTime", "type": "iso-8601"},
26824
- "user": {"key": "user", "type": "UserDto"},
26825
28226
  "personnel_number": {"key": "personnelNumber", "type": "str"},
26826
- "work_type": {"key": "workType", "type": "str"},
26827
- "started_quantity": {"key": "startedQuantity", "type": "int"},
28227
+ "badge_id": {"key": "badgeId", "type": "str"},
26828
28228
  }
26829
28229
 
26830
28230
  def __init__(
26831
- self,
26832
- *,
26833
- id: str, # pylint: disable=redefined-builtin
26834
- start_time: datetime.datetime,
26835
- personnel_number: str,
26836
- work_type: Union[str, "_models.WorkTypeDto"],
26837
- end_time: Optional[datetime.datetime] = None,
26838
- user: Optional["_models.UserDto"] = None,
26839
- started_quantity: Optional[int] = None,
26840
- **kwargs: Any
28231
+ self, *, personnel_number: Optional[str] = None, badge_id: Optional[str] = None, **kwargs: Any
26841
28232
  ) -> None:
26842
28233
  """
26843
- :keyword id: Required.
26844
- :paramtype id: str
26845
- :keyword start_time: Required.
26846
- :paramtype start_time: ~datetime.datetime
26847
- :keyword end_time:
26848
- :paramtype end_time: ~datetime.datetime
26849
- :keyword user:
26850
- :paramtype user: ~ignos.api.client.models.UserDto
26851
- :keyword personnel_number: Required.
28234
+ :keyword personnel_number:
26852
28235
  :paramtype personnel_number: str
26853
- :keyword work_type: Required. Known values are: "None", "Production", and "Setup".
26854
- :paramtype work_type: str or ~ignos.api.client.models.WorkTypeDto
26855
- :keyword started_quantity:
26856
- :paramtype started_quantity: int
28236
+ :keyword badge_id:
28237
+ :paramtype badge_id: str
26857
28238
  """
26858
28239
  super().__init__(**kwargs)
26859
- self.id = id
26860
- self.start_time = start_time
26861
- self.end_time = end_time
26862
- self.user = user
26863
28240
  self.personnel_number = personnel_number
26864
- self.work_type = work_type
26865
- self.started_quantity = started_quantity
28241
+ self.badge_id = badge_id
26866
28242
 
26867
28243
 
26868
- class WorkerDto(_serialization.Model):
26869
- """WorkerDto.
28244
+ class WorkOrderAttachmentDto(_serialization.Model):
28245
+ """WorkOrderAttachmentDto.
26870
28246
 
26871
- :ivar personnel_number:
26872
- :vartype personnel_number: str
26873
- :ivar badge_id:
26874
- :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
26875
28261
  """
26876
28262
 
26877
28263
  _attribute_map = {
26878
- "personnel_number": {"key": "personnelNumber", "type": "str"},
26879
- "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"},
26880
28271
  }
26881
28272
 
26882
28273
  def __init__(
26883
- 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
26884
28284
  ) -> None:
26885
28285
  """
26886
- :keyword personnel_number:
26887
- :paramtype personnel_number: str
26888
- :keyword badge_id:
26889
- :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
26890
28300
  """
26891
28301
  super().__init__(**kwargs)
26892
- self.personnel_number = personnel_number
26893
- 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
26894
28309
 
26895
28310
 
26896
28311
  class WorkOrderConsumptionDto(_serialization.Model):
@@ -27511,6 +28926,10 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
27511
28926
  :vartype planned_start: ~datetime.datetime
27512
28927
  :ivar planned_end:
27513
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
27514
28933
  :ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
27515
28934
  "Stopped".
27516
28935
  :vartype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -27549,6 +28968,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
27549
28968
  "resource": {"key": "resource", "type": "ResourceDto"},
27550
28969
  "planned_start": {"key": "plannedStart", "type": "iso-8601"},
27551
28970
  "planned_end": {"key": "plannedEnd", "type": "iso-8601"},
28971
+ "actual_start": {"key": "actualStart", "type": "iso-8601"},
28972
+ "actual_end": {"key": "actualEnd", "type": "iso-8601"},
27552
28973
  "status": {"key": "status", "type": "str"},
27553
28974
  "produced_quantity": {"key": "producedQuantity", "type": "float"},
27554
28975
  "scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
@@ -27575,6 +28996,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
27575
28996
  resource: Optional["_models.ResourceDto"] = None,
27576
28997
  planned_start: Optional[datetime.datetime] = None,
27577
28998
  planned_end: Optional[datetime.datetime] = None,
28999
+ actual_start: Optional[datetime.datetime] = None,
29000
+ actual_end: Optional[datetime.datetime] = None,
27578
29001
  **kwargs: Any
27579
29002
  ) -> None:
27580
29003
  """
@@ -27596,6 +29019,10 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
27596
29019
  :paramtype planned_start: ~datetime.datetime
27597
29020
  :keyword planned_end:
27598
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
27599
29026
  :keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
27600
29027
  "Stopped".
27601
29028
  :paramtype status: str or ~ignos.api.client.models.OperationStatusDto
@@ -27620,6 +29047,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
27620
29047
  self.resource = resource
27621
29048
  self.planned_start = planned_start
27622
29049
  self.planned_end = planned_end
29050
+ self.actual_start = actual_start
29051
+ self.actual_end = actual_end
27623
29052
  self.status = status
27624
29053
  self.produced_quantity = produced_quantity
27625
29054
  self.scrapped_quantity = scrapped_quantity