ignos-api-client 2023.10.6.6561__py3-none-any.whl → 2023.10.18.6667__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.
- ignos/api/client/_client.py +19 -1
- ignos/api/client/_configuration.py +2 -3
- ignos/api/client/_serialization.py +1 -1
- ignos/api/client/_version.py +1 -1
- ignos/api/client/aio/_client.py +19 -1
- ignos/api/client/aio/_configuration.py +2 -3
- ignos/api/client/aio/operations/_operations.py +68 -0
- ignos/api/client/models/__init__.py +2 -0
- ignos/api/client/models/_models.py +124 -14
- ignos/api/client/operations/_operations.py +98 -0
- {ignos_api_client-2023.10.6.6561.dist-info → ignos_api_client-2023.10.18.6667.dist-info}/METADATA +1 -1
- ignos_api_client-2023.10.18.6667.dist-info/RECORD +26 -0
- ignos_api_client-2023.10.6.6561.dist-info/RECORD +0 -26
- {ignos_api_client-2023.10.6.6561.dist-info → ignos_api_client-2023.10.18.6667.dist-info}/WHEEL +0 -0
- {ignos_api_client-2023.10.6.6561.dist-info → ignos_api_client-2023.10.18.6667.dist-info}/top_level.txt +0 -0
ignos/api/client/_client.py
CHANGED
|
@@ -10,6 +10,7 @@ from copy import deepcopy
|
|
|
10
10
|
from typing import Any, TYPE_CHECKING
|
|
11
11
|
|
|
12
12
|
from azure.core import PipelineClient
|
|
13
|
+
from azure.core.pipeline import policies
|
|
13
14
|
from azure.core.rest import HttpRequest, HttpResponse
|
|
14
15
|
|
|
15
16
|
from . import models as _models
|
|
@@ -168,7 +169,24 @@ class IgnosPortal: # pylint: disable=client-accepts-api-version-keyword,too-man
|
|
|
168
169
|
|
|
169
170
|
def __init__(self, credential: "TokenCredential", *, endpoint: str = "", **kwargs: Any) -> None:
|
|
170
171
|
self._config = IgnosPortalConfiguration(credential=credential, **kwargs)
|
|
171
|
-
|
|
172
|
+
_policies = kwargs.pop("policies", None)
|
|
173
|
+
if _policies is None:
|
|
174
|
+
_policies = [
|
|
175
|
+
policies.RequestIdPolicy(**kwargs),
|
|
176
|
+
self._config.headers_policy,
|
|
177
|
+
self._config.user_agent_policy,
|
|
178
|
+
self._config.proxy_policy,
|
|
179
|
+
policies.ContentDecodePolicy(**kwargs),
|
|
180
|
+
self._config.redirect_policy,
|
|
181
|
+
self._config.retry_policy,
|
|
182
|
+
self._config.authentication_policy,
|
|
183
|
+
self._config.custom_hook_policy,
|
|
184
|
+
self._config.logging_policy,
|
|
185
|
+
policies.DistributedTracingPolicy(**kwargs),
|
|
186
|
+
policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None,
|
|
187
|
+
self._config.http_logging_policy,
|
|
188
|
+
]
|
|
189
|
+
self._client: PipelineClient = PipelineClient(base_url=endpoint, policies=_policies, **kwargs)
|
|
172
190
|
|
|
173
191
|
client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
|
|
174
192
|
self._serialize = Serializer(client_models)
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
from typing import Any, TYPE_CHECKING
|
|
10
10
|
|
|
11
|
-
from azure.core.configuration import Configuration
|
|
12
11
|
from azure.core.pipeline import policies
|
|
13
12
|
|
|
14
13
|
from ._version import VERSION
|
|
@@ -18,7 +17,7 @@ if TYPE_CHECKING:
|
|
|
18
17
|
from azure.core.credentials import TokenCredential
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
class IgnosPortalConfiguration
|
|
20
|
+
class IgnosPortalConfiguration: # pylint: disable=too-many-instance-attributes
|
|
22
21
|
"""Configuration for IgnosPortal.
|
|
23
22
|
|
|
24
23
|
Note that all parameters used to create this instance are saved as instance
|
|
@@ -29,13 +28,13 @@ class IgnosPortalConfiguration(Configuration): # pylint: disable=too-many-insta
|
|
|
29
28
|
"""
|
|
30
29
|
|
|
31
30
|
def __init__(self, credential: "TokenCredential", **kwargs: Any) -> None:
|
|
32
|
-
super(IgnosPortalConfiguration, self).__init__(**kwargs)
|
|
33
31
|
if credential is None:
|
|
34
32
|
raise ValueError("Parameter 'credential' must not be None.")
|
|
35
33
|
|
|
36
34
|
self.credential = credential
|
|
37
35
|
self.credential_scopes = kwargs.pop("credential_scopes", [])
|
|
38
36
|
kwargs.setdefault("sdk_moniker", "ignos-api-client/{}".format(VERSION))
|
|
37
|
+
self.polling_interval = kwargs.get("polling_interval", 30)
|
|
39
38
|
self._configure(**kwargs)
|
|
40
39
|
|
|
41
40
|
def _configure(self, **kwargs: Any) -> None:
|
|
@@ -755,7 +755,7 @@ class Serializer(object):
|
|
|
755
755
|
if data_type.startswith("["):
|
|
756
756
|
internal_data_type = data_type[1:-1]
|
|
757
757
|
do_quote = not kwargs.get("skip_quote", False)
|
|
758
|
-
return
|
|
758
|
+
return self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs)
|
|
759
759
|
|
|
760
760
|
# Not a list, regular serialization
|
|
761
761
|
output = self.serialize_data(data, data_type, **kwargs)
|
ignos/api/client/_version.py
CHANGED
ignos/api/client/aio/_client.py
CHANGED
|
@@ -10,6 +10,7 @@ from copy import deepcopy
|
|
|
10
10
|
from typing import Any, Awaitable, TYPE_CHECKING
|
|
11
11
|
|
|
12
12
|
from azure.core import AsyncPipelineClient
|
|
13
|
+
from azure.core.pipeline import policies
|
|
13
14
|
from azure.core.rest import AsyncHttpResponse, HttpRequest
|
|
14
15
|
|
|
15
16
|
from .. import models as _models
|
|
@@ -171,7 +172,24 @@ class IgnosPortal: # pylint: disable=client-accepts-api-version-keyword,too-man
|
|
|
171
172
|
|
|
172
173
|
def __init__(self, credential: "AsyncTokenCredential", *, endpoint: str = "", **kwargs: Any) -> None:
|
|
173
174
|
self._config = IgnosPortalConfiguration(credential=credential, **kwargs)
|
|
174
|
-
|
|
175
|
+
_policies = kwargs.pop("policies", None)
|
|
176
|
+
if _policies is None:
|
|
177
|
+
_policies = [
|
|
178
|
+
policies.RequestIdPolicy(**kwargs),
|
|
179
|
+
self._config.headers_policy,
|
|
180
|
+
self._config.user_agent_policy,
|
|
181
|
+
self._config.proxy_policy,
|
|
182
|
+
policies.ContentDecodePolicy(**kwargs),
|
|
183
|
+
self._config.redirect_policy,
|
|
184
|
+
self._config.retry_policy,
|
|
185
|
+
self._config.authentication_policy,
|
|
186
|
+
self._config.custom_hook_policy,
|
|
187
|
+
self._config.logging_policy,
|
|
188
|
+
policies.DistributedTracingPolicy(**kwargs),
|
|
189
|
+
policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None,
|
|
190
|
+
self._config.http_logging_policy,
|
|
191
|
+
]
|
|
192
|
+
self._client: AsyncPipelineClient = AsyncPipelineClient(base_url=endpoint, policies=_policies, **kwargs)
|
|
175
193
|
|
|
176
194
|
client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
|
|
177
195
|
self._serialize = Serializer(client_models)
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
from typing import Any, TYPE_CHECKING
|
|
10
10
|
|
|
11
|
-
from azure.core.configuration import Configuration
|
|
12
11
|
from azure.core.pipeline import policies
|
|
13
12
|
|
|
14
13
|
from .._version import VERSION
|
|
@@ -18,7 +17,7 @@ if TYPE_CHECKING:
|
|
|
18
17
|
from azure.core.credentials_async import AsyncTokenCredential
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
class IgnosPortalConfiguration
|
|
20
|
+
class IgnosPortalConfiguration: # pylint: disable=too-many-instance-attributes
|
|
22
21
|
"""Configuration for IgnosPortal.
|
|
23
22
|
|
|
24
23
|
Note that all parameters used to create this instance are saved as instance
|
|
@@ -29,13 +28,13 @@ class IgnosPortalConfiguration(Configuration): # pylint: disable=too-many-insta
|
|
|
29
28
|
"""
|
|
30
29
|
|
|
31
30
|
def __init__(self, credential: "AsyncTokenCredential", **kwargs: Any) -> None:
|
|
32
|
-
super(IgnosPortalConfiguration, self).__init__(**kwargs)
|
|
33
31
|
if credential is None:
|
|
34
32
|
raise ValueError("Parameter 'credential' must not be None.")
|
|
35
33
|
|
|
36
34
|
self.credential = credential
|
|
37
35
|
self.credential_scopes = kwargs.pop("credential_scopes", [])
|
|
38
36
|
kwargs.setdefault("sdk_moniker", "ignos-api-client/{}".format(VERSION))
|
|
37
|
+
self.polling_interval = kwargs.get("polling_interval", 30)
|
|
39
38
|
self._configure(**kwargs)
|
|
40
39
|
|
|
41
40
|
def _configure(self, **kwargs: Any) -> None:
|
|
@@ -265,6 +265,7 @@ from ...operations._operations import (
|
|
|
265
265
|
build_measuring_tools_update_whitelisted_measuring_tool_request,
|
|
266
266
|
build_measuring_tools_whitelist_measuring_tool_request,
|
|
267
267
|
build_mes_documents_get_document_request,
|
|
268
|
+
build_mes_get_worker_details_for_current_user_request,
|
|
268
269
|
build_mes_links_add_mes_link_request,
|
|
269
270
|
build_mes_links_delete_mes_link_request,
|
|
270
271
|
build_mes_links_list_mes_links_request,
|
|
@@ -21347,6 +21348,53 @@ class MesOperations:
|
|
|
21347
21348
|
|
|
21348
21349
|
return deserialized
|
|
21349
21350
|
|
|
21351
|
+
@distributed_trace_async
|
|
21352
|
+
async def get_worker_details_for_current_user(self, **kwargs: Any) -> _models.WorkerDto:
|
|
21353
|
+
"""get_worker_details_for_current_user.
|
|
21354
|
+
|
|
21355
|
+
:return: WorkerDto
|
|
21356
|
+
:rtype: ~ignos.api.client.models.WorkerDto
|
|
21357
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
21358
|
+
"""
|
|
21359
|
+
error_map = {
|
|
21360
|
+
401: ClientAuthenticationError,
|
|
21361
|
+
404: ResourceNotFoundError,
|
|
21362
|
+
409: ResourceExistsError,
|
|
21363
|
+
304: ResourceNotModifiedError,
|
|
21364
|
+
}
|
|
21365
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
21366
|
+
|
|
21367
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
21368
|
+
_params = kwargs.pop("params", {}) or {}
|
|
21369
|
+
|
|
21370
|
+
cls: ClsType[_models.WorkerDto] = kwargs.pop("cls", None)
|
|
21371
|
+
|
|
21372
|
+
request = build_mes_get_worker_details_for_current_user_request(
|
|
21373
|
+
headers=_headers,
|
|
21374
|
+
params=_params,
|
|
21375
|
+
)
|
|
21376
|
+
request.url = self._client.format_url(request.url)
|
|
21377
|
+
|
|
21378
|
+
_stream = False
|
|
21379
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
|
21380
|
+
request, stream=_stream, **kwargs
|
|
21381
|
+
)
|
|
21382
|
+
|
|
21383
|
+
response = pipeline_response.http_response
|
|
21384
|
+
|
|
21385
|
+
if response.status_code not in [200]:
|
|
21386
|
+
if _stream:
|
|
21387
|
+
await response.read() # Load the body in memory and close the socket
|
|
21388
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
21389
|
+
raise HttpResponseError(response=response)
|
|
21390
|
+
|
|
21391
|
+
deserialized = self._deserialize("WorkerDto", pipeline_response)
|
|
21392
|
+
|
|
21393
|
+
if cls:
|
|
21394
|
+
return cls(pipeline_response, deserialized, {})
|
|
21395
|
+
|
|
21396
|
+
return deserialized
|
|
21397
|
+
|
|
21350
21398
|
|
|
21351
21399
|
class MesDocumentsOperations:
|
|
21352
21400
|
"""
|
|
@@ -22183,6 +22231,11 @@ class MesProductionScheduleOperations:
|
|
|
22183
22231
|
resource_id: Optional[str] = None,
|
|
22184
22232
|
page_size: int = 50,
|
|
22185
22233
|
continuation_token_parameter: Optional[str] = None,
|
|
22234
|
+
work_order_id: Optional[str] = None,
|
|
22235
|
+
project_id: Optional[str] = None,
|
|
22236
|
+
part_number: Optional[str] = None,
|
|
22237
|
+
part_name: Optional[str] = None,
|
|
22238
|
+
material: Optional[str] = None,
|
|
22186
22239
|
**kwargs: Any
|
|
22187
22240
|
) -> _models.ProductionScheduleOperationDtoPagedResult:
|
|
22188
22241
|
"""list_production_schedule_operations.
|
|
@@ -22195,6 +22248,16 @@ class MesProductionScheduleOperations:
|
|
|
22195
22248
|
:paramtype page_size: int
|
|
22196
22249
|
:keyword continuation_token_parameter: Default value is None.
|
|
22197
22250
|
:paramtype continuation_token_parameter: str
|
|
22251
|
+
:keyword work_order_id: Default value is None.
|
|
22252
|
+
:paramtype work_order_id: str
|
|
22253
|
+
:keyword project_id: Default value is None.
|
|
22254
|
+
:paramtype project_id: str
|
|
22255
|
+
:keyword part_number: Default value is None.
|
|
22256
|
+
:paramtype part_number: str
|
|
22257
|
+
:keyword part_name: Default value is None.
|
|
22258
|
+
:paramtype part_name: str
|
|
22259
|
+
:keyword material: Default value is None.
|
|
22260
|
+
:paramtype material: str
|
|
22198
22261
|
:return: ProductionScheduleOperationDtoPagedResult
|
|
22199
22262
|
:rtype: ~ignos.api.client.models.ProductionScheduleOperationDtoPagedResult
|
|
22200
22263
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
@@ -22217,6 +22280,11 @@ class MesProductionScheduleOperations:
|
|
|
22217
22280
|
resource_id=resource_id,
|
|
22218
22281
|
page_size=page_size,
|
|
22219
22282
|
continuation_token_parameter=continuation_token_parameter,
|
|
22283
|
+
work_order_id=work_order_id,
|
|
22284
|
+
project_id=project_id,
|
|
22285
|
+
part_number=part_number,
|
|
22286
|
+
part_name=part_name,
|
|
22287
|
+
material=material,
|
|
22220
22288
|
headers=_headers,
|
|
22221
22289
|
params=_params,
|
|
22222
22290
|
)
|
|
@@ -379,6 +379,7 @@ from ._models import WorkOrderProjectDto
|
|
|
379
379
|
from ._models import WorkOrderTraceItemDto
|
|
380
380
|
from ._models import WorkOrderTraceMaterialDto
|
|
381
381
|
from ._models import WorkOrderTraceOperationDto
|
|
382
|
+
from ._models import WorkerDto
|
|
382
383
|
from ._models import WorkorderCustomerOrderReferenceDto
|
|
383
384
|
from ._models import WorkorderDto
|
|
384
385
|
from ._models import WorkorderHierarchyDto
|
|
@@ -818,6 +819,7 @@ __all__ = [
|
|
|
818
819
|
"WorkOrderTraceItemDto",
|
|
819
820
|
"WorkOrderTraceMaterialDto",
|
|
820
821
|
"WorkOrderTraceOperationDto",
|
|
822
|
+
"WorkerDto",
|
|
821
823
|
"WorkorderCustomerOrderReferenceDto",
|
|
822
824
|
"WorkorderDto",
|
|
823
825
|
"WorkorderHierarchyDto",
|
|
@@ -6537,6 +6537,10 @@ class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance
|
|
|
6537
6537
|
:vartype id: str
|
|
6538
6538
|
:ivar document_type_id: Required.
|
|
6539
6539
|
:vartype document_type_id: str
|
|
6540
|
+
:ivar customer_id:
|
|
6541
|
+
:vartype customer_id: str
|
|
6542
|
+
:ivar customer_group_id:
|
|
6543
|
+
:vartype customer_group_id: str
|
|
6540
6544
|
:ivar override_existing: Required.
|
|
6541
6545
|
:vartype override_existing: bool
|
|
6542
6546
|
:ivar document_number: Required.
|
|
@@ -6593,6 +6597,8 @@ class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance
|
|
|
6593
6597
|
_attribute_map = {
|
|
6594
6598
|
"id": {"key": "id", "type": "str"},
|
|
6595
6599
|
"document_type_id": {"key": "documentTypeId", "type": "str"},
|
|
6600
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
6601
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
6596
6602
|
"override_existing": {"key": "overrideExisting", "type": "bool"},
|
|
6597
6603
|
"document_number": {"key": "documentNumber", "type": "str"},
|
|
6598
6604
|
"comment": {"key": "comment", "type": "str"},
|
|
@@ -6628,6 +6634,8 @@ class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance
|
|
|
6628
6634
|
document_source: Union[int, "_models.DocumentSource"],
|
|
6629
6635
|
upload_key: str,
|
|
6630
6636
|
revisions: List["_models.ImportDocumentRevisionDto"],
|
|
6637
|
+
customer_id: Optional[str] = None,
|
|
6638
|
+
customer_group_id: Optional[str] = None,
|
|
6631
6639
|
comment: Optional[str] = None,
|
|
6632
6640
|
front_page_document_id: Optional[str] = None,
|
|
6633
6641
|
created: Optional[datetime.datetime] = None,
|
|
@@ -6643,6 +6651,10 @@ class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance
|
|
|
6643
6651
|
:paramtype id: str
|
|
6644
6652
|
:keyword document_type_id: Required.
|
|
6645
6653
|
:paramtype document_type_id: str
|
|
6654
|
+
:keyword customer_id:
|
|
6655
|
+
:paramtype customer_id: str
|
|
6656
|
+
:keyword customer_group_id:
|
|
6657
|
+
:paramtype customer_group_id: str
|
|
6646
6658
|
:keyword override_existing: Required.
|
|
6647
6659
|
:paramtype override_existing: bool
|
|
6648
6660
|
:keyword document_number: Required.
|
|
@@ -6683,6 +6695,8 @@ class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance
|
|
|
6683
6695
|
super().__init__(**kwargs)
|
|
6684
6696
|
self.id = id
|
|
6685
6697
|
self.document_type_id = document_type_id
|
|
6698
|
+
self.customer_id = customer_id
|
|
6699
|
+
self.customer_group_id = customer_group_id
|
|
6686
6700
|
self.override_existing = override_existing
|
|
6687
6701
|
self.document_number = document_number
|
|
6688
6702
|
self.comment = comment
|
|
@@ -9764,6 +9778,10 @@ class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-
|
|
|
9764
9778
|
:vartype procurement_order: str
|
|
9765
9779
|
:ivar procurement_order_line:
|
|
9766
9780
|
:vartype procurement_order_line: int
|
|
9781
|
+
:ivar source_work_order:
|
|
9782
|
+
:vartype source_work_order: str
|
|
9783
|
+
:ivar source_sequence:
|
|
9784
|
+
:vartype source_sequence: str
|
|
9767
9785
|
"""
|
|
9768
9786
|
|
|
9769
9787
|
_validation = {
|
|
@@ -9784,6 +9802,8 @@ class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-
|
|
|
9784
9802
|
"supplier_id": {"key": "supplierId", "type": "str"},
|
|
9785
9803
|
"procurement_order": {"key": "procurementOrder", "type": "str"},
|
|
9786
9804
|
"procurement_order_line": {"key": "procurementOrderLine", "type": "int"},
|
|
9805
|
+
"source_work_order": {"key": "sourceWorkOrder", "type": "str"},
|
|
9806
|
+
"source_sequence": {"key": "sourceSequence", "type": "str"},
|
|
9787
9807
|
}
|
|
9788
9808
|
|
|
9789
9809
|
def __init__(
|
|
@@ -9800,6 +9820,8 @@ class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-
|
|
|
9800
9820
|
supplier_id: Optional[str] = None,
|
|
9801
9821
|
procurement_order: Optional[str] = None,
|
|
9802
9822
|
procurement_order_line: Optional[int] = None,
|
|
9823
|
+
source_work_order: Optional[str] = None,
|
|
9824
|
+
source_sequence: Optional[str] = None,
|
|
9803
9825
|
**kwargs: Any
|
|
9804
9826
|
) -> None:
|
|
9805
9827
|
"""
|
|
@@ -9825,6 +9847,10 @@ class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-
|
|
|
9825
9847
|
:paramtype procurement_order: str
|
|
9826
9848
|
:keyword procurement_order_line:
|
|
9827
9849
|
:paramtype procurement_order_line: int
|
|
9850
|
+
:keyword source_work_order:
|
|
9851
|
+
:paramtype source_work_order: str
|
|
9852
|
+
:keyword source_sequence:
|
|
9853
|
+
:paramtype source_sequence: str
|
|
9828
9854
|
"""
|
|
9829
9855
|
super().__init__(**kwargs)
|
|
9830
9856
|
self.operation = operation
|
|
@@ -9838,6 +9864,8 @@ class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-
|
|
|
9838
9864
|
self.supplier_id = supplier_id
|
|
9839
9865
|
self.procurement_order = procurement_order
|
|
9840
9866
|
self.procurement_order_line = procurement_order_line
|
|
9867
|
+
self.source_work_order = source_work_order
|
|
9868
|
+
self.source_sequence = source_sequence
|
|
9841
9869
|
|
|
9842
9870
|
|
|
9843
9871
|
class MaterialMassDensityDto(_serialization.Model):
|
|
@@ -16716,6 +16744,8 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16716
16744
|
:vartype demanding_production_order_number: str
|
|
16717
16745
|
:ivar quantity_per_part: Required.
|
|
16718
16746
|
:vartype quantity_per_part: float
|
|
16747
|
+
:ivar total_required_quantity: Required.
|
|
16748
|
+
:vartype total_required_quantity: float
|
|
16719
16749
|
:ivar used_quantity: Required.
|
|
16720
16750
|
:vartype used_quantity: float
|
|
16721
16751
|
:ivar lot: Required.
|
|
@@ -16726,10 +16756,16 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16726
16756
|
:vartype requires_batch_tracing: bool
|
|
16727
16757
|
:ivar proposed_quantity: Required.
|
|
16728
16758
|
:vartype proposed_quantity: float
|
|
16729
|
-
:ivar
|
|
16730
|
-
:vartype
|
|
16759
|
+
:ivar remaining_quantity: Required.
|
|
16760
|
+
:vartype remaining_quantity: float
|
|
16761
|
+
:ivar suggested_started_quantity:
|
|
16762
|
+
:vartype suggested_started_quantity: ~ignos.api.client.models.InventoryDto
|
|
16763
|
+
:ivar suggested_remaining_quantity:
|
|
16764
|
+
:vartype suggested_remaining_quantity: ~ignos.api.client.models.InventoryDto
|
|
16731
16765
|
:ivar available: Required.
|
|
16732
16766
|
:vartype available: list[~ignos.api.client.models.InventoryDto]
|
|
16767
|
+
:ivar fixed_locations: Required.
|
|
16768
|
+
:vartype fixed_locations: list[str]
|
|
16733
16769
|
"""
|
|
16734
16770
|
|
|
16735
16771
|
_validation = {
|
|
@@ -16737,12 +16773,15 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16737
16773
|
"part": {"required": True},
|
|
16738
16774
|
"operation": {"required": True},
|
|
16739
16775
|
"quantity_per_part": {"required": True},
|
|
16776
|
+
"total_required_quantity": {"required": True},
|
|
16740
16777
|
"used_quantity": {"required": True},
|
|
16741
16778
|
"lot": {"required": True, "min_length": 1},
|
|
16742
16779
|
"consumed_automatically": {"required": True},
|
|
16743
16780
|
"requires_batch_tracing": {"required": True},
|
|
16744
16781
|
"proposed_quantity": {"required": True},
|
|
16782
|
+
"remaining_quantity": {"required": True},
|
|
16745
16783
|
"available": {"required": True},
|
|
16784
|
+
"fixed_locations": {"required": True},
|
|
16746
16785
|
}
|
|
16747
16786
|
|
|
16748
16787
|
_attribute_map = {
|
|
@@ -16756,13 +16795,17 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16756
16795
|
"unit": {"key": "unit", "type": "str"},
|
|
16757
16796
|
"demanding_production_order_number": {"key": "demandingProductionOrderNumber", "type": "str"},
|
|
16758
16797
|
"quantity_per_part": {"key": "quantityPerPart", "type": "float"},
|
|
16798
|
+
"total_required_quantity": {"key": "totalRequiredQuantity", "type": "float"},
|
|
16759
16799
|
"used_quantity": {"key": "usedQuantity", "type": "float"},
|
|
16760
16800
|
"lot": {"key": "lot", "type": "str"},
|
|
16761
16801
|
"consumed_automatically": {"key": "consumedAutomatically", "type": "bool"},
|
|
16762
16802
|
"requires_batch_tracing": {"key": "requiresBatchTracing", "type": "bool"},
|
|
16763
16803
|
"proposed_quantity": {"key": "proposedQuantity", "type": "float"},
|
|
16764
|
-
"
|
|
16804
|
+
"remaining_quantity": {"key": "remainingQuantity", "type": "float"},
|
|
16805
|
+
"suggested_started_quantity": {"key": "suggestedStartedQuantity", "type": "InventoryDto"},
|
|
16806
|
+
"suggested_remaining_quantity": {"key": "suggestedRemainingQuantity", "type": "InventoryDto"},
|
|
16765
16807
|
"available": {"key": "available", "type": "[InventoryDto]"},
|
|
16808
|
+
"fixed_locations": {"key": "fixedLocations", "type": "[str]"},
|
|
16766
16809
|
}
|
|
16767
16810
|
|
|
16768
16811
|
def __init__(
|
|
@@ -16772,19 +16815,23 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16772
16815
|
part: "_models.PartDto",
|
|
16773
16816
|
operation: int,
|
|
16774
16817
|
quantity_per_part: float,
|
|
16818
|
+
total_required_quantity: float,
|
|
16775
16819
|
used_quantity: float,
|
|
16776
16820
|
lot: str,
|
|
16777
16821
|
consumed_automatically: bool,
|
|
16778
16822
|
requires_batch_tracing: bool,
|
|
16779
16823
|
proposed_quantity: float,
|
|
16824
|
+
remaining_quantity: float,
|
|
16780
16825
|
available: List["_models.InventoryDto"],
|
|
16826
|
+
fixed_locations: List[str],
|
|
16781
16827
|
position: Optional[str] = None,
|
|
16782
16828
|
dimension: Optional[str] = None,
|
|
16783
16829
|
warehouse: Optional[str] = None,
|
|
16784
16830
|
fixed_location: Optional[str] = None,
|
|
16785
16831
|
unit: Optional[str] = None,
|
|
16786
16832
|
demanding_production_order_number: Optional[str] = None,
|
|
16787
|
-
|
|
16833
|
+
suggested_started_quantity: Optional["_models.InventoryDto"] = None,
|
|
16834
|
+
suggested_remaining_quantity: Optional["_models.InventoryDto"] = None,
|
|
16788
16835
|
**kwargs: Any
|
|
16789
16836
|
) -> None:
|
|
16790
16837
|
"""
|
|
@@ -16808,6 +16855,8 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16808
16855
|
:paramtype demanding_production_order_number: str
|
|
16809
16856
|
:keyword quantity_per_part: Required.
|
|
16810
16857
|
:paramtype quantity_per_part: float
|
|
16858
|
+
:keyword total_required_quantity: Required.
|
|
16859
|
+
:paramtype total_required_quantity: float
|
|
16811
16860
|
:keyword used_quantity: Required.
|
|
16812
16861
|
:paramtype used_quantity: float
|
|
16813
16862
|
:keyword lot: Required.
|
|
@@ -16818,10 +16867,16 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16818
16867
|
:paramtype requires_batch_tracing: bool
|
|
16819
16868
|
:keyword proposed_quantity: Required.
|
|
16820
16869
|
:paramtype proposed_quantity: float
|
|
16821
|
-
:keyword
|
|
16822
|
-
:paramtype
|
|
16870
|
+
:keyword remaining_quantity: Required.
|
|
16871
|
+
:paramtype remaining_quantity: float
|
|
16872
|
+
:keyword suggested_started_quantity:
|
|
16873
|
+
:paramtype suggested_started_quantity: ~ignos.api.client.models.InventoryDto
|
|
16874
|
+
:keyword suggested_remaining_quantity:
|
|
16875
|
+
:paramtype suggested_remaining_quantity: ~ignos.api.client.models.InventoryDto
|
|
16823
16876
|
:keyword available: Required.
|
|
16824
16877
|
:paramtype available: list[~ignos.api.client.models.InventoryDto]
|
|
16878
|
+
:keyword fixed_locations: Required.
|
|
16879
|
+
:paramtype fixed_locations: list[str]
|
|
16825
16880
|
"""
|
|
16826
16881
|
super().__init__(**kwargs)
|
|
16827
16882
|
self.position = position
|
|
@@ -16834,13 +16889,17 @@ class PickListSuggestionDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
16834
16889
|
self.unit = unit
|
|
16835
16890
|
self.demanding_production_order_number = demanding_production_order_number
|
|
16836
16891
|
self.quantity_per_part = quantity_per_part
|
|
16892
|
+
self.total_required_quantity = total_required_quantity
|
|
16837
16893
|
self.used_quantity = used_quantity
|
|
16838
16894
|
self.lot = lot
|
|
16839
16895
|
self.consumed_automatically = consumed_automatically
|
|
16840
16896
|
self.requires_batch_tracing = requires_batch_tracing
|
|
16841
16897
|
self.proposed_quantity = proposed_quantity
|
|
16842
|
-
self.
|
|
16898
|
+
self.remaining_quantity = remaining_quantity
|
|
16899
|
+
self.suggested_started_quantity = suggested_started_quantity
|
|
16900
|
+
self.suggested_remaining_quantity = suggested_remaining_quantity
|
|
16843
16901
|
self.available = available
|
|
16902
|
+
self.fixed_locations = fixed_locations
|
|
16844
16903
|
|
|
16845
16904
|
|
|
16846
16905
|
class PostMaterialPickListRequest(_serialization.Model):
|
|
@@ -17248,18 +17307,22 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17248
17307
|
:vartype dimension: str
|
|
17249
17308
|
:ivar operation: Required.
|
|
17250
17309
|
:vartype operation: int
|
|
17310
|
+
:ivar operation_name:
|
|
17311
|
+
:vartype operation_name: str
|
|
17251
17312
|
:ivar warehouse:
|
|
17252
17313
|
:vartype warehouse: str
|
|
17253
17314
|
:ivar fixed_location:
|
|
17254
17315
|
:vartype fixed_location: str
|
|
17255
17316
|
:ivar unit:
|
|
17256
17317
|
:vartype unit: str
|
|
17257
|
-
:ivar demanding_production_order_number:
|
|
17258
|
-
:vartype demanding_production_order_number: str
|
|
17259
17318
|
:ivar quantity_per_part: Required.
|
|
17260
17319
|
:vartype quantity_per_part: float
|
|
17320
|
+
:ivar total_required_quantity: Required.
|
|
17321
|
+
:vartype total_required_quantity: float
|
|
17261
17322
|
:ivar used_quantity: Required.
|
|
17262
17323
|
:vartype used_quantity: float
|
|
17324
|
+
:ivar available_quantity:
|
|
17325
|
+
:vartype available_quantity: float
|
|
17263
17326
|
:ivar drawing:
|
|
17264
17327
|
:vartype drawing: ~ignos.api.client.models.DrawingDto
|
|
17265
17328
|
:ivar order_reference:
|
|
@@ -17271,6 +17334,7 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17271
17334
|
"part": {"required": True},
|
|
17272
17335
|
"operation": {"required": True},
|
|
17273
17336
|
"quantity_per_part": {"required": True},
|
|
17337
|
+
"total_required_quantity": {"required": True},
|
|
17274
17338
|
"used_quantity": {"required": True},
|
|
17275
17339
|
}
|
|
17276
17340
|
|
|
@@ -17280,12 +17344,14 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17280
17344
|
"part": {"key": "part", "type": "PartDto"},
|
|
17281
17345
|
"dimension": {"key": "dimension", "type": "str"},
|
|
17282
17346
|
"operation": {"key": "operation", "type": "int"},
|
|
17347
|
+
"operation_name": {"key": "operationName", "type": "str"},
|
|
17283
17348
|
"warehouse": {"key": "warehouse", "type": "str"},
|
|
17284
17349
|
"fixed_location": {"key": "fixedLocation", "type": "str"},
|
|
17285
17350
|
"unit": {"key": "unit", "type": "str"},
|
|
17286
|
-
"demanding_production_order_number": {"key": "demandingProductionOrderNumber", "type": "str"},
|
|
17287
17351
|
"quantity_per_part": {"key": "quantityPerPart", "type": "float"},
|
|
17352
|
+
"total_required_quantity": {"key": "totalRequiredQuantity", "type": "float"},
|
|
17288
17353
|
"used_quantity": {"key": "usedQuantity", "type": "float"},
|
|
17354
|
+
"available_quantity": {"key": "availableQuantity", "type": "float"},
|
|
17289
17355
|
"drawing": {"key": "drawing", "type": "DrawingDto"},
|
|
17290
17356
|
"order_reference": {"key": "orderReference", "type": "OrderReferenceDto"},
|
|
17291
17357
|
}
|
|
@@ -17297,13 +17363,15 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17297
17363
|
part: "_models.PartDto",
|
|
17298
17364
|
operation: int,
|
|
17299
17365
|
quantity_per_part: float,
|
|
17366
|
+
total_required_quantity: float,
|
|
17300
17367
|
used_quantity: float,
|
|
17301
17368
|
position: Optional[str] = None,
|
|
17302
17369
|
dimension: Optional[str] = None,
|
|
17370
|
+
operation_name: Optional[str] = None,
|
|
17303
17371
|
warehouse: Optional[str] = None,
|
|
17304
17372
|
fixed_location: Optional[str] = None,
|
|
17305
17373
|
unit: Optional[str] = None,
|
|
17306
|
-
|
|
17374
|
+
available_quantity: Optional[float] = None,
|
|
17307
17375
|
drawing: Optional["_models.DrawingDto"] = None,
|
|
17308
17376
|
order_reference: Optional["_models.OrderReferenceDto"] = None,
|
|
17309
17377
|
**kwargs: Any
|
|
@@ -17319,18 +17387,22 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17319
17387
|
:paramtype dimension: str
|
|
17320
17388
|
:keyword operation: Required.
|
|
17321
17389
|
:paramtype operation: int
|
|
17390
|
+
:keyword operation_name:
|
|
17391
|
+
:paramtype operation_name: str
|
|
17322
17392
|
:keyword warehouse:
|
|
17323
17393
|
:paramtype warehouse: str
|
|
17324
17394
|
:keyword fixed_location:
|
|
17325
17395
|
:paramtype fixed_location: str
|
|
17326
17396
|
:keyword unit:
|
|
17327
17397
|
:paramtype unit: str
|
|
17328
|
-
:keyword demanding_production_order_number:
|
|
17329
|
-
:paramtype demanding_production_order_number: str
|
|
17330
17398
|
:keyword quantity_per_part: Required.
|
|
17331
17399
|
:paramtype quantity_per_part: float
|
|
17400
|
+
:keyword total_required_quantity: Required.
|
|
17401
|
+
:paramtype total_required_quantity: float
|
|
17332
17402
|
:keyword used_quantity: Required.
|
|
17333
17403
|
:paramtype used_quantity: float
|
|
17404
|
+
:keyword available_quantity:
|
|
17405
|
+
:paramtype available_quantity: float
|
|
17334
17406
|
:keyword drawing:
|
|
17335
17407
|
:paramtype drawing: ~ignos.api.client.models.DrawingDto
|
|
17336
17408
|
:keyword order_reference:
|
|
@@ -17342,12 +17414,14 @@ class ProductionOrderBomDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
17342
17414
|
self.part = part
|
|
17343
17415
|
self.dimension = dimension
|
|
17344
17416
|
self.operation = operation
|
|
17417
|
+
self.operation_name = operation_name
|
|
17345
17418
|
self.warehouse = warehouse
|
|
17346
17419
|
self.fixed_location = fixed_location
|
|
17347
17420
|
self.unit = unit
|
|
17348
|
-
self.demanding_production_order_number = demanding_production_order_number
|
|
17349
17421
|
self.quantity_per_part = quantity_per_part
|
|
17422
|
+
self.total_required_quantity = total_required_quantity
|
|
17350
17423
|
self.used_quantity = used_quantity
|
|
17424
|
+
self.available_quantity = available_quantity
|
|
17351
17425
|
self.drawing = drawing
|
|
17352
17426
|
self.order_reference = order_reference
|
|
17353
17427
|
|
|
@@ -20218,6 +20292,8 @@ class TraceDto(_serialization.Model):
|
|
|
20218
20292
|
:vartype last_changed: ~datetime.datetime
|
|
20219
20293
|
:ivar part: Required.
|
|
20220
20294
|
:vartype part: ~ignos.api.client.models.PartDto
|
|
20295
|
+
:ivar quantity: Required.
|
|
20296
|
+
:vartype quantity: float
|
|
20221
20297
|
:ivar items: Required.
|
|
20222
20298
|
:vartype items: list[~ignos.api.client.models.TraceItemDto]
|
|
20223
20299
|
:ivar override_material_details: Required.
|
|
@@ -20231,6 +20307,7 @@ class TraceDto(_serialization.Model):
|
|
|
20231
20307
|
"user": {"required": True},
|
|
20232
20308
|
"last_changed": {"required": True},
|
|
20233
20309
|
"part": {"required": True},
|
|
20310
|
+
"quantity": {"required": True},
|
|
20234
20311
|
"items": {"required": True},
|
|
20235
20312
|
"override_material_details": {"required": True},
|
|
20236
20313
|
"operations": {"required": True},
|
|
@@ -20241,6 +20318,7 @@ class TraceDto(_serialization.Model):
|
|
|
20241
20318
|
"user": {"key": "user", "type": "UserDto"},
|
|
20242
20319
|
"last_changed": {"key": "lastChanged", "type": "iso-8601"},
|
|
20243
20320
|
"part": {"key": "part", "type": "PartDto"},
|
|
20321
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
20244
20322
|
"items": {"key": "items", "type": "[TraceItemDto]"},
|
|
20245
20323
|
"override_material_details": {"key": "overrideMaterialDetails", "type": "[TraceMaterialDetailDto]"},
|
|
20246
20324
|
"operations": {"key": "operations", "type": "[WorkOrderTraceOperationDto]"},
|
|
@@ -20253,6 +20331,7 @@ class TraceDto(_serialization.Model):
|
|
|
20253
20331
|
user: "_models.UserDto",
|
|
20254
20332
|
last_changed: datetime.datetime,
|
|
20255
20333
|
part: "_models.PartDto",
|
|
20334
|
+
quantity: float,
|
|
20256
20335
|
items: List["_models.TraceItemDto"],
|
|
20257
20336
|
override_material_details: List["_models.TraceMaterialDetailDto"],
|
|
20258
20337
|
operations: List["_models.WorkOrderTraceOperationDto"],
|
|
@@ -20267,6 +20346,8 @@ class TraceDto(_serialization.Model):
|
|
|
20267
20346
|
:paramtype last_changed: ~datetime.datetime
|
|
20268
20347
|
:keyword part: Required.
|
|
20269
20348
|
:paramtype part: ~ignos.api.client.models.PartDto
|
|
20349
|
+
:keyword quantity: Required.
|
|
20350
|
+
:paramtype quantity: float
|
|
20270
20351
|
:keyword items: Required.
|
|
20271
20352
|
:paramtype items: list[~ignos.api.client.models.TraceItemDto]
|
|
20272
20353
|
:keyword override_material_details: Required.
|
|
@@ -20279,6 +20360,7 @@ class TraceDto(_serialization.Model):
|
|
|
20279
20360
|
self.user = user
|
|
20280
20361
|
self.last_changed = last_changed
|
|
20281
20362
|
self.part = part
|
|
20363
|
+
self.quantity = quantity
|
|
20282
20364
|
self.items = items
|
|
20283
20365
|
self.override_material_details = override_material_details
|
|
20284
20366
|
self.operations = operations
|
|
@@ -23810,6 +23892,34 @@ class WhitelistMeasuringTool(_serialization.Model):
|
|
|
23810
23892
|
self.description = description
|
|
23811
23893
|
|
|
23812
23894
|
|
|
23895
|
+
class WorkerDto(_serialization.Model):
|
|
23896
|
+
"""WorkerDto.
|
|
23897
|
+
|
|
23898
|
+
:ivar personnel_number:
|
|
23899
|
+
:vartype personnel_number: str
|
|
23900
|
+
:ivar badge_id:
|
|
23901
|
+
:vartype badge_id: str
|
|
23902
|
+
"""
|
|
23903
|
+
|
|
23904
|
+
_attribute_map = {
|
|
23905
|
+
"personnel_number": {"key": "personnelNumber", "type": "str"},
|
|
23906
|
+
"badge_id": {"key": "badgeId", "type": "str"},
|
|
23907
|
+
}
|
|
23908
|
+
|
|
23909
|
+
def __init__(
|
|
23910
|
+
self, *, personnel_number: Optional[str] = None, badge_id: Optional[str] = None, **kwargs: Any
|
|
23911
|
+
) -> None:
|
|
23912
|
+
"""
|
|
23913
|
+
:keyword personnel_number:
|
|
23914
|
+
:paramtype personnel_number: str
|
|
23915
|
+
:keyword badge_id:
|
|
23916
|
+
:paramtype badge_id: str
|
|
23917
|
+
"""
|
|
23918
|
+
super().__init__(**kwargs)
|
|
23919
|
+
self.personnel_number = personnel_number
|
|
23920
|
+
self.badge_id = badge_id
|
|
23921
|
+
|
|
23922
|
+
|
|
23813
23923
|
class WorkOrderConsumptionDto(_serialization.Model):
|
|
23814
23924
|
"""WorkOrderConsumptionDto.
|
|
23815
23925
|
|
|
@@ -5723,6 +5723,22 @@ def build_mes_list_employees_request(*, company_id: Optional[str] = None, **kwar
|
|
|
5723
5723
|
return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)
|
|
5724
5724
|
|
|
5725
5725
|
|
|
5726
|
+
def build_mes_get_worker_details_for_current_user_request( # pylint: disable=name-too-long
|
|
5727
|
+
**kwargs: Any,
|
|
5728
|
+
) -> HttpRequest:
|
|
5729
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
5730
|
+
|
|
5731
|
+
accept = _headers.pop("Accept", "application/json")
|
|
5732
|
+
|
|
5733
|
+
# Construct URL
|
|
5734
|
+
_url = "/mes/workers/me"
|
|
5735
|
+
|
|
5736
|
+
# Construct headers
|
|
5737
|
+
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
|
5738
|
+
|
|
5739
|
+
return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs)
|
|
5740
|
+
|
|
5741
|
+
|
|
5726
5742
|
def build_mes_documents_get_document_request(drawing_number: str, id: str, **kwargs: Any) -> HttpRequest:
|
|
5727
5743
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
5728
5744
|
|
|
@@ -5967,6 +5983,11 @@ def build_mes_production_schedule_list_production_schedule_operations_request(
|
|
|
5967
5983
|
resource_id: Optional[str] = None,
|
|
5968
5984
|
page_size: int = 50,
|
|
5969
5985
|
continuation_token_parameter: Optional[str] = None,
|
|
5986
|
+
work_order_id: Optional[str] = None,
|
|
5987
|
+
project_id: Optional[str] = None,
|
|
5988
|
+
part_number: Optional[str] = None,
|
|
5989
|
+
part_name: Optional[str] = None,
|
|
5990
|
+
material: Optional[str] = None,
|
|
5970
5991
|
**kwargs: Any,
|
|
5971
5992
|
) -> HttpRequest:
|
|
5972
5993
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
|
@@ -5988,6 +6009,16 @@ def build_mes_production_schedule_list_production_schedule_operations_request(
|
|
|
5988
6009
|
_params["continuationToken"] = _SERIALIZER.query(
|
|
5989
6010
|
"continuation_token_parameter", continuation_token_parameter, "str"
|
|
5990
6011
|
)
|
|
6012
|
+
if work_order_id is not None:
|
|
6013
|
+
_params["workOrderId"] = _SERIALIZER.query("work_order_id", work_order_id, "str")
|
|
6014
|
+
if project_id is not None:
|
|
6015
|
+
_params["projectId"] = _SERIALIZER.query("project_id", project_id, "str")
|
|
6016
|
+
if part_number is not None:
|
|
6017
|
+
_params["partNumber"] = _SERIALIZER.query("part_number", part_number, "str")
|
|
6018
|
+
if part_name is not None:
|
|
6019
|
+
_params["partName"] = _SERIALIZER.query("part_name", part_name, "str")
|
|
6020
|
+
if material is not None:
|
|
6021
|
+
_params["material"] = _SERIALIZER.query("material", material, "str")
|
|
5991
6022
|
|
|
5992
6023
|
# Construct headers
|
|
5993
6024
|
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
|
@@ -28356,6 +28387,53 @@ class MesOperations:
|
|
|
28356
28387
|
|
|
28357
28388
|
return deserialized
|
|
28358
28389
|
|
|
28390
|
+
@distributed_trace
|
|
28391
|
+
def get_worker_details_for_current_user(self, **kwargs: Any) -> _models.WorkerDto:
|
|
28392
|
+
"""get_worker_details_for_current_user.
|
|
28393
|
+
|
|
28394
|
+
:return: WorkerDto
|
|
28395
|
+
:rtype: ~ignos.api.client.models.WorkerDto
|
|
28396
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
|
28397
|
+
"""
|
|
28398
|
+
error_map = {
|
|
28399
|
+
401: ClientAuthenticationError,
|
|
28400
|
+
404: ResourceNotFoundError,
|
|
28401
|
+
409: ResourceExistsError,
|
|
28402
|
+
304: ResourceNotModifiedError,
|
|
28403
|
+
}
|
|
28404
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
|
28405
|
+
|
|
28406
|
+
_headers = kwargs.pop("headers", {}) or {}
|
|
28407
|
+
_params = kwargs.pop("params", {}) or {}
|
|
28408
|
+
|
|
28409
|
+
cls: ClsType[_models.WorkerDto] = kwargs.pop("cls", None)
|
|
28410
|
+
|
|
28411
|
+
request = build_mes_get_worker_details_for_current_user_request(
|
|
28412
|
+
headers=_headers,
|
|
28413
|
+
params=_params,
|
|
28414
|
+
)
|
|
28415
|
+
request.url = self._client.format_url(request.url)
|
|
28416
|
+
|
|
28417
|
+
_stream = False
|
|
28418
|
+
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
|
28419
|
+
request, stream=_stream, **kwargs
|
|
28420
|
+
)
|
|
28421
|
+
|
|
28422
|
+
response = pipeline_response.http_response
|
|
28423
|
+
|
|
28424
|
+
if response.status_code not in [200]:
|
|
28425
|
+
if _stream:
|
|
28426
|
+
response.read() # Load the body in memory and close the socket
|
|
28427
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
|
28428
|
+
raise HttpResponseError(response=response)
|
|
28429
|
+
|
|
28430
|
+
deserialized = self._deserialize("WorkerDto", pipeline_response)
|
|
28431
|
+
|
|
28432
|
+
if cls:
|
|
28433
|
+
return cls(pipeline_response, deserialized, {})
|
|
28434
|
+
|
|
28435
|
+
return deserialized
|
|
28436
|
+
|
|
28359
28437
|
|
|
28360
28438
|
class MesDocumentsOperations:
|
|
28361
28439
|
"""
|
|
@@ -29192,6 +29270,11 @@ class MesProductionScheduleOperations:
|
|
|
29192
29270
|
resource_id: Optional[str] = None,
|
|
29193
29271
|
page_size: int = 50,
|
|
29194
29272
|
continuation_token_parameter: Optional[str] = None,
|
|
29273
|
+
work_order_id: Optional[str] = None,
|
|
29274
|
+
project_id: Optional[str] = None,
|
|
29275
|
+
part_number: Optional[str] = None,
|
|
29276
|
+
part_name: Optional[str] = None,
|
|
29277
|
+
material: Optional[str] = None,
|
|
29195
29278
|
**kwargs: Any,
|
|
29196
29279
|
) -> _models.ProductionScheduleOperationDtoPagedResult:
|
|
29197
29280
|
"""list_production_schedule_operations.
|
|
@@ -29204,6 +29287,16 @@ class MesProductionScheduleOperations:
|
|
|
29204
29287
|
:paramtype page_size: int
|
|
29205
29288
|
:keyword continuation_token_parameter: Default value is None.
|
|
29206
29289
|
:paramtype continuation_token_parameter: str
|
|
29290
|
+
:keyword work_order_id: Default value is None.
|
|
29291
|
+
:paramtype work_order_id: str
|
|
29292
|
+
:keyword project_id: Default value is None.
|
|
29293
|
+
:paramtype project_id: str
|
|
29294
|
+
:keyword part_number: Default value is None.
|
|
29295
|
+
:paramtype part_number: str
|
|
29296
|
+
:keyword part_name: Default value is None.
|
|
29297
|
+
:paramtype part_name: str
|
|
29298
|
+
:keyword material: Default value is None.
|
|
29299
|
+
:paramtype material: str
|
|
29207
29300
|
:return: ProductionScheduleOperationDtoPagedResult
|
|
29208
29301
|
:rtype: ~ignos.api.client.models.ProductionScheduleOperationDtoPagedResult
|
|
29209
29302
|
:raises ~azure.core.exceptions.HttpResponseError:
|
|
@@ -29226,6 +29319,11 @@ class MesProductionScheduleOperations:
|
|
|
29226
29319
|
resource_id=resource_id,
|
|
29227
29320
|
page_size=page_size,
|
|
29228
29321
|
continuation_token_parameter=continuation_token_parameter,
|
|
29322
|
+
work_order_id=work_order_id,
|
|
29323
|
+
project_id=project_id,
|
|
29324
|
+
part_number=part_number,
|
|
29325
|
+
part_name=part_name,
|
|
29326
|
+
material=material,
|
|
29229
29327
|
headers=_headers,
|
|
29230
29328
|
params=_params,
|
|
29231
29329
|
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
ignos/__init__.py,sha256=bpT73UG7mZL_JjEqMwbYx6q69jA8J5Jcoul1LcDokhA,81
|
|
2
|
+
ignos/api/__init__.py,sha256=bpT73UG7mZL_JjEqMwbYx6q69jA8J5Jcoul1LcDokhA,81
|
|
3
|
+
ignos/api/client/__init__.py,sha256=1sEKRv44jctUgfwTeACuvjV150Ly7UVaYP2HtJGW9Ws,866
|
|
4
|
+
ignos/api/client/_client.py,sha256=Svs0Le7Grl8Gu8zgZKgOdyn73lhVm8kBTQSGjyLiwcM,16435
|
|
5
|
+
ignos/api/client/_configuration.py,sha256=8s1x7UW4NvqWPU6-LQYy7LwLdzkD6_GSMd_N4YG6b3w,2878
|
|
6
|
+
ignos/api/client/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
7
|
+
ignos/api/client/_serialization.py,sha256=6P7mixts9iL6rE8p4ronE0G2Y1gMxVfjCdkzEtH_aN4,79431
|
|
8
|
+
ignos/api/client/_version.py,sha256=6-oucEyL0VAxctb30VjpwQfkEvkGw4a3OmOrFVmKIWY,496
|
|
9
|
+
ignos/api/client/aio/__init__.py,sha256=BxlHH19w-NSPLxsg-CboXjxuJBj9TuFeacpQwWmCjPw,813
|
|
10
|
+
ignos/api/client/aio/_client.py,sha256=g9NHtnwItLexHGq1s0bUIfqPs2_gEHXYq-nsov3IRoE,16758
|
|
11
|
+
ignos/api/client/aio/_configuration.py,sha256=p6kZqHQirLjDJcpNCYbiLJDIeVqFPJNB5-qJggKa5mU,2921
|
|
12
|
+
ignos/api/client/aio/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
13
|
+
ignos/api/client/aio/operations/__init__.py,sha256=eukCyz1w5Np_whzon7rN_8lXWaZ5GWV4XiDsSexa3Cc,4081
|
|
14
|
+
ignos/api/client/aio/operations/_operations.py,sha256=UYYd2tbEfLKBNHmu63dr2RClfsXuL4aiUAEFRi3abKU,1076566
|
|
15
|
+
ignos/api/client/aio/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
16
|
+
ignos/api/client/models/__init__.py,sha256=Krd8x9P4tUCgA72B2wjum0DcjuBm7SHpE4iJI09lZg4,33366
|
|
17
|
+
ignos/api/client/models/_enums.py,sha256=MrYHQsMLcBs5kMhsIrvUUmG5jVD60csrTY_jhdaTt_o,10274
|
|
18
|
+
ignos/api/client/models/_models.py,sha256=MyJQYraFG-EWAMvcE7jfHKz_HsgkmZacBytR-muyqUw,881252
|
|
19
|
+
ignos/api/client/models/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
20
|
+
ignos/api/client/operations/__init__.py,sha256=eukCyz1w5Np_whzon7rN_8lXWaZ5GWV4XiDsSexa3Cc,4081
|
|
21
|
+
ignos/api/client/operations/_operations.py,sha256=H-cWpFVpjgf5ayRjLc0HS2JGt9AfCzxD6xLBGhRhbVA,1312949
|
|
22
|
+
ignos/api/client/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
23
|
+
ignos_api_client-2023.10.18.6667.dist-info/METADATA,sha256=8Ym_JXGB77ooLuM_k5zO4dFscoz87QtySwCPqZEAZp8,252
|
|
24
|
+
ignos_api_client-2023.10.18.6667.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
25
|
+
ignos_api_client-2023.10.18.6667.dist-info/top_level.txt,sha256=eGbj-YCTgfKuJX7-n95eMN-onlnccQiO8XnhWA0wgVA,6
|
|
26
|
+
ignos_api_client-2023.10.18.6667.dist-info/RECORD,,
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
ignos/__init__.py,sha256=bpT73UG7mZL_JjEqMwbYx6q69jA8J5Jcoul1LcDokhA,81
|
|
2
|
-
ignos/api/__init__.py,sha256=bpT73UG7mZL_JjEqMwbYx6q69jA8J5Jcoul1LcDokhA,81
|
|
3
|
-
ignos/api/client/__init__.py,sha256=1sEKRv44jctUgfwTeACuvjV150Ly7UVaYP2HtJGW9Ws,866
|
|
4
|
-
ignos/api/client/_client.py,sha256=IwQXFJy99yPXNrF8uiB-3Ss9HFF07yx-6eIN6CNYsSk,15579
|
|
5
|
-
ignos/api/client/_configuration.py,sha256=3CJo57y-5WFf962bdsXzj6fwHyNzMuMYMXc5_SDtijE,2942
|
|
6
|
-
ignos/api/client/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
7
|
-
ignos/api/client/_serialization.py,sha256=pTtzx8eb44_OkO4IoUmglPXWl2U43r0xygtCK1XqiKM,79436
|
|
8
|
-
ignos/api/client/_version.py,sha256=G4cwLmgGm_00OAuapbe0aejlQQVaVoa5l6PjwN5VmHo,495
|
|
9
|
-
ignos/api/client/aio/__init__.py,sha256=BxlHH19w-NSPLxsg-CboXjxuJBj9TuFeacpQwWmCjPw,813
|
|
10
|
-
ignos/api/client/aio/_client.py,sha256=9YfAMVhhdBXM6VGVUSJuAcwsp78oTbM6jaNOiT68yrw,15902
|
|
11
|
-
ignos/api/client/aio/_configuration.py,sha256=LtBgxt74n9NlW4y_E9nVbgfPkOSX6k6PrfYab124IJc,2985
|
|
12
|
-
ignos/api/client/aio/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
13
|
-
ignos/api/client/aio/operations/__init__.py,sha256=eukCyz1w5Np_whzon7rN_8lXWaZ5GWV4XiDsSexa3Cc,4081
|
|
14
|
-
ignos/api/client/aio/operations/_operations.py,sha256=qnljIwWihZeCR6dgdX08wEiBLMjgx1imdivkcU_m3FQ,1073999
|
|
15
|
-
ignos/api/client/aio/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
16
|
-
ignos/api/client/models/__init__.py,sha256=eDq_hlLu-ogDIj5DRwQ253oACnVRl5hrYXdmE_XDAfU,33318
|
|
17
|
-
ignos/api/client/models/_enums.py,sha256=MrYHQsMLcBs5kMhsIrvUUmG5jVD60csrTY_jhdaTt_o,10274
|
|
18
|
-
ignos/api/client/models/_models.py,sha256=SePVC2iERLW_nbfimee8Xvq-E9qIVn5MjH1FE3jEXAA,876578
|
|
19
|
-
ignos/api/client/models/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
20
|
-
ignos/api/client/operations/__init__.py,sha256=eukCyz1w5Np_whzon7rN_8lXWaZ5GWV4XiDsSexa3Cc,4081
|
|
21
|
-
ignos/api/client/operations/_operations.py,sha256=upKM6z26T1H7IjXqe6PsKGCcyP_Pp36GiKJCHAkxuGA,1309227
|
|
22
|
-
ignos/api/client/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
|
|
23
|
-
ignos_api_client-2023.10.6.6561.dist-info/METADATA,sha256=iW06tsHRx33lWKkEoF056AJH8bwVfavzPT_aVaQVOfA,251
|
|
24
|
-
ignos_api_client-2023.10.6.6561.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
25
|
-
ignos_api_client-2023.10.6.6561.dist-info/top_level.txt,sha256=eGbj-YCTgfKuJX7-n95eMN-onlnccQiO8XnhWA0wgVA,6
|
|
26
|
-
ignos_api_client-2023.10.6.6561.dist-info/RECORD,,
|
{ignos_api_client-2023.10.6.6561.dist-info → ignos_api_client-2023.10.18.6667.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|