ignos-api-client 2023.6.14.5376__py3-none-any.whl → 2023.7.7.5556__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 +16 -0
- ignos/api/client/_version.py +1 -1
- ignos/api/client/aio/_client.py +16 -0
- ignos/api/client/aio/operations/__init__.py +8 -0
- ignos/api/client/aio/operations/_operations.py +2346 -883
- ignos/api/client/models/__init__.py +68 -0
- ignos/api/client/models/_enums.py +108 -0
- ignos/api/client/models/_models.py +1905 -118
- ignos/api/client/operations/__init__.py +8 -0
- ignos/api/client/operations/_operations.py +2178 -436
- {ignos_api_client-2023.6.14.5376.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/METADATA +1 -1
- ignos_api_client-2023.7.7.5556.dist-info/RECORD +27 -0
- ignos_api_client-2023.6.14.5376.dist-info/RECORD +0 -27
- {ignos_api_client-2023.6.14.5376.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/WHEEL +0 -0
- {ignos_api_client-2023.6.14.5376.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/top_level.txt +0 -0
|
@@ -551,6 +551,32 @@ class AttachCalibrationCertificateRequest(_serialization.Model):
|
|
|
551
551
|
self.filename = filename
|
|
552
552
|
|
|
553
553
|
|
|
554
|
+
class AttachPdfRequest(_serialization.Model):
|
|
555
|
+
"""AttachPdfRequest.
|
|
556
|
+
|
|
557
|
+
:ivar upload_key:
|
|
558
|
+
:vartype upload_key: str
|
|
559
|
+
:ivar filename:
|
|
560
|
+
:vartype filename: str
|
|
561
|
+
"""
|
|
562
|
+
|
|
563
|
+
_attribute_map = {
|
|
564
|
+
"upload_key": {"key": "uploadKey", "type": "str"},
|
|
565
|
+
"filename": {"key": "filename", "type": "str"},
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
def __init__(self, *, upload_key: Optional[str] = None, filename: Optional[str] = None, **kwargs: Any) -> None:
|
|
569
|
+
"""
|
|
570
|
+
:keyword upload_key:
|
|
571
|
+
:paramtype upload_key: str
|
|
572
|
+
:keyword filename:
|
|
573
|
+
:paramtype filename: str
|
|
574
|
+
"""
|
|
575
|
+
super().__init__(**kwargs)
|
|
576
|
+
self.upload_key = upload_key
|
|
577
|
+
self.filename = filename
|
|
578
|
+
|
|
579
|
+
|
|
554
580
|
class AzureRegionDto(_serialization.Model):
|
|
555
581
|
"""AzureRegionDto.
|
|
556
582
|
|
|
@@ -3235,6 +3261,203 @@ class CreateCustomerOrderLineGhgReport(_serialization.Model):
|
|
|
3235
3261
|
self.nodes = nodes
|
|
3236
3262
|
|
|
3237
3263
|
|
|
3264
|
+
class CreateDocumentType(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
3265
|
+
"""CreateDocumentType.
|
|
3266
|
+
|
|
3267
|
+
All required parameters must be populated in order to send to Azure.
|
|
3268
|
+
|
|
3269
|
+
:ivar id: Required.
|
|
3270
|
+
:vartype id: str
|
|
3271
|
+
:ivar name: Required.
|
|
3272
|
+
:vartype name: str
|
|
3273
|
+
:ivar title:
|
|
3274
|
+
:vartype title: str
|
|
3275
|
+
:ivar desciption:
|
|
3276
|
+
:vartype desciption: str
|
|
3277
|
+
:ivar active: Required.
|
|
3278
|
+
:vartype active: bool
|
|
3279
|
+
:ivar number_key: Required. Known values are: "Multiple" and "SingleDocument".
|
|
3280
|
+
:vartype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
3281
|
+
:ivar document_number_pattern: Required.
|
|
3282
|
+
:vartype document_number_pattern: str
|
|
3283
|
+
:ivar workflow_type: Required. Known values are: "None", "CustomerProvided",
|
|
3284
|
+
"CustomerApproval", and "InternalWithFix".
|
|
3285
|
+
:vartype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
3286
|
+
:ivar file_type:
|
|
3287
|
+
:vartype file_type: str
|
|
3288
|
+
:ivar is_internal_document_type: Required.
|
|
3289
|
+
:vartype is_internal_document_type: bool
|
|
3290
|
+
:ivar is_generated_document_type: Required.
|
|
3291
|
+
:vartype is_generated_document_type: bool
|
|
3292
|
+
:ivar require_portable_file: Required.
|
|
3293
|
+
:vartype require_portable_file: bool
|
|
3294
|
+
:ivar category: Required. Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
3295
|
+
"Certificate".
|
|
3296
|
+
:vartype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
3297
|
+
:ivar can_assign_document_number: Required.
|
|
3298
|
+
:vartype can_assign_document_number: bool
|
|
3299
|
+
:ivar import_tag:
|
|
3300
|
+
:vartype import_tag: str
|
|
3301
|
+
:ivar document_requirement_strategy: Required. Known values are: "None", "WorkOrder", "Lot",
|
|
3302
|
+
"Drawing", and "CustomerOrderLine".
|
|
3303
|
+
:vartype document_requirement_strategy: str or
|
|
3304
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
3305
|
+
:ivar can_link_document: Required.
|
|
3306
|
+
:vartype can_link_document: bool
|
|
3307
|
+
:ivar require_dc_approval: Required.
|
|
3308
|
+
:vartype require_dc_approval: bool
|
|
3309
|
+
:ivar search_option: Required. Known values are: "IncludeApproved", "IncludeDraft", and
|
|
3310
|
+
"Exclude".
|
|
3311
|
+
:vartype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
3312
|
+
:ivar can_have_certificate: Required.
|
|
3313
|
+
:vartype can_have_certificate: bool
|
|
3314
|
+
:ivar sub_types: Required.
|
|
3315
|
+
:vartype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
3316
|
+
"""
|
|
3317
|
+
|
|
3318
|
+
_validation = {
|
|
3319
|
+
"id": {"required": True, "min_length": 1},
|
|
3320
|
+
"name": {"required": True, "min_length": 1},
|
|
3321
|
+
"active": {"required": True},
|
|
3322
|
+
"number_key": {"required": True},
|
|
3323
|
+
"document_number_pattern": {"required": True, "min_length": 1},
|
|
3324
|
+
"workflow_type": {"required": True},
|
|
3325
|
+
"is_internal_document_type": {"required": True},
|
|
3326
|
+
"is_generated_document_type": {"required": True},
|
|
3327
|
+
"require_portable_file": {"required": True},
|
|
3328
|
+
"category": {"required": True},
|
|
3329
|
+
"can_assign_document_number": {"required": True},
|
|
3330
|
+
"document_requirement_strategy": {"required": True},
|
|
3331
|
+
"can_link_document": {"required": True},
|
|
3332
|
+
"require_dc_approval": {"required": True},
|
|
3333
|
+
"search_option": {"required": True},
|
|
3334
|
+
"can_have_certificate": {"required": True},
|
|
3335
|
+
"sub_types": {"required": True},
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
_attribute_map = {
|
|
3339
|
+
"id": {"key": "id", "type": "str"},
|
|
3340
|
+
"name": {"key": "name", "type": "str"},
|
|
3341
|
+
"title": {"key": "title", "type": "str"},
|
|
3342
|
+
"desciption": {"key": "desciption", "type": "str"},
|
|
3343
|
+
"active": {"key": "active", "type": "bool"},
|
|
3344
|
+
"number_key": {"key": "numberKey", "type": "str"},
|
|
3345
|
+
"document_number_pattern": {"key": "documentNumberPattern", "type": "str"},
|
|
3346
|
+
"workflow_type": {"key": "workflowType", "type": "str"},
|
|
3347
|
+
"file_type": {"key": "fileType", "type": "str"},
|
|
3348
|
+
"is_internal_document_type": {"key": "isInternalDocumentType", "type": "bool"},
|
|
3349
|
+
"is_generated_document_type": {"key": "isGeneratedDocumentType", "type": "bool"},
|
|
3350
|
+
"require_portable_file": {"key": "requirePortableFile", "type": "bool"},
|
|
3351
|
+
"category": {"key": "category", "type": "str"},
|
|
3352
|
+
"can_assign_document_number": {"key": "canAssignDocumentNumber", "type": "bool"},
|
|
3353
|
+
"import_tag": {"key": "importTag", "type": "str"},
|
|
3354
|
+
"document_requirement_strategy": {"key": "documentRequirementStrategy", "type": "str"},
|
|
3355
|
+
"can_link_document": {"key": "canLinkDocument", "type": "bool"},
|
|
3356
|
+
"require_dc_approval": {"key": "requireDCApproval", "type": "bool"},
|
|
3357
|
+
"search_option": {"key": "searchOption", "type": "str"},
|
|
3358
|
+
"can_have_certificate": {"key": "canHaveCertificate", "type": "bool"},
|
|
3359
|
+
"sub_types": {"key": "subTypes", "type": "[DocumentSubTypeDto]"},
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
def __init__(
|
|
3363
|
+
self,
|
|
3364
|
+
*,
|
|
3365
|
+
id: str, # pylint: disable=redefined-builtin
|
|
3366
|
+
name: str,
|
|
3367
|
+
active: bool,
|
|
3368
|
+
number_key: Union[str, "_models.DocumentNumberKey"],
|
|
3369
|
+
document_number_pattern: str,
|
|
3370
|
+
workflow_type: Union[str, "_models.DocumentWorkflowType"],
|
|
3371
|
+
is_internal_document_type: bool,
|
|
3372
|
+
is_generated_document_type: bool,
|
|
3373
|
+
require_portable_file: bool,
|
|
3374
|
+
category: Union[str, "_models.DocumentTypeCategory"],
|
|
3375
|
+
can_assign_document_number: bool,
|
|
3376
|
+
document_requirement_strategy: Union[str, "_models.DocumentRequirementStrategy"],
|
|
3377
|
+
can_link_document: bool,
|
|
3378
|
+
require_dc_approval: bool,
|
|
3379
|
+
search_option: Union[str, "_models.DocumentTypeSearchOption"],
|
|
3380
|
+
can_have_certificate: bool,
|
|
3381
|
+
sub_types: List["_models.DocumentSubTypeDto"],
|
|
3382
|
+
title: Optional[str] = None,
|
|
3383
|
+
desciption: Optional[str] = None,
|
|
3384
|
+
file_type: Optional[str] = None,
|
|
3385
|
+
import_tag: Optional[str] = None,
|
|
3386
|
+
**kwargs: Any
|
|
3387
|
+
) -> None:
|
|
3388
|
+
"""
|
|
3389
|
+
:keyword id: Required.
|
|
3390
|
+
:paramtype id: str
|
|
3391
|
+
:keyword name: Required.
|
|
3392
|
+
:paramtype name: str
|
|
3393
|
+
:keyword title:
|
|
3394
|
+
:paramtype title: str
|
|
3395
|
+
:keyword desciption:
|
|
3396
|
+
:paramtype desciption: str
|
|
3397
|
+
:keyword active: Required.
|
|
3398
|
+
:paramtype active: bool
|
|
3399
|
+
:keyword number_key: Required. Known values are: "Multiple" and "SingleDocument".
|
|
3400
|
+
:paramtype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
3401
|
+
:keyword document_number_pattern: Required.
|
|
3402
|
+
:paramtype document_number_pattern: str
|
|
3403
|
+
:keyword workflow_type: Required. Known values are: "None", "CustomerProvided",
|
|
3404
|
+
"CustomerApproval", and "InternalWithFix".
|
|
3405
|
+
:paramtype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
3406
|
+
:keyword file_type:
|
|
3407
|
+
:paramtype file_type: str
|
|
3408
|
+
:keyword is_internal_document_type: Required.
|
|
3409
|
+
:paramtype is_internal_document_type: bool
|
|
3410
|
+
:keyword is_generated_document_type: Required.
|
|
3411
|
+
:paramtype is_generated_document_type: bool
|
|
3412
|
+
:keyword require_portable_file: Required.
|
|
3413
|
+
:paramtype require_portable_file: bool
|
|
3414
|
+
:keyword category: Required. Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
3415
|
+
"Certificate".
|
|
3416
|
+
:paramtype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
3417
|
+
:keyword can_assign_document_number: Required.
|
|
3418
|
+
:paramtype can_assign_document_number: bool
|
|
3419
|
+
:keyword import_tag:
|
|
3420
|
+
:paramtype import_tag: str
|
|
3421
|
+
:keyword document_requirement_strategy: Required. Known values are: "None", "WorkOrder", "Lot",
|
|
3422
|
+
"Drawing", and "CustomerOrderLine".
|
|
3423
|
+
:paramtype document_requirement_strategy: str or
|
|
3424
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
3425
|
+
:keyword can_link_document: Required.
|
|
3426
|
+
:paramtype can_link_document: bool
|
|
3427
|
+
:keyword require_dc_approval: Required.
|
|
3428
|
+
:paramtype require_dc_approval: bool
|
|
3429
|
+
:keyword search_option: Required. Known values are: "IncludeApproved", "IncludeDraft", and
|
|
3430
|
+
"Exclude".
|
|
3431
|
+
:paramtype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
3432
|
+
:keyword can_have_certificate: Required.
|
|
3433
|
+
:paramtype can_have_certificate: bool
|
|
3434
|
+
:keyword sub_types: Required.
|
|
3435
|
+
:paramtype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
3436
|
+
"""
|
|
3437
|
+
super().__init__(**kwargs)
|
|
3438
|
+
self.id = id
|
|
3439
|
+
self.name = name
|
|
3440
|
+
self.title = title
|
|
3441
|
+
self.desciption = desciption
|
|
3442
|
+
self.active = active
|
|
3443
|
+
self.number_key = number_key
|
|
3444
|
+
self.document_number_pattern = document_number_pattern
|
|
3445
|
+
self.workflow_type = workflow_type
|
|
3446
|
+
self.file_type = file_type
|
|
3447
|
+
self.is_internal_document_type = is_internal_document_type
|
|
3448
|
+
self.is_generated_document_type = is_generated_document_type
|
|
3449
|
+
self.require_portable_file = require_portable_file
|
|
3450
|
+
self.category = category
|
|
3451
|
+
self.can_assign_document_number = can_assign_document_number
|
|
3452
|
+
self.import_tag = import_tag
|
|
3453
|
+
self.document_requirement_strategy = document_requirement_strategy
|
|
3454
|
+
self.can_link_document = can_link_document
|
|
3455
|
+
self.require_dc_approval = require_dc_approval
|
|
3456
|
+
self.search_option = search_option
|
|
3457
|
+
self.can_have_certificate = can_have_certificate
|
|
3458
|
+
self.sub_types = sub_types
|
|
3459
|
+
|
|
3460
|
+
|
|
3238
3461
|
class CreateElectricalIotConfig(_serialization.Model):
|
|
3239
3462
|
"""CreateElectricalIotConfig.
|
|
3240
3463
|
|
|
@@ -3941,6 +4164,73 @@ class CreateMeasuringUnit(_serialization.Model):
|
|
|
3941
4164
|
self.unit = unit
|
|
3942
4165
|
|
|
3943
4166
|
|
|
4167
|
+
class CreateMrbTemplateRequest(_serialization.Model):
|
|
4168
|
+
"""CreateMrbTemplateRequest.
|
|
4169
|
+
|
|
4170
|
+
:ivar title:
|
|
4171
|
+
:vartype title: str
|
|
4172
|
+
:ivar customer_id:
|
|
4173
|
+
:vartype customer_id: str
|
|
4174
|
+
:ivar customer_group_id:
|
|
4175
|
+
:vartype customer_group_id: str
|
|
4176
|
+
:ivar customer_name:
|
|
4177
|
+
:vartype customer_name: str
|
|
4178
|
+
:ivar elements:
|
|
4179
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
4180
|
+
:ivar pdf_upload_key:
|
|
4181
|
+
:vartype pdf_upload_key: str
|
|
4182
|
+
:ivar pdf_filename:
|
|
4183
|
+
:vartype pdf_filename: str
|
|
4184
|
+
"""
|
|
4185
|
+
|
|
4186
|
+
_attribute_map = {
|
|
4187
|
+
"title": {"key": "title", "type": "str"},
|
|
4188
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
4189
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
4190
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
4191
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
4192
|
+
"pdf_upload_key": {"key": "pdfUploadKey", "type": "str"},
|
|
4193
|
+
"pdf_filename": {"key": "pdfFilename", "type": "str"},
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
def __init__(
|
|
4197
|
+
self,
|
|
4198
|
+
*,
|
|
4199
|
+
title: Optional[str] = None,
|
|
4200
|
+
customer_id: Optional[str] = None,
|
|
4201
|
+
customer_group_id: Optional[str] = None,
|
|
4202
|
+
customer_name: Optional[str] = None,
|
|
4203
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
4204
|
+
pdf_upload_key: Optional[str] = None,
|
|
4205
|
+
pdf_filename: Optional[str] = None,
|
|
4206
|
+
**kwargs: Any
|
|
4207
|
+
) -> None:
|
|
4208
|
+
"""
|
|
4209
|
+
:keyword title:
|
|
4210
|
+
:paramtype title: str
|
|
4211
|
+
:keyword customer_id:
|
|
4212
|
+
:paramtype customer_id: str
|
|
4213
|
+
:keyword customer_group_id:
|
|
4214
|
+
:paramtype customer_group_id: str
|
|
4215
|
+
:keyword customer_name:
|
|
4216
|
+
:paramtype customer_name: str
|
|
4217
|
+
:keyword elements:
|
|
4218
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
4219
|
+
:keyword pdf_upload_key:
|
|
4220
|
+
:paramtype pdf_upload_key: str
|
|
4221
|
+
:keyword pdf_filename:
|
|
4222
|
+
:paramtype pdf_filename: str
|
|
4223
|
+
"""
|
|
4224
|
+
super().__init__(**kwargs)
|
|
4225
|
+
self.title = title
|
|
4226
|
+
self.customer_id = customer_id
|
|
4227
|
+
self.customer_group_id = customer_group_id
|
|
4228
|
+
self.customer_name = customer_name
|
|
4229
|
+
self.elements = elements
|
|
4230
|
+
self.pdf_upload_key = pdf_upload_key
|
|
4231
|
+
self.pdf_filename = pdf_filename
|
|
4232
|
+
|
|
4233
|
+
|
|
3944
4234
|
class CreateSchemaElement(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
3945
4235
|
"""CreateSchemaElement.
|
|
3946
4236
|
|
|
@@ -4587,6 +4877,26 @@ class DataHealthDto(_serialization.Model):
|
|
|
4587
4877
|
self.machines = machines
|
|
4588
4878
|
|
|
4589
4879
|
|
|
4880
|
+
class DeleteMrbTemplateRequest(_serialization.Model):
|
|
4881
|
+
"""DeleteMrbTemplateRequest.
|
|
4882
|
+
|
|
4883
|
+
:ivar id:
|
|
4884
|
+
:vartype id: str
|
|
4885
|
+
"""
|
|
4886
|
+
|
|
4887
|
+
_attribute_map = {
|
|
4888
|
+
"id": {"key": "id", "type": "str"},
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4891
|
+
def __init__(self, *, id: Optional[str] = None, **kwargs: Any) -> None: # pylint: disable=redefined-builtin
|
|
4892
|
+
"""
|
|
4893
|
+
:keyword id:
|
|
4894
|
+
:paramtype id: str
|
|
4895
|
+
"""
|
|
4896
|
+
super().__init__(**kwargs)
|
|
4897
|
+
self.id = id
|
|
4898
|
+
|
|
4899
|
+
|
|
4590
4900
|
class DeletePartDrawingRequest(_serialization.Model):
|
|
4591
4901
|
"""DeletePartDrawingRequest.
|
|
4592
4902
|
|
|
@@ -4633,132 +4943,416 @@ class DeprecateToolRequest(_serialization.Model):
|
|
|
4633
4943
|
self.date = date
|
|
4634
4944
|
|
|
4635
4945
|
|
|
4636
|
-
class
|
|
4637
|
-
"""
|
|
4946
|
+
class DocumentRevisionApprovalDto(_serialization.Model):
|
|
4947
|
+
"""DocumentRevisionApprovalDto.
|
|
4638
4948
|
|
|
4639
4949
|
All required parameters must be populated in order to send to Azure.
|
|
4640
4950
|
|
|
4641
|
-
:ivar
|
|
4642
|
-
:vartype
|
|
4643
|
-
:ivar
|
|
4644
|
-
:vartype
|
|
4951
|
+
:ivar user: Required.
|
|
4952
|
+
:vartype user: ~ignos.api.client.models.UserDto
|
|
4953
|
+
:ivar approval_date: Required.
|
|
4954
|
+
:vartype approval_date: ~datetime.datetime
|
|
4645
4955
|
"""
|
|
4646
4956
|
|
|
4647
4957
|
_validation = {
|
|
4648
|
-
"
|
|
4649
|
-
"
|
|
4958
|
+
"user": {"required": True},
|
|
4959
|
+
"approval_date": {"required": True},
|
|
4650
4960
|
}
|
|
4651
4961
|
|
|
4652
4962
|
_attribute_map = {
|
|
4653
|
-
"
|
|
4654
|
-
"
|
|
4963
|
+
"user": {"key": "user", "type": "UserDto"},
|
|
4964
|
+
"approval_date": {"key": "approvalDate", "type": "iso-8601"},
|
|
4655
4965
|
}
|
|
4656
4966
|
|
|
4657
|
-
def __init__(self, *,
|
|
4967
|
+
def __init__(self, *, user: "_models.UserDto", approval_date: datetime.datetime, **kwargs: Any) -> None:
|
|
4658
4968
|
"""
|
|
4659
|
-
:keyword
|
|
4660
|
-
:paramtype
|
|
4661
|
-
:keyword
|
|
4662
|
-
:paramtype
|
|
4969
|
+
:keyword user: Required.
|
|
4970
|
+
:paramtype user: ~ignos.api.client.models.UserDto
|
|
4971
|
+
:keyword approval_date: Required.
|
|
4972
|
+
:paramtype approval_date: ~datetime.datetime
|
|
4663
4973
|
"""
|
|
4664
4974
|
super().__init__(**kwargs)
|
|
4665
|
-
self.
|
|
4666
|
-
self.
|
|
4975
|
+
self.user = user
|
|
4976
|
+
self.approval_date = approval_date
|
|
4667
4977
|
|
|
4668
4978
|
|
|
4669
|
-
class
|
|
4670
|
-
"""
|
|
4671
|
-
|
|
4672
|
-
All required parameters must be populated in order to send to Azure.
|
|
4979
|
+
class DocumentSubTypeDto(_serialization.Model):
|
|
4980
|
+
"""DocumentSubTypeDto.
|
|
4673
4981
|
|
|
4674
|
-
:ivar
|
|
4675
|
-
:vartype
|
|
4676
|
-
:ivar
|
|
4677
|
-
:vartype
|
|
4678
|
-
:ivar
|
|
4679
|
-
:vartype
|
|
4680
|
-
:ivar asset_id: Required.
|
|
4681
|
-
:vartype asset_id: int
|
|
4682
|
-
:ivar asset_external_id:
|
|
4683
|
-
:vartype asset_external_id: str
|
|
4684
|
-
:ivar phases:
|
|
4685
|
-
:vartype phases: int
|
|
4686
|
-
:ivar electrical_asset_id:
|
|
4687
|
-
:vartype electrical_asset_id: int
|
|
4688
|
-
:ivar electrical_asset_external_id:
|
|
4689
|
-
:vartype electrical_asset_external_id: str
|
|
4690
|
-
:ivar electrical_timeseries_id:
|
|
4691
|
-
:vartype electrical_timeseries_id: int
|
|
4692
|
-
:ivar electrical_timeseries_external_id:
|
|
4693
|
-
:vartype electrical_timeseries_external_id: str
|
|
4982
|
+
:ivar name:
|
|
4983
|
+
:vartype name: str
|
|
4984
|
+
:ivar description:
|
|
4985
|
+
:vartype description: str
|
|
4986
|
+
:ivar active:
|
|
4987
|
+
:vartype active: bool
|
|
4694
4988
|
"""
|
|
4695
4989
|
|
|
4696
|
-
_validation = {
|
|
4697
|
-
"id": {"required": True, "min_length": 1},
|
|
4698
|
-
"type_id": {"required": True, "min_length": 1},
|
|
4699
|
-
"asset_id": {"required": True},
|
|
4700
|
-
}
|
|
4701
|
-
|
|
4702
4990
|
_attribute_map = {
|
|
4703
|
-
"
|
|
4704
|
-
"
|
|
4705
|
-
"
|
|
4706
|
-
"asset_id": {"key": "assetId", "type": "int"},
|
|
4707
|
-
"asset_external_id": {"key": "assetExternalId", "type": "str"},
|
|
4708
|
-
"phases": {"key": "phases", "type": "int"},
|
|
4709
|
-
"electrical_asset_id": {"key": "electricalAssetId", "type": "int"},
|
|
4710
|
-
"electrical_asset_external_id": {"key": "electricalAssetExternalId", "type": "str"},
|
|
4711
|
-
"electrical_timeseries_id": {"key": "electricalTimeseriesId", "type": "int"},
|
|
4712
|
-
"electrical_timeseries_external_id": {"key": "electricalTimeseriesExternalId", "type": "str"},
|
|
4991
|
+
"name": {"key": "name", "type": "str"},
|
|
4992
|
+
"description": {"key": "description", "type": "str"},
|
|
4993
|
+
"active": {"key": "active", "type": "bool"},
|
|
4713
4994
|
}
|
|
4714
4995
|
|
|
4715
4996
|
def __init__(
|
|
4716
4997
|
self,
|
|
4717
4998
|
*,
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
serial_number: Optional[str] = None,
|
|
4722
|
-
asset_external_id: Optional[str] = None,
|
|
4723
|
-
phases: Optional[int] = None,
|
|
4724
|
-
electrical_asset_id: Optional[int] = None,
|
|
4725
|
-
electrical_asset_external_id: Optional[str] = None,
|
|
4726
|
-
electrical_timeseries_id: Optional[int] = None,
|
|
4727
|
-
electrical_timeseries_external_id: Optional[str] = None,
|
|
4999
|
+
name: Optional[str] = None,
|
|
5000
|
+
description: Optional[str] = None,
|
|
5001
|
+
active: Optional[bool] = None,
|
|
4728
5002
|
**kwargs: Any
|
|
4729
5003
|
) -> None:
|
|
4730
5004
|
"""
|
|
4731
|
-
:keyword
|
|
4732
|
-
:paramtype
|
|
4733
|
-
:keyword
|
|
4734
|
-
:paramtype
|
|
4735
|
-
:keyword
|
|
4736
|
-
:paramtype
|
|
4737
|
-
:keyword asset_id: Required.
|
|
4738
|
-
:paramtype asset_id: int
|
|
4739
|
-
:keyword asset_external_id:
|
|
4740
|
-
:paramtype asset_external_id: str
|
|
4741
|
-
:keyword phases:
|
|
4742
|
-
:paramtype phases: int
|
|
4743
|
-
:keyword electrical_asset_id:
|
|
4744
|
-
:paramtype electrical_asset_id: int
|
|
4745
|
-
:keyword electrical_asset_external_id:
|
|
4746
|
-
:paramtype electrical_asset_external_id: str
|
|
4747
|
-
:keyword electrical_timeseries_id:
|
|
4748
|
-
:paramtype electrical_timeseries_id: int
|
|
4749
|
-
:keyword electrical_timeseries_external_id:
|
|
4750
|
-
:paramtype electrical_timeseries_external_id: str
|
|
5005
|
+
:keyword name:
|
|
5006
|
+
:paramtype name: str
|
|
5007
|
+
:keyword description:
|
|
5008
|
+
:paramtype description: str
|
|
5009
|
+
:keyword active:
|
|
5010
|
+
:paramtype active: bool
|
|
4751
5011
|
"""
|
|
4752
5012
|
super().__init__(**kwargs)
|
|
4753
|
-
self.
|
|
4754
|
-
self.
|
|
4755
|
-
self.
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
5013
|
+
self.name = name
|
|
5014
|
+
self.description = description
|
|
5015
|
+
self.active = active
|
|
5016
|
+
|
|
5017
|
+
|
|
5018
|
+
class DocumentTagDto(_serialization.Model):
|
|
5019
|
+
"""DocumentTagDto.
|
|
5020
|
+
|
|
5021
|
+
:ivar key:
|
|
5022
|
+
:vartype key: str
|
|
5023
|
+
:ivar value:
|
|
5024
|
+
:vartype value: str
|
|
5025
|
+
"""
|
|
5026
|
+
|
|
5027
|
+
_attribute_map = {
|
|
5028
|
+
"key": {"key": "key", "type": "str"},
|
|
5029
|
+
"value": {"key": "value", "type": "str"},
|
|
5030
|
+
}
|
|
5031
|
+
|
|
5032
|
+
def __init__(self, *, key: Optional[str] = None, value: Optional[str] = None, **kwargs: Any) -> None:
|
|
5033
|
+
"""
|
|
5034
|
+
:keyword key:
|
|
5035
|
+
:paramtype key: str
|
|
5036
|
+
:keyword value:
|
|
5037
|
+
:paramtype value: str
|
|
5038
|
+
"""
|
|
5039
|
+
super().__init__(**kwargs)
|
|
5040
|
+
self.key = key
|
|
5041
|
+
self.value = value
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
class DocumentTypeDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5045
|
+
"""DocumentTypeDto.
|
|
5046
|
+
|
|
5047
|
+
All required parameters must be populated in order to send to Azure.
|
|
5048
|
+
|
|
5049
|
+
:ivar id:
|
|
5050
|
+
:vartype id: str
|
|
5051
|
+
:ivar name:
|
|
5052
|
+
:vartype name: str
|
|
5053
|
+
:ivar title:
|
|
5054
|
+
:vartype title: str
|
|
5055
|
+
:ivar desciption:
|
|
5056
|
+
:vartype desciption: str
|
|
5057
|
+
:ivar active:
|
|
5058
|
+
:vartype active: bool
|
|
5059
|
+
:ivar number_key: Known values are: "Multiple" and "SingleDocument".
|
|
5060
|
+
:vartype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
5061
|
+
:ivar document_number_pattern:
|
|
5062
|
+
:vartype document_number_pattern: str
|
|
5063
|
+
:ivar workflow_type: Known values are: "None", "CustomerProvided", "CustomerApproval", and
|
|
5064
|
+
"InternalWithFix".
|
|
5065
|
+
:vartype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
5066
|
+
:ivar file_type:
|
|
5067
|
+
:vartype file_type: str
|
|
5068
|
+
:ivar is_internal_document_type:
|
|
5069
|
+
:vartype is_internal_document_type: bool
|
|
5070
|
+
:ivar is_generated_document_type:
|
|
5071
|
+
:vartype is_generated_document_type: bool
|
|
5072
|
+
:ivar require_portable_file:
|
|
5073
|
+
:vartype require_portable_file: bool
|
|
5074
|
+
:ivar category: Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
5075
|
+
"Certificate".
|
|
5076
|
+
:vartype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
5077
|
+
:ivar can_assign_document_number:
|
|
5078
|
+
:vartype can_assign_document_number: bool
|
|
5079
|
+
:ivar import_tag:
|
|
5080
|
+
:vartype import_tag: str
|
|
5081
|
+
:ivar document_requirement_strategy: Known values are: "None", "WorkOrder", "Lot", "Drawing",
|
|
5082
|
+
and "CustomerOrderLine".
|
|
5083
|
+
:vartype document_requirement_strategy: str or
|
|
5084
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
5085
|
+
:ivar can_link_document:
|
|
5086
|
+
:vartype can_link_document: bool
|
|
5087
|
+
:ivar require_dc_approval:
|
|
5088
|
+
:vartype require_dc_approval: bool
|
|
5089
|
+
:ivar search_option: Known values are: "IncludeApproved", "IncludeDraft", and "Exclude".
|
|
5090
|
+
:vartype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
5091
|
+
:ivar can_have_certificate:
|
|
5092
|
+
:vartype can_have_certificate: bool
|
|
5093
|
+
:ivar used:
|
|
5094
|
+
:vartype used: bool
|
|
5095
|
+
:ivar sub_types: Required.
|
|
5096
|
+
:vartype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
5097
|
+
"""
|
|
5098
|
+
|
|
5099
|
+
_validation = {
|
|
5100
|
+
"sub_types": {"required": True},
|
|
5101
|
+
}
|
|
5102
|
+
|
|
5103
|
+
_attribute_map = {
|
|
5104
|
+
"id": {"key": "id", "type": "str"},
|
|
5105
|
+
"name": {"key": "name", "type": "str"},
|
|
5106
|
+
"title": {"key": "title", "type": "str"},
|
|
5107
|
+
"desciption": {"key": "desciption", "type": "str"},
|
|
5108
|
+
"active": {"key": "active", "type": "bool"},
|
|
5109
|
+
"number_key": {"key": "numberKey", "type": "str"},
|
|
5110
|
+
"document_number_pattern": {"key": "documentNumberPattern", "type": "str"},
|
|
5111
|
+
"workflow_type": {"key": "workflowType", "type": "str"},
|
|
5112
|
+
"file_type": {"key": "fileType", "type": "str"},
|
|
5113
|
+
"is_internal_document_type": {"key": "isInternalDocumentType", "type": "bool"},
|
|
5114
|
+
"is_generated_document_type": {"key": "isGeneratedDocumentType", "type": "bool"},
|
|
5115
|
+
"require_portable_file": {"key": "requirePortableFile", "type": "bool"},
|
|
5116
|
+
"category": {"key": "category", "type": "str"},
|
|
5117
|
+
"can_assign_document_number": {"key": "canAssignDocumentNumber", "type": "bool"},
|
|
5118
|
+
"import_tag": {"key": "importTag", "type": "str"},
|
|
5119
|
+
"document_requirement_strategy": {"key": "documentRequirementStrategy", "type": "str"},
|
|
5120
|
+
"can_link_document": {"key": "canLinkDocument", "type": "bool"},
|
|
5121
|
+
"require_dc_approval": {"key": "requireDCApproval", "type": "bool"},
|
|
5122
|
+
"search_option": {"key": "searchOption", "type": "str"},
|
|
5123
|
+
"can_have_certificate": {"key": "canHaveCertificate", "type": "bool"},
|
|
5124
|
+
"used": {"key": "used", "type": "bool"},
|
|
5125
|
+
"sub_types": {"key": "subTypes", "type": "[DocumentSubTypeDto]"},
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
def __init__(
|
|
5129
|
+
self,
|
|
5130
|
+
*,
|
|
5131
|
+
sub_types: List["_models.DocumentSubTypeDto"],
|
|
5132
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
5133
|
+
name: Optional[str] = None,
|
|
5134
|
+
title: Optional[str] = None,
|
|
5135
|
+
desciption: Optional[str] = None,
|
|
5136
|
+
active: Optional[bool] = None,
|
|
5137
|
+
number_key: Optional[Union[str, "_models.DocumentNumberKey"]] = None,
|
|
5138
|
+
document_number_pattern: Optional[str] = None,
|
|
5139
|
+
workflow_type: Optional[Union[str, "_models.DocumentWorkflowType"]] = None,
|
|
5140
|
+
file_type: Optional[str] = None,
|
|
5141
|
+
is_internal_document_type: Optional[bool] = None,
|
|
5142
|
+
is_generated_document_type: Optional[bool] = None,
|
|
5143
|
+
require_portable_file: Optional[bool] = None,
|
|
5144
|
+
category: Optional[Union[str, "_models.DocumentTypeCategory"]] = None,
|
|
5145
|
+
can_assign_document_number: Optional[bool] = None,
|
|
5146
|
+
import_tag: Optional[str] = None,
|
|
5147
|
+
document_requirement_strategy: Optional[Union[str, "_models.DocumentRequirementStrategy"]] = None,
|
|
5148
|
+
can_link_document: Optional[bool] = None,
|
|
5149
|
+
require_dc_approval: Optional[bool] = None,
|
|
5150
|
+
search_option: Optional[Union[str, "_models.DocumentTypeSearchOption"]] = None,
|
|
5151
|
+
can_have_certificate: Optional[bool] = None,
|
|
5152
|
+
used: Optional[bool] = None,
|
|
5153
|
+
**kwargs: Any
|
|
5154
|
+
) -> None:
|
|
5155
|
+
"""
|
|
5156
|
+
:keyword id:
|
|
5157
|
+
:paramtype id: str
|
|
5158
|
+
:keyword name:
|
|
5159
|
+
:paramtype name: str
|
|
5160
|
+
:keyword title:
|
|
5161
|
+
:paramtype title: str
|
|
5162
|
+
:keyword desciption:
|
|
5163
|
+
:paramtype desciption: str
|
|
5164
|
+
:keyword active:
|
|
5165
|
+
:paramtype active: bool
|
|
5166
|
+
:keyword number_key: Known values are: "Multiple" and "SingleDocument".
|
|
5167
|
+
:paramtype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
5168
|
+
:keyword document_number_pattern:
|
|
5169
|
+
:paramtype document_number_pattern: str
|
|
5170
|
+
:keyword workflow_type: Known values are: "None", "CustomerProvided", "CustomerApproval", and
|
|
5171
|
+
"InternalWithFix".
|
|
5172
|
+
:paramtype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
5173
|
+
:keyword file_type:
|
|
5174
|
+
:paramtype file_type: str
|
|
5175
|
+
:keyword is_internal_document_type:
|
|
5176
|
+
:paramtype is_internal_document_type: bool
|
|
5177
|
+
:keyword is_generated_document_type:
|
|
5178
|
+
:paramtype is_generated_document_type: bool
|
|
5179
|
+
:keyword require_portable_file:
|
|
5180
|
+
:paramtype require_portable_file: bool
|
|
5181
|
+
:keyword category: Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
5182
|
+
"Certificate".
|
|
5183
|
+
:paramtype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
5184
|
+
:keyword can_assign_document_number:
|
|
5185
|
+
:paramtype can_assign_document_number: bool
|
|
5186
|
+
:keyword import_tag:
|
|
5187
|
+
:paramtype import_tag: str
|
|
5188
|
+
:keyword document_requirement_strategy: Known values are: "None", "WorkOrder", "Lot",
|
|
5189
|
+
"Drawing", and "CustomerOrderLine".
|
|
5190
|
+
:paramtype document_requirement_strategy: str or
|
|
5191
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
5192
|
+
:keyword can_link_document:
|
|
5193
|
+
:paramtype can_link_document: bool
|
|
5194
|
+
:keyword require_dc_approval:
|
|
5195
|
+
:paramtype require_dc_approval: bool
|
|
5196
|
+
:keyword search_option: Known values are: "IncludeApproved", "IncludeDraft", and "Exclude".
|
|
5197
|
+
:paramtype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
5198
|
+
:keyword can_have_certificate:
|
|
5199
|
+
:paramtype can_have_certificate: bool
|
|
5200
|
+
:keyword used:
|
|
5201
|
+
:paramtype used: bool
|
|
5202
|
+
:keyword sub_types: Required.
|
|
5203
|
+
:paramtype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
5204
|
+
"""
|
|
5205
|
+
super().__init__(**kwargs)
|
|
5206
|
+
self.id = id
|
|
5207
|
+
self.name = name
|
|
5208
|
+
self.title = title
|
|
5209
|
+
self.desciption = desciption
|
|
5210
|
+
self.active = active
|
|
5211
|
+
self.number_key = number_key
|
|
5212
|
+
self.document_number_pattern = document_number_pattern
|
|
5213
|
+
self.workflow_type = workflow_type
|
|
5214
|
+
self.file_type = file_type
|
|
5215
|
+
self.is_internal_document_type = is_internal_document_type
|
|
5216
|
+
self.is_generated_document_type = is_generated_document_type
|
|
5217
|
+
self.require_portable_file = require_portable_file
|
|
5218
|
+
self.category = category
|
|
5219
|
+
self.can_assign_document_number = can_assign_document_number
|
|
5220
|
+
self.import_tag = import_tag
|
|
5221
|
+
self.document_requirement_strategy = document_requirement_strategy
|
|
5222
|
+
self.can_link_document = can_link_document
|
|
5223
|
+
self.require_dc_approval = require_dc_approval
|
|
5224
|
+
self.search_option = search_option
|
|
5225
|
+
self.can_have_certificate = can_have_certificate
|
|
5226
|
+
self.used = used
|
|
5227
|
+
self.sub_types = sub_types
|
|
5228
|
+
|
|
5229
|
+
|
|
5230
|
+
class DownloadDto(_serialization.Model):
|
|
5231
|
+
"""DownloadDto.
|
|
5232
|
+
|
|
5233
|
+
All required parameters must be populated in order to send to Azure.
|
|
5234
|
+
|
|
5235
|
+
:ivar url: Required.
|
|
5236
|
+
:vartype url: str
|
|
5237
|
+
:ivar expires: Required.
|
|
5238
|
+
:vartype expires: ~datetime.datetime
|
|
5239
|
+
"""
|
|
5240
|
+
|
|
5241
|
+
_validation = {
|
|
5242
|
+
"url": {"required": True, "min_length": 1},
|
|
5243
|
+
"expires": {"required": True},
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
_attribute_map = {
|
|
5247
|
+
"url": {"key": "url", "type": "str"},
|
|
5248
|
+
"expires": {"key": "expires", "type": "iso-8601"},
|
|
5249
|
+
}
|
|
5250
|
+
|
|
5251
|
+
def __init__(self, *, url: str, expires: datetime.datetime, **kwargs: Any) -> None:
|
|
5252
|
+
"""
|
|
5253
|
+
:keyword url: Required.
|
|
5254
|
+
:paramtype url: str
|
|
5255
|
+
:keyword expires: Required.
|
|
5256
|
+
:paramtype expires: ~datetime.datetime
|
|
5257
|
+
"""
|
|
5258
|
+
super().__init__(**kwargs)
|
|
5259
|
+
self.url = url
|
|
5260
|
+
self.expires = expires
|
|
5261
|
+
|
|
5262
|
+
|
|
5263
|
+
class ElectricalIotConfigDto(_serialization.Model):
|
|
5264
|
+
"""ElectricalIotConfigDto.
|
|
5265
|
+
|
|
5266
|
+
All required parameters must be populated in order to send to Azure.
|
|
5267
|
+
|
|
5268
|
+
:ivar id: Required.
|
|
5269
|
+
:vartype id: str
|
|
5270
|
+
:ivar type_id: Required.
|
|
5271
|
+
:vartype type_id: str
|
|
5272
|
+
:ivar serial_number:
|
|
5273
|
+
:vartype serial_number: str
|
|
5274
|
+
:ivar asset_id: Required.
|
|
5275
|
+
:vartype asset_id: int
|
|
5276
|
+
:ivar asset_external_id:
|
|
5277
|
+
:vartype asset_external_id: str
|
|
5278
|
+
:ivar phases:
|
|
5279
|
+
:vartype phases: int
|
|
5280
|
+
:ivar electrical_asset_id:
|
|
5281
|
+
:vartype electrical_asset_id: int
|
|
5282
|
+
:ivar electrical_asset_external_id:
|
|
5283
|
+
:vartype electrical_asset_external_id: str
|
|
5284
|
+
:ivar electrical_timeseries_id:
|
|
5285
|
+
:vartype electrical_timeseries_id: int
|
|
5286
|
+
:ivar electrical_timeseries_external_id:
|
|
5287
|
+
:vartype electrical_timeseries_external_id: str
|
|
5288
|
+
"""
|
|
5289
|
+
|
|
5290
|
+
_validation = {
|
|
5291
|
+
"id": {"required": True, "min_length": 1},
|
|
5292
|
+
"type_id": {"required": True, "min_length": 1},
|
|
5293
|
+
"asset_id": {"required": True},
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
_attribute_map = {
|
|
5297
|
+
"id": {"key": "id", "type": "str"},
|
|
5298
|
+
"type_id": {"key": "typeId", "type": "str"},
|
|
5299
|
+
"serial_number": {"key": "serialNumber", "type": "str"},
|
|
5300
|
+
"asset_id": {"key": "assetId", "type": "int"},
|
|
5301
|
+
"asset_external_id": {"key": "assetExternalId", "type": "str"},
|
|
5302
|
+
"phases": {"key": "phases", "type": "int"},
|
|
5303
|
+
"electrical_asset_id": {"key": "electricalAssetId", "type": "int"},
|
|
5304
|
+
"electrical_asset_external_id": {"key": "electricalAssetExternalId", "type": "str"},
|
|
5305
|
+
"electrical_timeseries_id": {"key": "electricalTimeseriesId", "type": "int"},
|
|
5306
|
+
"electrical_timeseries_external_id": {"key": "electricalTimeseriesExternalId", "type": "str"},
|
|
5307
|
+
}
|
|
5308
|
+
|
|
5309
|
+
def __init__(
|
|
5310
|
+
self,
|
|
5311
|
+
*,
|
|
5312
|
+
id: str, # pylint: disable=redefined-builtin
|
|
5313
|
+
type_id: str,
|
|
5314
|
+
asset_id: int,
|
|
5315
|
+
serial_number: Optional[str] = None,
|
|
5316
|
+
asset_external_id: Optional[str] = None,
|
|
5317
|
+
phases: Optional[int] = None,
|
|
5318
|
+
electrical_asset_id: Optional[int] = None,
|
|
5319
|
+
electrical_asset_external_id: Optional[str] = None,
|
|
5320
|
+
electrical_timeseries_id: Optional[int] = None,
|
|
5321
|
+
electrical_timeseries_external_id: Optional[str] = None,
|
|
5322
|
+
**kwargs: Any
|
|
5323
|
+
) -> None:
|
|
5324
|
+
"""
|
|
5325
|
+
:keyword id: Required.
|
|
5326
|
+
:paramtype id: str
|
|
5327
|
+
:keyword type_id: Required.
|
|
5328
|
+
:paramtype type_id: str
|
|
5329
|
+
:keyword serial_number:
|
|
5330
|
+
:paramtype serial_number: str
|
|
5331
|
+
:keyword asset_id: Required.
|
|
5332
|
+
:paramtype asset_id: int
|
|
5333
|
+
:keyword asset_external_id:
|
|
5334
|
+
:paramtype asset_external_id: str
|
|
5335
|
+
:keyword phases:
|
|
5336
|
+
:paramtype phases: int
|
|
5337
|
+
:keyword electrical_asset_id:
|
|
5338
|
+
:paramtype electrical_asset_id: int
|
|
5339
|
+
:keyword electrical_asset_external_id:
|
|
5340
|
+
:paramtype electrical_asset_external_id: str
|
|
5341
|
+
:keyword electrical_timeseries_id:
|
|
5342
|
+
:paramtype electrical_timeseries_id: int
|
|
5343
|
+
:keyword electrical_timeseries_external_id:
|
|
5344
|
+
:paramtype electrical_timeseries_external_id: str
|
|
5345
|
+
"""
|
|
5346
|
+
super().__init__(**kwargs)
|
|
5347
|
+
self.id = id
|
|
5348
|
+
self.type_id = type_id
|
|
5349
|
+
self.serial_number = serial_number
|
|
5350
|
+
self.asset_id = asset_id
|
|
5351
|
+
self.asset_external_id = asset_external_id
|
|
5352
|
+
self.phases = phases
|
|
5353
|
+
self.electrical_asset_id = electrical_asset_id
|
|
5354
|
+
self.electrical_asset_external_id = electrical_asset_external_id
|
|
5355
|
+
self.electrical_timeseries_id = electrical_timeseries_id
|
|
4762
5356
|
self.electrical_timeseries_external_id = electrical_timeseries_external_id
|
|
4763
5357
|
|
|
4764
5358
|
|
|
@@ -4769,11 +5363,17 @@ class EmployeeDto(_serialization.Model):
|
|
|
4769
5363
|
:vartype id: str
|
|
4770
5364
|
:ivar name:
|
|
4771
5365
|
:vartype name: str
|
|
5366
|
+
:ivar upn:
|
|
5367
|
+
:vartype upn: str
|
|
5368
|
+
:ivar azure_ad_object_id:
|
|
5369
|
+
:vartype azure_ad_object_id: str
|
|
4772
5370
|
"""
|
|
4773
5371
|
|
|
4774
5372
|
_attribute_map = {
|
|
4775
5373
|
"id": {"key": "id", "type": "str"},
|
|
4776
5374
|
"name": {"key": "name", "type": "str"},
|
|
5375
|
+
"upn": {"key": "upn", "type": "str"},
|
|
5376
|
+
"azure_ad_object_id": {"key": "azureAdObjectId", "type": "str"},
|
|
4777
5377
|
}
|
|
4778
5378
|
|
|
4779
5379
|
def __init__(
|
|
@@ -4781,6 +5381,8 @@ class EmployeeDto(_serialization.Model):
|
|
|
4781
5381
|
*,
|
|
4782
5382
|
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
4783
5383
|
name: Optional[str] = None,
|
|
5384
|
+
upn: Optional[str] = None,
|
|
5385
|
+
azure_ad_object_id: Optional[str] = None,
|
|
4784
5386
|
**kwargs: Any
|
|
4785
5387
|
) -> None:
|
|
4786
5388
|
"""
|
|
@@ -4788,10 +5390,16 @@ class EmployeeDto(_serialization.Model):
|
|
|
4788
5390
|
:paramtype id: str
|
|
4789
5391
|
:keyword name:
|
|
4790
5392
|
:paramtype name: str
|
|
5393
|
+
:keyword upn:
|
|
5394
|
+
:paramtype upn: str
|
|
5395
|
+
:keyword azure_ad_object_id:
|
|
5396
|
+
:paramtype azure_ad_object_id: str
|
|
4791
5397
|
"""
|
|
4792
5398
|
super().__init__(**kwargs)
|
|
4793
5399
|
self.id = id
|
|
4794
5400
|
self.name = name
|
|
5401
|
+
self.upn = upn
|
|
5402
|
+
self.azure_ad_object_id = azure_ad_object_id
|
|
4795
5403
|
|
|
4796
5404
|
|
|
4797
5405
|
class ExportDimensionReportRequest(_serialization.Model):
|
|
@@ -5302,6 +5910,241 @@ class ImageFileDto(_serialization.Model):
|
|
|
5302
5910
|
self.thumbnail_url = thumbnail_url
|
|
5303
5911
|
|
|
5304
5912
|
|
|
5913
|
+
class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5914
|
+
"""ImportDocument.
|
|
5915
|
+
|
|
5916
|
+
All required parameters must be populated in order to send to Azure.
|
|
5917
|
+
|
|
5918
|
+
:ivar document_type: Required.
|
|
5919
|
+
:vartype document_type: str
|
|
5920
|
+
:ivar document_sub_type:
|
|
5921
|
+
:vartype document_sub_type: str
|
|
5922
|
+
:ivar document_number: Required.
|
|
5923
|
+
:vartype document_number: str
|
|
5924
|
+
:ivar customer_document_number:
|
|
5925
|
+
:vartype customer_document_number: str
|
|
5926
|
+
:ivar custom_document_number:
|
|
5927
|
+
:vartype custom_document_number: str
|
|
5928
|
+
:ivar supplier_document_number:
|
|
5929
|
+
:vartype supplier_document_number: str
|
|
5930
|
+
:ivar title:
|
|
5931
|
+
:vartype title: str
|
|
5932
|
+
:ivar comment:
|
|
5933
|
+
:vartype comment: str
|
|
5934
|
+
:ivar tags: Required.
|
|
5935
|
+
:vartype tags: list[~ignos.api.client.models.DocumentTagDto]
|
|
5936
|
+
:ivar sequences: Required.
|
|
5937
|
+
:vartype sequences: list[str]
|
|
5938
|
+
:ivar internal: Required.
|
|
5939
|
+
:vartype internal: bool
|
|
5940
|
+
:ivar order_lines: Required.
|
|
5941
|
+
:vartype order_lines: list[int]
|
|
5942
|
+
:ivar lots: Required.
|
|
5943
|
+
:vartype lots: list[str]
|
|
5944
|
+
:ivar front_page_document_id:
|
|
5945
|
+
:vartype front_page_document_id: str
|
|
5946
|
+
:ivar document_source: Required. Known values are: 0, 1, 2, and 3.
|
|
5947
|
+
:vartype document_source: int or ~ignos.api.client.models.DocumentSource
|
|
5948
|
+
:ivar revisions: Required.
|
|
5949
|
+
:vartype revisions: list[~ignos.api.client.models.ImportDocumentRevisionDto]
|
|
5950
|
+
"""
|
|
5951
|
+
|
|
5952
|
+
_validation = {
|
|
5953
|
+
"document_type": {"required": True, "min_length": 1},
|
|
5954
|
+
"document_number": {"required": True, "min_length": 1},
|
|
5955
|
+
"tags": {"required": True},
|
|
5956
|
+
"sequences": {"required": True},
|
|
5957
|
+
"internal": {"required": True},
|
|
5958
|
+
"order_lines": {"required": True},
|
|
5959
|
+
"lots": {"required": True},
|
|
5960
|
+
"document_source": {"required": True},
|
|
5961
|
+
"revisions": {"required": True},
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
_attribute_map = {
|
|
5965
|
+
"document_type": {"key": "documentType", "type": "str"},
|
|
5966
|
+
"document_sub_type": {"key": "documentSubType", "type": "str"},
|
|
5967
|
+
"document_number": {"key": "documentNumber", "type": "str"},
|
|
5968
|
+
"customer_document_number": {"key": "customerDocumentNumber", "type": "str"},
|
|
5969
|
+
"custom_document_number": {"key": "customDocumentNumber", "type": "str"},
|
|
5970
|
+
"supplier_document_number": {"key": "supplierDocumentNumber", "type": "str"},
|
|
5971
|
+
"title": {"key": "title", "type": "str"},
|
|
5972
|
+
"comment": {"key": "comment", "type": "str"},
|
|
5973
|
+
"tags": {"key": "tags", "type": "[DocumentTagDto]"},
|
|
5974
|
+
"sequences": {"key": "sequences", "type": "[str]"},
|
|
5975
|
+
"internal": {"key": "internal", "type": "bool"},
|
|
5976
|
+
"order_lines": {"key": "orderLines", "type": "[int]"},
|
|
5977
|
+
"lots": {"key": "lots", "type": "[str]"},
|
|
5978
|
+
"front_page_document_id": {"key": "frontPageDocumentId", "type": "str"},
|
|
5979
|
+
"document_source": {"key": "documentSource", "type": "int"},
|
|
5980
|
+
"revisions": {"key": "revisions", "type": "[ImportDocumentRevisionDto]"},
|
|
5981
|
+
}
|
|
5982
|
+
|
|
5983
|
+
def __init__(
|
|
5984
|
+
self,
|
|
5985
|
+
*,
|
|
5986
|
+
document_type: str,
|
|
5987
|
+
document_number: str,
|
|
5988
|
+
tags: List["_models.DocumentTagDto"],
|
|
5989
|
+
sequences: List[str],
|
|
5990
|
+
internal: bool,
|
|
5991
|
+
order_lines: List[int],
|
|
5992
|
+
lots: List[str],
|
|
5993
|
+
document_source: Union[int, "_models.DocumentSource"],
|
|
5994
|
+
revisions: List["_models.ImportDocumentRevisionDto"],
|
|
5995
|
+
document_sub_type: Optional[str] = None,
|
|
5996
|
+
customer_document_number: Optional[str] = None,
|
|
5997
|
+
custom_document_number: Optional[str] = None,
|
|
5998
|
+
supplier_document_number: Optional[str] = None,
|
|
5999
|
+
title: Optional[str] = None,
|
|
6000
|
+
comment: Optional[str] = None,
|
|
6001
|
+
front_page_document_id: Optional[str] = None,
|
|
6002
|
+
**kwargs: Any
|
|
6003
|
+
) -> None:
|
|
6004
|
+
"""
|
|
6005
|
+
:keyword document_type: Required.
|
|
6006
|
+
:paramtype document_type: str
|
|
6007
|
+
:keyword document_sub_type:
|
|
6008
|
+
:paramtype document_sub_type: str
|
|
6009
|
+
:keyword document_number: Required.
|
|
6010
|
+
:paramtype document_number: str
|
|
6011
|
+
:keyword customer_document_number:
|
|
6012
|
+
:paramtype customer_document_number: str
|
|
6013
|
+
:keyword custom_document_number:
|
|
6014
|
+
:paramtype custom_document_number: str
|
|
6015
|
+
:keyword supplier_document_number:
|
|
6016
|
+
:paramtype supplier_document_number: str
|
|
6017
|
+
:keyword title:
|
|
6018
|
+
:paramtype title: str
|
|
6019
|
+
:keyword comment:
|
|
6020
|
+
:paramtype comment: str
|
|
6021
|
+
:keyword tags: Required.
|
|
6022
|
+
:paramtype tags: list[~ignos.api.client.models.DocumentTagDto]
|
|
6023
|
+
:keyword sequences: Required.
|
|
6024
|
+
:paramtype sequences: list[str]
|
|
6025
|
+
:keyword internal: Required.
|
|
6026
|
+
:paramtype internal: bool
|
|
6027
|
+
:keyword order_lines: Required.
|
|
6028
|
+
:paramtype order_lines: list[int]
|
|
6029
|
+
:keyword lots: Required.
|
|
6030
|
+
:paramtype lots: list[str]
|
|
6031
|
+
:keyword front_page_document_id:
|
|
6032
|
+
:paramtype front_page_document_id: str
|
|
6033
|
+
:keyword document_source: Required. Known values are: 0, 1, 2, and 3.
|
|
6034
|
+
:paramtype document_source: int or ~ignos.api.client.models.DocumentSource
|
|
6035
|
+
:keyword revisions: Required.
|
|
6036
|
+
:paramtype revisions: list[~ignos.api.client.models.ImportDocumentRevisionDto]
|
|
6037
|
+
"""
|
|
6038
|
+
super().__init__(**kwargs)
|
|
6039
|
+
self.document_type = document_type
|
|
6040
|
+
self.document_sub_type = document_sub_type
|
|
6041
|
+
self.document_number = document_number
|
|
6042
|
+
self.customer_document_number = customer_document_number
|
|
6043
|
+
self.custom_document_number = custom_document_number
|
|
6044
|
+
self.supplier_document_number = supplier_document_number
|
|
6045
|
+
self.title = title
|
|
6046
|
+
self.comment = comment
|
|
6047
|
+
self.tags = tags
|
|
6048
|
+
self.sequences = sequences
|
|
6049
|
+
self.internal = internal
|
|
6050
|
+
self.order_lines = order_lines
|
|
6051
|
+
self.lots = lots
|
|
6052
|
+
self.front_page_document_id = front_page_document_id
|
|
6053
|
+
self.document_source = document_source
|
|
6054
|
+
self.revisions = revisions
|
|
6055
|
+
|
|
6056
|
+
|
|
6057
|
+
class ImportDocumentRevisionDto(_serialization.Model):
|
|
6058
|
+
"""ImportDocumentRevisionDto.
|
|
6059
|
+
|
|
6060
|
+
All required parameters must be populated in order to send to Azure.
|
|
6061
|
+
|
|
6062
|
+
:ivar revistion_id: Required.
|
|
6063
|
+
:vartype revistion_id: int
|
|
6064
|
+
:ivar revision:
|
|
6065
|
+
:vartype revision: str
|
|
6066
|
+
:ivar status: Required. Known values are: 0, 1, 2, 3, 10, and 90.
|
|
6067
|
+
:vartype status: int or ~ignos.api.client.models.DocumentStatus
|
|
6068
|
+
:ivar status_date: Required.
|
|
6069
|
+
:vartype status_date: ~datetime.datetime
|
|
6070
|
+
:ivar description:
|
|
6071
|
+
:vartype description: str
|
|
6072
|
+
:ivar import_reference:
|
|
6073
|
+
:vartype import_reference: str
|
|
6074
|
+
:ivar signed_by_document_id:
|
|
6075
|
+
:vartype signed_by_document_id: str
|
|
6076
|
+
:ivar extensions: Required.
|
|
6077
|
+
:vartype extensions: list[str]
|
|
6078
|
+
:ivar approvals: Required.
|
|
6079
|
+
:vartype approvals: list[~ignos.api.client.models.DocumentRevisionApprovalDto]
|
|
6080
|
+
"""
|
|
6081
|
+
|
|
6082
|
+
_validation = {
|
|
6083
|
+
"revistion_id": {"required": True},
|
|
6084
|
+
"status": {"required": True},
|
|
6085
|
+
"status_date": {"required": True},
|
|
6086
|
+
"extensions": {"required": True},
|
|
6087
|
+
"approvals": {"required": True},
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
_attribute_map = {
|
|
6091
|
+
"revistion_id": {"key": "revistionId", "type": "int"},
|
|
6092
|
+
"revision": {"key": "revision", "type": "str"},
|
|
6093
|
+
"status": {"key": "status", "type": "int"},
|
|
6094
|
+
"status_date": {"key": "statusDate", "type": "iso-8601"},
|
|
6095
|
+
"description": {"key": "description", "type": "str"},
|
|
6096
|
+
"import_reference": {"key": "importReference", "type": "str"},
|
|
6097
|
+
"signed_by_document_id": {"key": "signedByDocumentId", "type": "str"},
|
|
6098
|
+
"extensions": {"key": "extensions", "type": "[str]"},
|
|
6099
|
+
"approvals": {"key": "approvals", "type": "[DocumentRevisionApprovalDto]"},
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
def __init__(
|
|
6103
|
+
self,
|
|
6104
|
+
*,
|
|
6105
|
+
revistion_id: int,
|
|
6106
|
+
status: Union[int, "_models.DocumentStatus"],
|
|
6107
|
+
status_date: datetime.datetime,
|
|
6108
|
+
extensions: List[str],
|
|
6109
|
+
approvals: List["_models.DocumentRevisionApprovalDto"],
|
|
6110
|
+
revision: Optional[str] = None,
|
|
6111
|
+
description: Optional[str] = None,
|
|
6112
|
+
import_reference: Optional[str] = None,
|
|
6113
|
+
signed_by_document_id: Optional[str] = None,
|
|
6114
|
+
**kwargs: Any
|
|
6115
|
+
) -> None:
|
|
6116
|
+
"""
|
|
6117
|
+
:keyword revistion_id: Required.
|
|
6118
|
+
:paramtype revistion_id: int
|
|
6119
|
+
:keyword revision:
|
|
6120
|
+
:paramtype revision: str
|
|
6121
|
+
:keyword status: Required. Known values are: 0, 1, 2, 3, 10, and 90.
|
|
6122
|
+
:paramtype status: int or ~ignos.api.client.models.DocumentStatus
|
|
6123
|
+
:keyword status_date: Required.
|
|
6124
|
+
:paramtype status_date: ~datetime.datetime
|
|
6125
|
+
:keyword description:
|
|
6126
|
+
:paramtype description: str
|
|
6127
|
+
:keyword import_reference:
|
|
6128
|
+
:paramtype import_reference: str
|
|
6129
|
+
:keyword signed_by_document_id:
|
|
6130
|
+
:paramtype signed_by_document_id: str
|
|
6131
|
+
:keyword extensions: Required.
|
|
6132
|
+
:paramtype extensions: list[str]
|
|
6133
|
+
:keyword approvals: Required.
|
|
6134
|
+
:paramtype approvals: list[~ignos.api.client.models.DocumentRevisionApprovalDto]
|
|
6135
|
+
"""
|
|
6136
|
+
super().__init__(**kwargs)
|
|
6137
|
+
self.revistion_id = revistion_id
|
|
6138
|
+
self.revision = revision
|
|
6139
|
+
self.status = status
|
|
6140
|
+
self.status_date = status_date
|
|
6141
|
+
self.description = description
|
|
6142
|
+
self.import_reference = import_reference
|
|
6143
|
+
self.signed_by_document_id = signed_by_document_id
|
|
6144
|
+
self.extensions = extensions
|
|
6145
|
+
self.approvals = approvals
|
|
6146
|
+
|
|
6147
|
+
|
|
5305
6148
|
class ImportMeasurementFormInstanceRequest(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5306
6149
|
"""ImportMeasurementFormInstanceRequest.
|
|
5307
6150
|
|
|
@@ -7207,6 +8050,8 @@ class MachineDto(_serialization.Model):
|
|
|
7207
8050
|
:vartype description: str
|
|
7208
8051
|
:ivar type:
|
|
7209
8052
|
:vartype type: str
|
|
8053
|
+
:ivar work_order_asset_external_id:
|
|
8054
|
+
:vartype work_order_asset_external_id: str
|
|
7210
8055
|
"""
|
|
7211
8056
|
|
|
7212
8057
|
_validation = {
|
|
@@ -7221,6 +8066,7 @@ class MachineDto(_serialization.Model):
|
|
|
7221
8066
|
"name": {"key": "name", "type": "str"},
|
|
7222
8067
|
"description": {"key": "description", "type": "str"},
|
|
7223
8068
|
"type": {"key": "type", "type": "str"},
|
|
8069
|
+
"work_order_asset_external_id": {"key": "workOrderAssetExternalId", "type": "str"},
|
|
7224
8070
|
}
|
|
7225
8071
|
|
|
7226
8072
|
def __init__(
|
|
@@ -7231,6 +8077,7 @@ class MachineDto(_serialization.Model):
|
|
|
7231
8077
|
name: str,
|
|
7232
8078
|
description: Optional[str] = None,
|
|
7233
8079
|
type: Optional[str] = None,
|
|
8080
|
+
work_order_asset_external_id: Optional[str] = None,
|
|
7234
8081
|
**kwargs: Any
|
|
7235
8082
|
) -> None:
|
|
7236
8083
|
"""
|
|
@@ -7244,6 +8091,8 @@ class MachineDto(_serialization.Model):
|
|
|
7244
8091
|
:paramtype description: str
|
|
7245
8092
|
:keyword type:
|
|
7246
8093
|
:paramtype type: str
|
|
8094
|
+
:keyword work_order_asset_external_id:
|
|
8095
|
+
:paramtype work_order_asset_external_id: str
|
|
7247
8096
|
"""
|
|
7248
8097
|
super().__init__(**kwargs)
|
|
7249
8098
|
self.id = id
|
|
@@ -7251,6 +8100,7 @@ class MachineDto(_serialization.Model):
|
|
|
7251
8100
|
self.name = name
|
|
7252
8101
|
self.description = description
|
|
7253
8102
|
self.type = type
|
|
8103
|
+
self.work_order_asset_external_id = work_order_asset_external_id
|
|
7254
8104
|
|
|
7255
8105
|
|
|
7256
8106
|
class MachineGroupDto(_serialization.Model):
|
|
@@ -7896,6 +8746,109 @@ class ManufacturerDto(_serialization.Model):
|
|
|
7896
8746
|
self.name = name
|
|
7897
8747
|
|
|
7898
8748
|
|
|
8749
|
+
class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
8750
|
+
"""MaterialConsumptionDto.
|
|
8751
|
+
|
|
8752
|
+
All required parameters must be populated in order to send to Azure.
|
|
8753
|
+
|
|
8754
|
+
:ivar operation:
|
|
8755
|
+
:vartype operation: int
|
|
8756
|
+
:ivar material_line:
|
|
8757
|
+
:vartype material_line: int
|
|
8758
|
+
:ivar material: Required.
|
|
8759
|
+
:vartype material: ~ignos.api.client.models.PartDto
|
|
8760
|
+
:ivar quantity: Required.
|
|
8761
|
+
:vartype quantity: float
|
|
8762
|
+
:ivar unit:
|
|
8763
|
+
:vartype unit: str
|
|
8764
|
+
:ivar trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
8765
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
8766
|
+
:ivar lot:
|
|
8767
|
+
:vartype lot: str
|
|
8768
|
+
:ivar heat:
|
|
8769
|
+
:vartype heat: str
|
|
8770
|
+
:ivar supplier_id:
|
|
8771
|
+
:vartype supplier_id: str
|
|
8772
|
+
:ivar procurement_order:
|
|
8773
|
+
:vartype procurement_order: str
|
|
8774
|
+
:ivar procurement_order_line:
|
|
8775
|
+
:vartype procurement_order_line: int
|
|
8776
|
+
"""
|
|
8777
|
+
|
|
8778
|
+
_validation = {
|
|
8779
|
+
"material": {"required": True},
|
|
8780
|
+
"quantity": {"required": True},
|
|
8781
|
+
"trace_type": {"required": True},
|
|
8782
|
+
}
|
|
8783
|
+
|
|
8784
|
+
_attribute_map = {
|
|
8785
|
+
"operation": {"key": "operation", "type": "int"},
|
|
8786
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
8787
|
+
"material": {"key": "material", "type": "PartDto"},
|
|
8788
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
8789
|
+
"unit": {"key": "unit", "type": "str"},
|
|
8790
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
8791
|
+
"lot": {"key": "lot", "type": "str"},
|
|
8792
|
+
"heat": {"key": "heat", "type": "str"},
|
|
8793
|
+
"supplier_id": {"key": "supplierId", "type": "str"},
|
|
8794
|
+
"procurement_order": {"key": "procurementOrder", "type": "str"},
|
|
8795
|
+
"procurement_order_line": {"key": "procurementOrderLine", "type": "int"},
|
|
8796
|
+
}
|
|
8797
|
+
|
|
8798
|
+
def __init__(
|
|
8799
|
+
self,
|
|
8800
|
+
*,
|
|
8801
|
+
material: "_models.PartDto",
|
|
8802
|
+
quantity: float,
|
|
8803
|
+
trace_type: Union[str, "_models.TraceType"],
|
|
8804
|
+
operation: Optional[int] = None,
|
|
8805
|
+
material_line: Optional[int] = None,
|
|
8806
|
+
unit: Optional[str] = None,
|
|
8807
|
+
lot: Optional[str] = None,
|
|
8808
|
+
heat: Optional[str] = None,
|
|
8809
|
+
supplier_id: Optional[str] = None,
|
|
8810
|
+
procurement_order: Optional[str] = None,
|
|
8811
|
+
procurement_order_line: Optional[int] = None,
|
|
8812
|
+
**kwargs: Any
|
|
8813
|
+
) -> None:
|
|
8814
|
+
"""
|
|
8815
|
+
:keyword operation:
|
|
8816
|
+
:paramtype operation: int
|
|
8817
|
+
:keyword material_line:
|
|
8818
|
+
:paramtype material_line: int
|
|
8819
|
+
:keyword material: Required.
|
|
8820
|
+
:paramtype material: ~ignos.api.client.models.PartDto
|
|
8821
|
+
:keyword quantity: Required.
|
|
8822
|
+
:paramtype quantity: float
|
|
8823
|
+
:keyword unit:
|
|
8824
|
+
:paramtype unit: str
|
|
8825
|
+
:keyword trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
8826
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
8827
|
+
:keyword lot:
|
|
8828
|
+
:paramtype lot: str
|
|
8829
|
+
:keyword heat:
|
|
8830
|
+
:paramtype heat: str
|
|
8831
|
+
:keyword supplier_id:
|
|
8832
|
+
:paramtype supplier_id: str
|
|
8833
|
+
:keyword procurement_order:
|
|
8834
|
+
:paramtype procurement_order: str
|
|
8835
|
+
:keyword procurement_order_line:
|
|
8836
|
+
:paramtype procurement_order_line: int
|
|
8837
|
+
"""
|
|
8838
|
+
super().__init__(**kwargs)
|
|
8839
|
+
self.operation = operation
|
|
8840
|
+
self.material_line = material_line
|
|
8841
|
+
self.material = material
|
|
8842
|
+
self.quantity = quantity
|
|
8843
|
+
self.unit = unit
|
|
8844
|
+
self.trace_type = trace_type
|
|
8845
|
+
self.lot = lot
|
|
8846
|
+
self.heat = heat
|
|
8847
|
+
self.supplier_id = supplier_id
|
|
8848
|
+
self.procurement_order = procurement_order
|
|
8849
|
+
self.procurement_order_line = procurement_order_line
|
|
8850
|
+
|
|
8851
|
+
|
|
7899
8852
|
class MaterialMassDensityDto(_serialization.Model):
|
|
7900
8853
|
"""MaterialMassDensityDto.
|
|
7901
8854
|
|
|
@@ -12703,6 +13656,168 @@ class MeasuringUnitDto(_serialization.Model):
|
|
|
12703
13656
|
self.unit = unit
|
|
12704
13657
|
|
|
12705
13658
|
|
|
13659
|
+
class MrbTemplateDto(_serialization.Model):
|
|
13660
|
+
"""MrbTemplateDto.
|
|
13661
|
+
|
|
13662
|
+
:ivar id:
|
|
13663
|
+
:vartype id: str
|
|
13664
|
+
:ivar title:
|
|
13665
|
+
:vartype title: str
|
|
13666
|
+
:ivar customer_id:
|
|
13667
|
+
:vartype customer_id: str
|
|
13668
|
+
:ivar customer_group_id:
|
|
13669
|
+
:vartype customer_group_id: str
|
|
13670
|
+
:ivar customer_name:
|
|
13671
|
+
:vartype customer_name: str
|
|
13672
|
+
:ivar url:
|
|
13673
|
+
:vartype url: str
|
|
13674
|
+
:ivar shared_access_uri:
|
|
13675
|
+
:vartype shared_access_uri: str
|
|
13676
|
+
:ivar elements:
|
|
13677
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13678
|
+
"""
|
|
13679
|
+
|
|
13680
|
+
_attribute_map = {
|
|
13681
|
+
"id": {"key": "id", "type": "str"},
|
|
13682
|
+
"title": {"key": "title", "type": "str"},
|
|
13683
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
13684
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
13685
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
13686
|
+
"url": {"key": "url", "type": "str"},
|
|
13687
|
+
"shared_access_uri": {"key": "sharedAccessUri", "type": "str"},
|
|
13688
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
13689
|
+
}
|
|
13690
|
+
|
|
13691
|
+
def __init__(
|
|
13692
|
+
self,
|
|
13693
|
+
*,
|
|
13694
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
13695
|
+
title: Optional[str] = None,
|
|
13696
|
+
customer_id: Optional[str] = None,
|
|
13697
|
+
customer_group_id: Optional[str] = None,
|
|
13698
|
+
customer_name: Optional[str] = None,
|
|
13699
|
+
url: Optional[str] = None,
|
|
13700
|
+
shared_access_uri: Optional[str] = None,
|
|
13701
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
13702
|
+
**kwargs: Any
|
|
13703
|
+
) -> None:
|
|
13704
|
+
"""
|
|
13705
|
+
:keyword id:
|
|
13706
|
+
:paramtype id: str
|
|
13707
|
+
:keyword title:
|
|
13708
|
+
:paramtype title: str
|
|
13709
|
+
:keyword customer_id:
|
|
13710
|
+
:paramtype customer_id: str
|
|
13711
|
+
:keyword customer_group_id:
|
|
13712
|
+
:paramtype customer_group_id: str
|
|
13713
|
+
:keyword customer_name:
|
|
13714
|
+
:paramtype customer_name: str
|
|
13715
|
+
:keyword url:
|
|
13716
|
+
:paramtype url: str
|
|
13717
|
+
:keyword shared_access_uri:
|
|
13718
|
+
:paramtype shared_access_uri: str
|
|
13719
|
+
:keyword elements:
|
|
13720
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13721
|
+
"""
|
|
13722
|
+
super().__init__(**kwargs)
|
|
13723
|
+
self.id = id
|
|
13724
|
+
self.title = title
|
|
13725
|
+
self.customer_id = customer_id
|
|
13726
|
+
self.customer_group_id = customer_group_id
|
|
13727
|
+
self.customer_name = customer_name
|
|
13728
|
+
self.url = url
|
|
13729
|
+
self.shared_access_uri = shared_access_uri
|
|
13730
|
+
self.elements = elements
|
|
13731
|
+
|
|
13732
|
+
|
|
13733
|
+
class MrbTemplateElementDto(_serialization.Model):
|
|
13734
|
+
"""MrbTemplateElementDto.
|
|
13735
|
+
|
|
13736
|
+
:ivar document_index:
|
|
13737
|
+
:vartype document_index: str
|
|
13738
|
+
:ivar bookmark_title:
|
|
13739
|
+
:vartype bookmark_title: str
|
|
13740
|
+
:ivar elements:
|
|
13741
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13742
|
+
:ivar empty_chapter_strategy: Known values are: 0, 1, and 2.
|
|
13743
|
+
:vartype empty_chapter_strategy: int or ~ignos.api.client.models.EmptyChapterStrategy
|
|
13744
|
+
:ivar template_page_number:
|
|
13745
|
+
:vartype template_page_number: int
|
|
13746
|
+
:ivar generated_document_types:
|
|
13747
|
+
:vartype generated_document_types: list[str]
|
|
13748
|
+
:ivar document_types:
|
|
13749
|
+
:vartype document_types: list[str]
|
|
13750
|
+
:ivar separator_format_title:
|
|
13751
|
+
:vartype separator_format_title: str
|
|
13752
|
+
:ivar child_document_bookmark_title:
|
|
13753
|
+
:vartype child_document_bookmark_title: str
|
|
13754
|
+
:ivar element_type: Known values are: 0, 1, 2, 3, and 4.
|
|
13755
|
+
:vartype element_type: int or ~ignos.api.client.models.MrbElementType
|
|
13756
|
+
"""
|
|
13757
|
+
|
|
13758
|
+
_attribute_map = {
|
|
13759
|
+
"document_index": {"key": "documentIndex", "type": "str"},
|
|
13760
|
+
"bookmark_title": {"key": "bookmarkTitle", "type": "str"},
|
|
13761
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
13762
|
+
"empty_chapter_strategy": {"key": "emptyChapterStrategy", "type": "int"},
|
|
13763
|
+
"template_page_number": {"key": "templatePageNumber", "type": "int"},
|
|
13764
|
+
"generated_document_types": {"key": "generatedDocumentTypes", "type": "[str]"},
|
|
13765
|
+
"document_types": {"key": "documentTypes", "type": "[str]"},
|
|
13766
|
+
"separator_format_title": {"key": "separatorFormatTitle", "type": "str"},
|
|
13767
|
+
"child_document_bookmark_title": {"key": "childDocumentBookmarkTitle", "type": "str"},
|
|
13768
|
+
"element_type": {"key": "elementType", "type": "int"},
|
|
13769
|
+
}
|
|
13770
|
+
|
|
13771
|
+
def __init__(
|
|
13772
|
+
self,
|
|
13773
|
+
*,
|
|
13774
|
+
document_index: Optional[str] = None,
|
|
13775
|
+
bookmark_title: Optional[str] = None,
|
|
13776
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
13777
|
+
empty_chapter_strategy: Optional[Union[int, "_models.EmptyChapterStrategy"]] = None,
|
|
13778
|
+
template_page_number: Optional[int] = None,
|
|
13779
|
+
generated_document_types: Optional[List[str]] = None,
|
|
13780
|
+
document_types: Optional[List[str]] = None,
|
|
13781
|
+
separator_format_title: Optional[str] = None,
|
|
13782
|
+
child_document_bookmark_title: Optional[str] = None,
|
|
13783
|
+
element_type: Optional[Union[int, "_models.MrbElementType"]] = None,
|
|
13784
|
+
**kwargs: Any
|
|
13785
|
+
) -> None:
|
|
13786
|
+
"""
|
|
13787
|
+
:keyword document_index:
|
|
13788
|
+
:paramtype document_index: str
|
|
13789
|
+
:keyword bookmark_title:
|
|
13790
|
+
:paramtype bookmark_title: str
|
|
13791
|
+
:keyword elements:
|
|
13792
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13793
|
+
:keyword empty_chapter_strategy: Known values are: 0, 1, and 2.
|
|
13794
|
+
:paramtype empty_chapter_strategy: int or ~ignos.api.client.models.EmptyChapterStrategy
|
|
13795
|
+
:keyword template_page_number:
|
|
13796
|
+
:paramtype template_page_number: int
|
|
13797
|
+
:keyword generated_document_types:
|
|
13798
|
+
:paramtype generated_document_types: list[str]
|
|
13799
|
+
:keyword document_types:
|
|
13800
|
+
:paramtype document_types: list[str]
|
|
13801
|
+
:keyword separator_format_title:
|
|
13802
|
+
:paramtype separator_format_title: str
|
|
13803
|
+
:keyword child_document_bookmark_title:
|
|
13804
|
+
:paramtype child_document_bookmark_title: str
|
|
13805
|
+
:keyword element_type: Known values are: 0, 1, 2, 3, and 4.
|
|
13806
|
+
:paramtype element_type: int or ~ignos.api.client.models.MrbElementType
|
|
13807
|
+
"""
|
|
13808
|
+
super().__init__(**kwargs)
|
|
13809
|
+
self.document_index = document_index
|
|
13810
|
+
self.bookmark_title = bookmark_title
|
|
13811
|
+
self.elements = elements
|
|
13812
|
+
self.empty_chapter_strategy = empty_chapter_strategy
|
|
13813
|
+
self.template_page_number = template_page_number
|
|
13814
|
+
self.generated_document_types = generated_document_types
|
|
13815
|
+
self.document_types = document_types
|
|
13816
|
+
self.separator_format_title = separator_format_title
|
|
13817
|
+
self.child_document_bookmark_title = child_document_bookmark_title
|
|
13818
|
+
self.element_type = element_type
|
|
13819
|
+
|
|
13820
|
+
|
|
12706
13821
|
class NumericDataPointDto(_serialization.Model):
|
|
12707
13822
|
"""NumericDataPointDto.
|
|
12708
13823
|
|
|
@@ -13204,28 +14319,37 @@ class ProductionCompanyDto(_serialization.Model):
|
|
|
13204
14319
|
:vartype id: str
|
|
13205
14320
|
:ivar name: Required.
|
|
13206
14321
|
:vartype name: str
|
|
14322
|
+
:ivar selected: Required.
|
|
14323
|
+
:vartype selected: bool
|
|
13207
14324
|
"""
|
|
13208
14325
|
|
|
13209
14326
|
_validation = {
|
|
13210
14327
|
"id": {"required": True, "min_length": 1},
|
|
13211
14328
|
"name": {"required": True, "min_length": 1},
|
|
14329
|
+
"selected": {"required": True},
|
|
13212
14330
|
}
|
|
13213
14331
|
|
|
13214
14332
|
_attribute_map = {
|
|
13215
14333
|
"id": {"key": "id", "type": "str"},
|
|
13216
14334
|
"name": {"key": "name", "type": "str"},
|
|
14335
|
+
"selected": {"key": "selected", "type": "bool"},
|
|
13217
14336
|
}
|
|
13218
14337
|
|
|
13219
|
-
def __init__(
|
|
14338
|
+
def __init__(
|
|
14339
|
+
self, *, id: str, name: str, selected: bool, **kwargs: Any # pylint: disable=redefined-builtin
|
|
14340
|
+
) -> None:
|
|
13220
14341
|
"""
|
|
13221
14342
|
:keyword id: Required.
|
|
13222
14343
|
:paramtype id: str
|
|
13223
14344
|
:keyword name: Required.
|
|
13224
14345
|
:paramtype name: str
|
|
14346
|
+
:keyword selected: Required.
|
|
14347
|
+
:paramtype selected: bool
|
|
13225
14348
|
"""
|
|
13226
14349
|
super().__init__(**kwargs)
|
|
13227
14350
|
self.id = id
|
|
13228
14351
|
self.name = name
|
|
14352
|
+
self.selected = selected
|
|
13229
14353
|
|
|
13230
14354
|
|
|
13231
14355
|
class ProductionEmployeeDto(_serialization.Model):
|
|
@@ -13446,12 +14570,14 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
|
|
|
13446
14570
|
:vartype planned_start: ~datetime.datetime
|
|
13447
14571
|
:ivar planned_end:
|
|
13448
14572
|
:vartype planned_end: ~datetime.datetime
|
|
13449
|
-
:ivar status: Known values are: "NotReady", "Ready", "Ongoing", and "
|
|
14573
|
+
:ivar status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
|
|
13450
14574
|
:vartype status: str or ~ignos.api.client.models.OperationStatus
|
|
13451
14575
|
:ivar produced_quantity:
|
|
13452
14576
|
:vartype produced_quantity: float
|
|
13453
14577
|
:ivar scrapped_quantity:
|
|
13454
14578
|
:vartype scrapped_quantity: float
|
|
14579
|
+
:ivar quantity:
|
|
14580
|
+
:vartype quantity: float
|
|
13455
14581
|
:ivar used_production_time:
|
|
13456
14582
|
:vartype used_production_time: float
|
|
13457
14583
|
:ivar used_setup_time:
|
|
@@ -13479,6 +14605,7 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
|
|
|
13479
14605
|
"status": {"key": "status", "type": "str"},
|
|
13480
14606
|
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
13481
14607
|
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
14608
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
13482
14609
|
"used_production_time": {"key": "usedProductionTime", "type": "float"},
|
|
13483
14610
|
"used_setup_time": {"key": "usedSetupTime", "type": "float"},
|
|
13484
14611
|
"work_instructions": {"key": "workInstructions", "type": "str"},
|
|
@@ -13502,6 +14629,7 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
|
|
|
13502
14629
|
status: Optional[Union[str, "_models.OperationStatus"]] = None,
|
|
13503
14630
|
produced_quantity: Optional[float] = None,
|
|
13504
14631
|
scrapped_quantity: Optional[float] = None,
|
|
14632
|
+
quantity: Optional[float] = None,
|
|
13505
14633
|
used_production_time: Optional[float] = None,
|
|
13506
14634
|
used_setup_time: Optional[float] = None,
|
|
13507
14635
|
work_instructions: Optional[str] = None,
|
|
@@ -13529,12 +14657,14 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
|
|
|
13529
14657
|
:paramtype planned_start: ~datetime.datetime
|
|
13530
14658
|
:keyword planned_end:
|
|
13531
14659
|
:paramtype planned_end: ~datetime.datetime
|
|
13532
|
-
:keyword status: Known values are: "NotReady", "Ready", "Ongoing", and "
|
|
14660
|
+
:keyword status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
|
|
13533
14661
|
:paramtype status: str or ~ignos.api.client.models.OperationStatus
|
|
13534
14662
|
:keyword produced_quantity:
|
|
13535
14663
|
:paramtype produced_quantity: float
|
|
13536
14664
|
:keyword scrapped_quantity:
|
|
13537
14665
|
:paramtype scrapped_quantity: float
|
|
14666
|
+
:keyword quantity:
|
|
14667
|
+
:paramtype quantity: float
|
|
13538
14668
|
:keyword used_production_time:
|
|
13539
14669
|
:paramtype used_production_time: float
|
|
13540
14670
|
:keyword used_setup_time:
|
|
@@ -13561,6 +14691,7 @@ class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-
|
|
|
13561
14691
|
self.status = status
|
|
13562
14692
|
self.produced_quantity = produced_quantity
|
|
13563
14693
|
self.scrapped_quantity = scrapped_quantity
|
|
14694
|
+
self.quantity = quantity
|
|
13564
14695
|
self.used_production_time = used_production_time
|
|
13565
14696
|
self.used_setup_time = used_setup_time
|
|
13566
14697
|
self.work_instructions = work_instructions
|
|
@@ -13624,8 +14755,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13624
14755
|
:vartype used_hours: float
|
|
13625
14756
|
:ivar quantity: Required.
|
|
13626
14757
|
:vartype quantity: float
|
|
13627
|
-
:ivar
|
|
13628
|
-
:vartype
|
|
14758
|
+
:ivar produced_quantity: Required.
|
|
14759
|
+
:vartype produced_quantity: float
|
|
14760
|
+
:ivar scrapped_quantity: Required.
|
|
14761
|
+
:vartype scrapped_quantity: float
|
|
14762
|
+
:ivar project:
|
|
14763
|
+
:vartype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13629
14764
|
:ivar part_number: Required.
|
|
13630
14765
|
:vartype part_number: str
|
|
13631
14766
|
:ivar part_revision:
|
|
@@ -13652,8 +14787,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13652
14787
|
:vartype fixture: str
|
|
13653
14788
|
:ivar program:
|
|
13654
14789
|
:vartype program: str
|
|
14790
|
+
:ivar tool_number:
|
|
14791
|
+
:vartype tool_number: str
|
|
13655
14792
|
:ivar prerequisites:
|
|
13656
14793
|
:vartype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
|
|
14794
|
+
:ivar end_location:
|
|
14795
|
+
:vartype end_location: str
|
|
13657
14796
|
"""
|
|
13658
14797
|
|
|
13659
14798
|
_validation = {
|
|
@@ -13664,6 +14803,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13664
14803
|
"planned_start": {"required": True},
|
|
13665
14804
|
"status": {"required": True, "min_length": 1},
|
|
13666
14805
|
"quantity": {"required": True},
|
|
14806
|
+
"produced_quantity": {"required": True},
|
|
14807
|
+
"scrapped_quantity": {"required": True},
|
|
13667
14808
|
"part_number": {"required": True, "min_length": 1},
|
|
13668
14809
|
"resource_id": {"required": True, "min_length": 1},
|
|
13669
14810
|
"resource_name": {"required": True, "min_length": 1},
|
|
@@ -13679,7 +14820,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13679
14820
|
"planned_hours": {"key": "plannedHours", "type": "float"},
|
|
13680
14821
|
"used_hours": {"key": "usedHours", "type": "float"},
|
|
13681
14822
|
"quantity": {"key": "quantity", "type": "float"},
|
|
13682
|
-
"
|
|
14823
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
14824
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
14825
|
+
"project": {"key": "project", "type": "WorkOrderProjectDto"},
|
|
13683
14826
|
"part_number": {"key": "partNumber", "type": "str"},
|
|
13684
14827
|
"part_revision": {"key": "partRevision", "type": "str"},
|
|
13685
14828
|
"part_name": {"key": "partName", "type": "str"},
|
|
@@ -13693,7 +14836,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13693
14836
|
"description": {"key": "description", "type": "str"},
|
|
13694
14837
|
"fixture": {"key": "fixture", "type": "str"},
|
|
13695
14838
|
"program": {"key": "program", "type": "str"},
|
|
14839
|
+
"tool_number": {"key": "toolNumber", "type": "str"},
|
|
13696
14840
|
"prerequisites": {"key": "prerequisites", "type": "OperationPrerequisitesDto"},
|
|
14841
|
+
"end_location": {"key": "endLocation", "type": "str"},
|
|
13697
14842
|
}
|
|
13698
14843
|
|
|
13699
14844
|
def __init__( # pylint: disable=too-many-locals
|
|
@@ -13706,12 +14851,14 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13706
14851
|
planned_start: datetime.datetime,
|
|
13707
14852
|
status: str,
|
|
13708
14853
|
quantity: float,
|
|
14854
|
+
produced_quantity: float,
|
|
14855
|
+
scrapped_quantity: float,
|
|
13709
14856
|
part_number: str,
|
|
13710
14857
|
resource_id: str,
|
|
13711
14858
|
resource_name: str,
|
|
13712
14859
|
planned_hours: Optional[float] = None,
|
|
13713
14860
|
used_hours: Optional[float] = None,
|
|
13714
|
-
|
|
14861
|
+
project: Optional["_models.WorkOrderProjectDto"] = None,
|
|
13715
14862
|
part_revision: Optional[str] = None,
|
|
13716
14863
|
part_name: Optional[str] = None,
|
|
13717
14864
|
bom_position: Optional[str] = None,
|
|
@@ -13722,7 +14869,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13722
14869
|
description: Optional[str] = None,
|
|
13723
14870
|
fixture: Optional[str] = None,
|
|
13724
14871
|
program: Optional[str] = None,
|
|
14872
|
+
tool_number: Optional[str] = None,
|
|
13725
14873
|
prerequisites: Optional["_models.OperationPrerequisitesDto"] = None,
|
|
14874
|
+
end_location: Optional[str] = None,
|
|
13726
14875
|
**kwargs: Any
|
|
13727
14876
|
) -> None:
|
|
13728
14877
|
"""
|
|
@@ -13744,8 +14893,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13744
14893
|
:paramtype used_hours: float
|
|
13745
14894
|
:keyword quantity: Required.
|
|
13746
14895
|
:paramtype quantity: float
|
|
13747
|
-
:keyword
|
|
13748
|
-
:paramtype
|
|
14896
|
+
:keyword produced_quantity: Required.
|
|
14897
|
+
:paramtype produced_quantity: float
|
|
14898
|
+
:keyword scrapped_quantity: Required.
|
|
14899
|
+
:paramtype scrapped_quantity: float
|
|
14900
|
+
:keyword project:
|
|
14901
|
+
:paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13749
14902
|
:keyword part_number: Required.
|
|
13750
14903
|
:paramtype part_number: str
|
|
13751
14904
|
:keyword part_revision:
|
|
@@ -13772,8 +14925,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13772
14925
|
:paramtype fixture: str
|
|
13773
14926
|
:keyword program:
|
|
13774
14927
|
:paramtype program: str
|
|
14928
|
+
:keyword tool_number:
|
|
14929
|
+
:paramtype tool_number: str
|
|
13775
14930
|
:keyword prerequisites:
|
|
13776
14931
|
:paramtype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
|
|
14932
|
+
:keyword end_location:
|
|
14933
|
+
:paramtype end_location: str
|
|
13777
14934
|
"""
|
|
13778
14935
|
super().__init__(**kwargs)
|
|
13779
14936
|
self.id = id
|
|
@@ -13785,7 +14942,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13785
14942
|
self.planned_hours = planned_hours
|
|
13786
14943
|
self.used_hours = used_hours
|
|
13787
14944
|
self.quantity = quantity
|
|
13788
|
-
self.
|
|
14945
|
+
self.produced_quantity = produced_quantity
|
|
14946
|
+
self.scrapped_quantity = scrapped_quantity
|
|
14947
|
+
self.project = project
|
|
13789
14948
|
self.part_number = part_number
|
|
13790
14949
|
self.part_revision = part_revision
|
|
13791
14950
|
self.part_name = part_name
|
|
@@ -13799,7 +14958,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13799
14958
|
self.description = description
|
|
13800
14959
|
self.fixture = fixture
|
|
13801
14960
|
self.program = program
|
|
14961
|
+
self.tool_number = tool_number
|
|
13802
14962
|
self.prerequisites = prerequisites
|
|
14963
|
+
self.end_location = end_location
|
|
13803
14964
|
|
|
13804
14965
|
|
|
13805
14966
|
class RegisterMeasuringToolCalibrationRequest(_serialization.Model):
|
|
@@ -15510,6 +16671,10 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15510
16671
|
:vartype resource_id: str
|
|
15511
16672
|
:ivar resource_name: Required.
|
|
15512
16673
|
:vartype resource_name: str
|
|
16674
|
+
:ivar produced_quantity: Required.
|
|
16675
|
+
:vartype produced_quantity: float
|
|
16676
|
+
:ivar scrapped_quantity: Required.
|
|
16677
|
+
:vartype scrapped_quantity: float
|
|
15513
16678
|
"""
|
|
15514
16679
|
|
|
15515
16680
|
_validation = {
|
|
@@ -15520,6 +16685,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15520
16685
|
"status": {"required": True, "min_length": 1},
|
|
15521
16686
|
"resource_id": {"required": True, "min_length": 1},
|
|
15522
16687
|
"resource_name": {"required": True, "min_length": 1},
|
|
16688
|
+
"produced_quantity": {"required": True},
|
|
16689
|
+
"scrapped_quantity": {"required": True},
|
|
15523
16690
|
}
|
|
15524
16691
|
|
|
15525
16692
|
_attribute_map = {
|
|
@@ -15531,6 +16698,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15531
16698
|
"status": {"key": "status", "type": "str"},
|
|
15532
16699
|
"resource_id": {"key": "resourceId", "type": "str"},
|
|
15533
16700
|
"resource_name": {"key": "resourceName", "type": "str"},
|
|
16701
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
16702
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
15534
16703
|
}
|
|
15535
16704
|
|
|
15536
16705
|
def __init__(
|
|
@@ -15543,6 +16712,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15543
16712
|
status: str,
|
|
15544
16713
|
resource_id: str,
|
|
15545
16714
|
resource_name: str,
|
|
16715
|
+
produced_quantity: float,
|
|
16716
|
+
scrapped_quantity: float,
|
|
15546
16717
|
planned_end: Optional[datetime.datetime] = None,
|
|
15547
16718
|
**kwargs: Any
|
|
15548
16719
|
) -> None:
|
|
@@ -15563,6 +16734,10 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15563
16734
|
:paramtype resource_id: str
|
|
15564
16735
|
:keyword resource_name: Required.
|
|
15565
16736
|
:paramtype resource_name: str
|
|
16737
|
+
:keyword produced_quantity: Required.
|
|
16738
|
+
:paramtype produced_quantity: float
|
|
16739
|
+
:keyword scrapped_quantity: Required.
|
|
16740
|
+
:paramtype scrapped_quantity: float
|
|
15566
16741
|
"""
|
|
15567
16742
|
super().__init__(**kwargs)
|
|
15568
16743
|
self.id = id
|
|
@@ -15573,6 +16748,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15573
16748
|
self.status = status
|
|
15574
16749
|
self.resource_id = resource_id
|
|
15575
16750
|
self.resource_name = resource_name
|
|
16751
|
+
self.produced_quantity = produced_quantity
|
|
16752
|
+
self.scrapped_quantity = scrapped_quantity
|
|
15576
16753
|
|
|
15577
16754
|
|
|
15578
16755
|
class SustainabilityCustomerOrderDto(_serialization.Model):
|
|
@@ -15781,6 +16958,296 @@ class SustainabilityPartInfoDto(_serialization.Model):
|
|
|
15781
16958
|
self.part_name = part_name
|
|
15782
16959
|
|
|
15783
16960
|
|
|
16961
|
+
class TraceDto(_serialization.Model):
|
|
16962
|
+
"""TraceDto.
|
|
16963
|
+
|
|
16964
|
+
All required parameters must be populated in order to send to Azure.
|
|
16965
|
+
|
|
16966
|
+
:ivar id: Required.
|
|
16967
|
+
:vartype id: str
|
|
16968
|
+
:ivar user:
|
|
16969
|
+
:vartype user: ~ignos.api.client.models.UserDto
|
|
16970
|
+
:ivar last_changed:
|
|
16971
|
+
:vartype last_changed: ~datetime.datetime
|
|
16972
|
+
:ivar part: Required.
|
|
16973
|
+
:vartype part: ~ignos.api.client.models.PartDto
|
|
16974
|
+
:ivar items: Required.
|
|
16975
|
+
:vartype items: list[~ignos.api.client.models.TraceItemDto]
|
|
16976
|
+
:ivar override_material_details:
|
|
16977
|
+
:vartype override_material_details: list[~ignos.api.client.models.TraceMaterialDetailDto]
|
|
16978
|
+
"""
|
|
16979
|
+
|
|
16980
|
+
_validation = {
|
|
16981
|
+
"id": {"required": True, "min_length": 1},
|
|
16982
|
+
"part": {"required": True},
|
|
16983
|
+
"items": {"required": True},
|
|
16984
|
+
}
|
|
16985
|
+
|
|
16986
|
+
_attribute_map = {
|
|
16987
|
+
"id": {"key": "id", "type": "str"},
|
|
16988
|
+
"user": {"key": "user", "type": "UserDto"},
|
|
16989
|
+
"last_changed": {"key": "lastChanged", "type": "iso-8601"},
|
|
16990
|
+
"part": {"key": "part", "type": "PartDto"},
|
|
16991
|
+
"items": {"key": "items", "type": "[TraceItemDto]"},
|
|
16992
|
+
"override_material_details": {"key": "overrideMaterialDetails", "type": "[TraceMaterialDetailDto]"},
|
|
16993
|
+
}
|
|
16994
|
+
|
|
16995
|
+
def __init__(
|
|
16996
|
+
self,
|
|
16997
|
+
*,
|
|
16998
|
+
id: str, # pylint: disable=redefined-builtin
|
|
16999
|
+
part: "_models.PartDto",
|
|
17000
|
+
items: List["_models.TraceItemDto"],
|
|
17001
|
+
user: Optional["_models.UserDto"] = None,
|
|
17002
|
+
last_changed: Optional[datetime.datetime] = None,
|
|
17003
|
+
override_material_details: Optional[List["_models.TraceMaterialDetailDto"]] = None,
|
|
17004
|
+
**kwargs: Any
|
|
17005
|
+
) -> None:
|
|
17006
|
+
"""
|
|
17007
|
+
:keyword id: Required.
|
|
17008
|
+
:paramtype id: str
|
|
17009
|
+
:keyword user:
|
|
17010
|
+
:paramtype user: ~ignos.api.client.models.UserDto
|
|
17011
|
+
:keyword last_changed:
|
|
17012
|
+
:paramtype last_changed: ~datetime.datetime
|
|
17013
|
+
:keyword part: Required.
|
|
17014
|
+
:paramtype part: ~ignos.api.client.models.PartDto
|
|
17015
|
+
:keyword items: Required.
|
|
17016
|
+
:paramtype items: list[~ignos.api.client.models.TraceItemDto]
|
|
17017
|
+
:keyword override_material_details:
|
|
17018
|
+
:paramtype override_material_details: list[~ignos.api.client.models.TraceMaterialDetailDto]
|
|
17019
|
+
"""
|
|
17020
|
+
super().__init__(**kwargs)
|
|
17021
|
+
self.id = id
|
|
17022
|
+
self.user = user
|
|
17023
|
+
self.last_changed = last_changed
|
|
17024
|
+
self.part = part
|
|
17025
|
+
self.items = items
|
|
17026
|
+
self.override_material_details = override_material_details
|
|
17027
|
+
|
|
17028
|
+
|
|
17029
|
+
class TraceItemConsumptionDto(_serialization.Model):
|
|
17030
|
+
"""TraceItemConsumptionDto.
|
|
17031
|
+
|
|
17032
|
+
:ivar source_work_order:
|
|
17033
|
+
:vartype source_work_order: str
|
|
17034
|
+
:ivar source_sequence:
|
|
17035
|
+
:vartype source_sequence: str
|
|
17036
|
+
:ivar trace_number:
|
|
17037
|
+
:vartype trace_number: str
|
|
17038
|
+
:ivar heat:
|
|
17039
|
+
:vartype heat: str
|
|
17040
|
+
:ivar quantity_used:
|
|
17041
|
+
:vartype quantity_used: float
|
|
17042
|
+
"""
|
|
17043
|
+
|
|
17044
|
+
_attribute_map = {
|
|
17045
|
+
"source_work_order": {"key": "sourceWorkOrder", "type": "str"},
|
|
17046
|
+
"source_sequence": {"key": "sourceSequence", "type": "str"},
|
|
17047
|
+
"trace_number": {"key": "traceNumber", "type": "str"},
|
|
17048
|
+
"heat": {"key": "heat", "type": "str"},
|
|
17049
|
+
"quantity_used": {"key": "quantityUsed", "type": "float"},
|
|
17050
|
+
}
|
|
17051
|
+
|
|
17052
|
+
def __init__(
|
|
17053
|
+
self,
|
|
17054
|
+
*,
|
|
17055
|
+
source_work_order: Optional[str] = None,
|
|
17056
|
+
source_sequence: Optional[str] = None,
|
|
17057
|
+
trace_number: Optional[str] = None,
|
|
17058
|
+
heat: Optional[str] = None,
|
|
17059
|
+
quantity_used: Optional[float] = None,
|
|
17060
|
+
**kwargs: Any
|
|
17061
|
+
) -> None:
|
|
17062
|
+
"""
|
|
17063
|
+
:keyword source_work_order:
|
|
17064
|
+
:paramtype source_work_order: str
|
|
17065
|
+
:keyword source_sequence:
|
|
17066
|
+
:paramtype source_sequence: str
|
|
17067
|
+
:keyword trace_number:
|
|
17068
|
+
:paramtype trace_number: str
|
|
17069
|
+
:keyword heat:
|
|
17070
|
+
:paramtype heat: str
|
|
17071
|
+
:keyword quantity_used:
|
|
17072
|
+
:paramtype quantity_used: float
|
|
17073
|
+
"""
|
|
17074
|
+
super().__init__(**kwargs)
|
|
17075
|
+
self.source_work_order = source_work_order
|
|
17076
|
+
self.source_sequence = source_sequence
|
|
17077
|
+
self.trace_number = trace_number
|
|
17078
|
+
self.heat = heat
|
|
17079
|
+
self.quantity_used = quantity_used
|
|
17080
|
+
|
|
17081
|
+
|
|
17082
|
+
class TraceItemDto(_serialization.Model):
|
|
17083
|
+
"""TraceItemDto.
|
|
17084
|
+
|
|
17085
|
+
All required parameters must be populated in order to send to Azure.
|
|
17086
|
+
|
|
17087
|
+
:ivar sequence: Required.
|
|
17088
|
+
:vartype sequence: str
|
|
17089
|
+
:ivar serial_number:
|
|
17090
|
+
:vartype serial_number: str
|
|
17091
|
+
:ivar status: Required. Known values are: "None", "OK", and "Scrap".
|
|
17092
|
+
:vartype status: str or ~ignos.api.client.models.TraceItemStatus
|
|
17093
|
+
:ivar quantity: Required.
|
|
17094
|
+
:vartype quantity: float
|
|
17095
|
+
:ivar materials: Required.
|
|
17096
|
+
:vartype materials: list[~ignos.api.client.models.TraceListItemDto]
|
|
17097
|
+
"""
|
|
17098
|
+
|
|
17099
|
+
_validation = {
|
|
17100
|
+
"sequence": {"required": True, "min_length": 1},
|
|
17101
|
+
"status": {"required": True},
|
|
17102
|
+
"quantity": {"required": True},
|
|
17103
|
+
"materials": {"required": True},
|
|
17104
|
+
}
|
|
17105
|
+
|
|
17106
|
+
_attribute_map = {
|
|
17107
|
+
"sequence": {"key": "sequence", "type": "str"},
|
|
17108
|
+
"serial_number": {"key": "serialNumber", "type": "str"},
|
|
17109
|
+
"status": {"key": "status", "type": "str"},
|
|
17110
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
17111
|
+
"materials": {"key": "materials", "type": "[TraceListItemDto]"},
|
|
17112
|
+
}
|
|
17113
|
+
|
|
17114
|
+
def __init__(
|
|
17115
|
+
self,
|
|
17116
|
+
*,
|
|
17117
|
+
sequence: str,
|
|
17118
|
+
status: Union[str, "_models.TraceItemStatus"],
|
|
17119
|
+
quantity: float,
|
|
17120
|
+
materials: List["_models.TraceListItemDto"],
|
|
17121
|
+
serial_number: Optional[str] = None,
|
|
17122
|
+
**kwargs: Any
|
|
17123
|
+
) -> None:
|
|
17124
|
+
"""
|
|
17125
|
+
:keyword sequence: Required.
|
|
17126
|
+
:paramtype sequence: str
|
|
17127
|
+
:keyword serial_number:
|
|
17128
|
+
:paramtype serial_number: str
|
|
17129
|
+
:keyword status: Required. Known values are: "None", "OK", and "Scrap".
|
|
17130
|
+
:paramtype status: str or ~ignos.api.client.models.TraceItemStatus
|
|
17131
|
+
:keyword quantity: Required.
|
|
17132
|
+
:paramtype quantity: float
|
|
17133
|
+
:keyword materials: Required.
|
|
17134
|
+
:paramtype materials: list[~ignos.api.client.models.TraceListItemDto]
|
|
17135
|
+
"""
|
|
17136
|
+
super().__init__(**kwargs)
|
|
17137
|
+
self.sequence = sequence
|
|
17138
|
+
self.serial_number = serial_number
|
|
17139
|
+
self.status = status
|
|
17140
|
+
self.quantity = quantity
|
|
17141
|
+
self.materials = materials
|
|
17142
|
+
|
|
17143
|
+
|
|
17144
|
+
class TraceListItemDto(_serialization.Model):
|
|
17145
|
+
"""TraceListItemDto.
|
|
17146
|
+
|
|
17147
|
+
:ivar material_line:
|
|
17148
|
+
:vartype material_line: int
|
|
17149
|
+
:ivar operation:
|
|
17150
|
+
:vartype operation: int
|
|
17151
|
+
:ivar material_quantity:
|
|
17152
|
+
:vartype material_quantity: float
|
|
17153
|
+
:ivar part_number:
|
|
17154
|
+
:vartype part_number: str
|
|
17155
|
+
:ivar consumptions:
|
|
17156
|
+
:vartype consumptions: list[~ignos.api.client.models.TraceItemConsumptionDto]
|
|
17157
|
+
"""
|
|
17158
|
+
|
|
17159
|
+
_attribute_map = {
|
|
17160
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
17161
|
+
"operation": {"key": "operation", "type": "int"},
|
|
17162
|
+
"material_quantity": {"key": "materialQuantity", "type": "float"},
|
|
17163
|
+
"part_number": {"key": "partNumber", "type": "str"},
|
|
17164
|
+
"consumptions": {"key": "consumptions", "type": "[TraceItemConsumptionDto]"},
|
|
17165
|
+
}
|
|
17166
|
+
|
|
17167
|
+
def __init__(
|
|
17168
|
+
self,
|
|
17169
|
+
*,
|
|
17170
|
+
material_line: Optional[int] = None,
|
|
17171
|
+
operation: Optional[int] = None,
|
|
17172
|
+
material_quantity: Optional[float] = None,
|
|
17173
|
+
part_number: Optional[str] = None,
|
|
17174
|
+
consumptions: Optional[List["_models.TraceItemConsumptionDto"]] = None,
|
|
17175
|
+
**kwargs: Any
|
|
17176
|
+
) -> None:
|
|
17177
|
+
"""
|
|
17178
|
+
:keyword material_line:
|
|
17179
|
+
:paramtype material_line: int
|
|
17180
|
+
:keyword operation:
|
|
17181
|
+
:paramtype operation: int
|
|
17182
|
+
:keyword material_quantity:
|
|
17183
|
+
:paramtype material_quantity: float
|
|
17184
|
+
:keyword part_number:
|
|
17185
|
+
:paramtype part_number: str
|
|
17186
|
+
:keyword consumptions:
|
|
17187
|
+
:paramtype consumptions: list[~ignos.api.client.models.TraceItemConsumptionDto]
|
|
17188
|
+
"""
|
|
17189
|
+
super().__init__(**kwargs)
|
|
17190
|
+
self.material_line = material_line
|
|
17191
|
+
self.operation = operation
|
|
17192
|
+
self.material_quantity = material_quantity
|
|
17193
|
+
self.part_number = part_number
|
|
17194
|
+
self.consumptions = consumptions
|
|
17195
|
+
|
|
17196
|
+
|
|
17197
|
+
class TraceMaterialDetailDto(_serialization.Model):
|
|
17198
|
+
"""TraceMaterialDetailDto.
|
|
17199
|
+
|
|
17200
|
+
All required parameters must be populated in order to send to Azure.
|
|
17201
|
+
|
|
17202
|
+
:ivar material_line: Required.
|
|
17203
|
+
:vartype material_line: int
|
|
17204
|
+
:ivar operation:
|
|
17205
|
+
:vartype operation: int
|
|
17206
|
+
:ivar material_part_number: Required.
|
|
17207
|
+
:vartype material_part_number: str
|
|
17208
|
+
:ivar status: Required. Known values are: "None", "ForceInclude", and "Exclude".
|
|
17209
|
+
:vartype status: str or ~ignos.api.client.models.TraceIncludeStatus
|
|
17210
|
+
"""
|
|
17211
|
+
|
|
17212
|
+
_validation = {
|
|
17213
|
+
"material_line": {"required": True},
|
|
17214
|
+
"material_part_number": {"required": True, "min_length": 1},
|
|
17215
|
+
"status": {"required": True},
|
|
17216
|
+
}
|
|
17217
|
+
|
|
17218
|
+
_attribute_map = {
|
|
17219
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
17220
|
+
"operation": {"key": "operation", "type": "int"},
|
|
17221
|
+
"material_part_number": {"key": "materialPartNumber", "type": "str"},
|
|
17222
|
+
"status": {"key": "status", "type": "str"},
|
|
17223
|
+
}
|
|
17224
|
+
|
|
17225
|
+
def __init__(
|
|
17226
|
+
self,
|
|
17227
|
+
*,
|
|
17228
|
+
material_line: int,
|
|
17229
|
+
material_part_number: str,
|
|
17230
|
+
status: Union[str, "_models.TraceIncludeStatus"],
|
|
17231
|
+
operation: Optional[int] = None,
|
|
17232
|
+
**kwargs: Any
|
|
17233
|
+
) -> None:
|
|
17234
|
+
"""
|
|
17235
|
+
:keyword material_line: Required.
|
|
17236
|
+
:paramtype material_line: int
|
|
17237
|
+
:keyword operation:
|
|
17238
|
+
:paramtype operation: int
|
|
17239
|
+
:keyword material_part_number: Required.
|
|
17240
|
+
:paramtype material_part_number: str
|
|
17241
|
+
:keyword status: Required. Known values are: "None", "ForceInclude", and "Exclude".
|
|
17242
|
+
:paramtype status: str or ~ignos.api.client.models.TraceIncludeStatus
|
|
17243
|
+
"""
|
|
17244
|
+
super().__init__(**kwargs)
|
|
17245
|
+
self.material_line = material_line
|
|
17246
|
+
self.operation = operation
|
|
17247
|
+
self.material_part_number = material_part_number
|
|
17248
|
+
self.status = status
|
|
17249
|
+
|
|
17250
|
+
|
|
15784
17251
|
class UnregisteredToolValueDto(_serialization.Model):
|
|
15785
17252
|
"""UnregisteredToolValueDto.
|
|
15786
17253
|
|
|
@@ -16939,26 +18406,93 @@ class UpdateMeasuringToolTypeRequest(_serialization.Model):
|
|
|
16939
18406
|
"""
|
|
16940
18407
|
|
|
16941
18408
|
_attribute_map = {
|
|
16942
|
-
"calibration_interval": {"key": "calibrationInterval", "type": "int"},
|
|
16943
|
-
"max_number_of_usages_between_calibration": {"key": "maxNumberOfUsagesBetweenCalibration", "type": "int"},
|
|
18409
|
+
"calibration_interval": {"key": "calibrationInterval", "type": "int"},
|
|
18410
|
+
"max_number_of_usages_between_calibration": {"key": "maxNumberOfUsagesBetweenCalibration", "type": "int"},
|
|
18411
|
+
}
|
|
18412
|
+
|
|
18413
|
+
def __init__(
|
|
18414
|
+
self,
|
|
18415
|
+
*,
|
|
18416
|
+
calibration_interval: Optional[int] = None,
|
|
18417
|
+
max_number_of_usages_between_calibration: Optional[int] = None,
|
|
18418
|
+
**kwargs: Any
|
|
18419
|
+
) -> None:
|
|
18420
|
+
"""
|
|
18421
|
+
:keyword calibration_interval:
|
|
18422
|
+
:paramtype calibration_interval: int
|
|
18423
|
+
:keyword max_number_of_usages_between_calibration:
|
|
18424
|
+
:paramtype max_number_of_usages_between_calibration: int
|
|
18425
|
+
"""
|
|
18426
|
+
super().__init__(**kwargs)
|
|
18427
|
+
self.calibration_interval = calibration_interval
|
|
18428
|
+
self.max_number_of_usages_between_calibration = max_number_of_usages_between_calibration
|
|
18429
|
+
|
|
18430
|
+
|
|
18431
|
+
class UpdateMrbTemplateRequest(_serialization.Model):
|
|
18432
|
+
"""UpdateMrbTemplateRequest.
|
|
18433
|
+
|
|
18434
|
+
:ivar id:
|
|
18435
|
+
:vartype id: str
|
|
18436
|
+
:ivar title:
|
|
18437
|
+
:vartype title: str
|
|
18438
|
+
:ivar customer_id:
|
|
18439
|
+
:vartype customer_id: str
|
|
18440
|
+
:ivar customer_group_id:
|
|
18441
|
+
:vartype customer_group_id: str
|
|
18442
|
+
:ivar customer_name:
|
|
18443
|
+
:vartype customer_name: str
|
|
18444
|
+
:ivar url:
|
|
18445
|
+
:vartype url: str
|
|
18446
|
+
:ivar elements:
|
|
18447
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
18448
|
+
"""
|
|
18449
|
+
|
|
18450
|
+
_attribute_map = {
|
|
18451
|
+
"id": {"key": "id", "type": "str"},
|
|
18452
|
+
"title": {"key": "title", "type": "str"},
|
|
18453
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
18454
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
18455
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
18456
|
+
"url": {"key": "url", "type": "str"},
|
|
18457
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
16944
18458
|
}
|
|
16945
18459
|
|
|
16946
18460
|
def __init__(
|
|
16947
18461
|
self,
|
|
16948
18462
|
*,
|
|
16949
|
-
|
|
16950
|
-
|
|
18463
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
18464
|
+
title: Optional[str] = None,
|
|
18465
|
+
customer_id: Optional[str] = None,
|
|
18466
|
+
customer_group_id: Optional[str] = None,
|
|
18467
|
+
customer_name: Optional[str] = None,
|
|
18468
|
+
url: Optional[str] = None,
|
|
18469
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
16951
18470
|
**kwargs: Any
|
|
16952
18471
|
) -> None:
|
|
16953
18472
|
"""
|
|
16954
|
-
:keyword
|
|
16955
|
-
:paramtype
|
|
16956
|
-
:keyword
|
|
16957
|
-
:paramtype
|
|
18473
|
+
:keyword id:
|
|
18474
|
+
:paramtype id: str
|
|
18475
|
+
:keyword title:
|
|
18476
|
+
:paramtype title: str
|
|
18477
|
+
:keyword customer_id:
|
|
18478
|
+
:paramtype customer_id: str
|
|
18479
|
+
:keyword customer_group_id:
|
|
18480
|
+
:paramtype customer_group_id: str
|
|
18481
|
+
:keyword customer_name:
|
|
18482
|
+
:paramtype customer_name: str
|
|
18483
|
+
:keyword url:
|
|
18484
|
+
:paramtype url: str
|
|
18485
|
+
:keyword elements:
|
|
18486
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
16958
18487
|
"""
|
|
16959
18488
|
super().__init__(**kwargs)
|
|
16960
|
-
self.
|
|
16961
|
-
self.
|
|
18489
|
+
self.id = id
|
|
18490
|
+
self.title = title
|
|
18491
|
+
self.customer_id = customer_id
|
|
18492
|
+
self.customer_group_id = customer_group_id
|
|
18493
|
+
self.customer_name = customer_name
|
|
18494
|
+
self.url = url
|
|
18495
|
+
self.elements = elements
|
|
16962
18496
|
|
|
16963
18497
|
|
|
16964
18498
|
class UpdateSchemaGroupedElementDto(_serialization.Model):
|
|
@@ -17783,6 +19317,32 @@ class UpsertWorkorder(_serialization.Model): # pylint: disable=too-many-instanc
|
|
|
17783
19317
|
self.customer_order_reference = customer_order_reference
|
|
17784
19318
|
|
|
17785
19319
|
|
|
19320
|
+
class UpsertWorkOrderConsumptionsRequest(_serialization.Model):
|
|
19321
|
+
"""UpsertWorkOrderConsumptionsRequest.
|
|
19322
|
+
|
|
19323
|
+
All required parameters must be populated in order to send to Azure.
|
|
19324
|
+
|
|
19325
|
+
:ivar material_consumptions: Required.
|
|
19326
|
+
:vartype material_consumptions: list[~ignos.api.client.models.MaterialConsumptionDto]
|
|
19327
|
+
"""
|
|
19328
|
+
|
|
19329
|
+
_validation = {
|
|
19330
|
+
"material_consumptions": {"required": True},
|
|
19331
|
+
}
|
|
19332
|
+
|
|
19333
|
+
_attribute_map = {
|
|
19334
|
+
"material_consumptions": {"key": "materialConsumptions", "type": "[MaterialConsumptionDto]"},
|
|
19335
|
+
}
|
|
19336
|
+
|
|
19337
|
+
def __init__(self, *, material_consumptions: List["_models.MaterialConsumptionDto"], **kwargs: Any) -> None:
|
|
19338
|
+
"""
|
|
19339
|
+
:keyword material_consumptions: Required.
|
|
19340
|
+
:paramtype material_consumptions: list[~ignos.api.client.models.MaterialConsumptionDto]
|
|
19341
|
+
"""
|
|
19342
|
+
super().__init__(**kwargs)
|
|
19343
|
+
self.material_consumptions = material_consumptions
|
|
19344
|
+
|
|
19345
|
+
|
|
17786
19346
|
class UpsertWorkorderTracesRequest(_serialization.Model):
|
|
17787
19347
|
"""UpsertWorkorderTracesRequest.
|
|
17788
19348
|
|
|
@@ -17809,6 +19369,177 @@ class UpsertWorkorderTracesRequest(_serialization.Model):
|
|
|
17809
19369
|
self.traces = traces
|
|
17810
19370
|
|
|
17811
19371
|
|
|
19372
|
+
class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
19373
|
+
"""UpsertWorkorderV2.
|
|
19374
|
+
|
|
19375
|
+
All required parameters must be populated in order to send to Azure.
|
|
19376
|
+
|
|
19377
|
+
:ivar work_order: Required.
|
|
19378
|
+
:vartype work_order: str
|
|
19379
|
+
:ivar company_id:
|
|
19380
|
+
:vartype company_id: str
|
|
19381
|
+
:ivar part: Required.
|
|
19382
|
+
:vartype part: ~ignos.api.client.models.PartDto
|
|
19383
|
+
:ivar quantity: Required.
|
|
19384
|
+
:vartype quantity: float
|
|
19385
|
+
:ivar unit:
|
|
19386
|
+
:vartype unit: str
|
|
19387
|
+
:ivar status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed", and
|
|
19388
|
+
"Deleted".
|
|
19389
|
+
:vartype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
19390
|
+
:ivar operations: Required.
|
|
19391
|
+
:vartype operations: list[~ignos.api.client.models.WorkorderOperationDto]
|
|
19392
|
+
:ivar planned_start:
|
|
19393
|
+
:vartype planned_start: ~datetime.datetime
|
|
19394
|
+
:ivar planned_end:
|
|
19395
|
+
:vartype planned_end: ~datetime.datetime
|
|
19396
|
+
:ivar produced_quantity:
|
|
19397
|
+
:vartype produced_quantity: float
|
|
19398
|
+
:ivar scrapped_quantity:
|
|
19399
|
+
:vartype scrapped_quantity: float
|
|
19400
|
+
:ivar customer_order_reference:
|
|
19401
|
+
:vartype customer_order_reference: ~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
|
|
19402
|
+
:ivar planner:
|
|
19403
|
+
:vartype planner: ~ignos.api.client.models.UserDto
|
|
19404
|
+
:ivar project_leader:
|
|
19405
|
+
:vartype project_leader: ~ignos.api.client.models.UserDto
|
|
19406
|
+
:ivar end_location:
|
|
19407
|
+
:vartype end_location: str
|
|
19408
|
+
:ivar project:
|
|
19409
|
+
:vartype project: ~ignos.api.client.models.WorkOrderProject
|
|
19410
|
+
:ivar start_date:
|
|
19411
|
+
:vartype start_date: ~datetime.datetime
|
|
19412
|
+
:ivar end_date:
|
|
19413
|
+
:vartype end_date: ~datetime.datetime
|
|
19414
|
+
:ivar bom_position:
|
|
19415
|
+
:vartype bom_position: str
|
|
19416
|
+
:ivar trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
19417
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
19418
|
+
"""
|
|
19419
|
+
|
|
19420
|
+
_validation = {
|
|
19421
|
+
"work_order": {"required": True, "min_length": 1},
|
|
19422
|
+
"part": {"required": True},
|
|
19423
|
+
"quantity": {"required": True},
|
|
19424
|
+
"status": {"required": True},
|
|
19425
|
+
"operations": {"required": True},
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
_attribute_map = {
|
|
19429
|
+
"work_order": {"key": "workOrder", "type": "str"},
|
|
19430
|
+
"company_id": {"key": "companyId", "type": "str"},
|
|
19431
|
+
"part": {"key": "part", "type": "PartDto"},
|
|
19432
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
19433
|
+
"unit": {"key": "unit", "type": "str"},
|
|
19434
|
+
"status": {"key": "status", "type": "str"},
|
|
19435
|
+
"operations": {"key": "operations", "type": "[WorkorderOperationDto]"},
|
|
19436
|
+
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
19437
|
+
"planned_end": {"key": "plannedEnd", "type": "iso-8601"},
|
|
19438
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
19439
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
19440
|
+
"customer_order_reference": {"key": "customerOrderReference", "type": "WorkorderCustomerOrderReferenceDto"},
|
|
19441
|
+
"planner": {"key": "planner", "type": "UserDto"},
|
|
19442
|
+
"project_leader": {"key": "projectLeader", "type": "UserDto"},
|
|
19443
|
+
"end_location": {"key": "endLocation", "type": "str"},
|
|
19444
|
+
"project": {"key": "project", "type": "WorkOrderProject"},
|
|
19445
|
+
"start_date": {"key": "startDate", "type": "iso-8601"},
|
|
19446
|
+
"end_date": {"key": "endDate", "type": "iso-8601"},
|
|
19447
|
+
"bom_position": {"key": "bomPosition", "type": "str"},
|
|
19448
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
19449
|
+
}
|
|
19450
|
+
|
|
19451
|
+
def __init__(
|
|
19452
|
+
self,
|
|
19453
|
+
*,
|
|
19454
|
+
work_order: str,
|
|
19455
|
+
part: "_models.PartDto",
|
|
19456
|
+
quantity: float,
|
|
19457
|
+
status: Union[str, "_models.WorkorderStatus"],
|
|
19458
|
+
operations: List["_models.WorkorderOperationDto"],
|
|
19459
|
+
company_id: Optional[str] = None,
|
|
19460
|
+
unit: Optional[str] = None,
|
|
19461
|
+
planned_start: Optional[datetime.datetime] = None,
|
|
19462
|
+
planned_end: Optional[datetime.datetime] = None,
|
|
19463
|
+
produced_quantity: Optional[float] = None,
|
|
19464
|
+
scrapped_quantity: Optional[float] = None,
|
|
19465
|
+
customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
|
|
19466
|
+
planner: Optional["_models.UserDto"] = None,
|
|
19467
|
+
project_leader: Optional["_models.UserDto"] = None,
|
|
19468
|
+
end_location: Optional[str] = None,
|
|
19469
|
+
project: Optional["_models.WorkOrderProject"] = None,
|
|
19470
|
+
start_date: Optional[datetime.datetime] = None,
|
|
19471
|
+
end_date: Optional[datetime.datetime] = None,
|
|
19472
|
+
bom_position: Optional[str] = None,
|
|
19473
|
+
trace_type: Optional[Union[str, "_models.TraceType"]] = None,
|
|
19474
|
+
**kwargs: Any
|
|
19475
|
+
) -> None:
|
|
19476
|
+
"""
|
|
19477
|
+
:keyword work_order: Required.
|
|
19478
|
+
:paramtype work_order: str
|
|
19479
|
+
:keyword company_id:
|
|
19480
|
+
:paramtype company_id: str
|
|
19481
|
+
:keyword part: Required.
|
|
19482
|
+
:paramtype part: ~ignos.api.client.models.PartDto
|
|
19483
|
+
:keyword quantity: Required.
|
|
19484
|
+
:paramtype quantity: float
|
|
19485
|
+
:keyword unit:
|
|
19486
|
+
:paramtype unit: str
|
|
19487
|
+
:keyword status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed", and
|
|
19488
|
+
"Deleted".
|
|
19489
|
+
:paramtype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
19490
|
+
:keyword operations: Required.
|
|
19491
|
+
:paramtype operations: list[~ignos.api.client.models.WorkorderOperationDto]
|
|
19492
|
+
:keyword planned_start:
|
|
19493
|
+
:paramtype planned_start: ~datetime.datetime
|
|
19494
|
+
:keyword planned_end:
|
|
19495
|
+
:paramtype planned_end: ~datetime.datetime
|
|
19496
|
+
:keyword produced_quantity:
|
|
19497
|
+
:paramtype produced_quantity: float
|
|
19498
|
+
:keyword scrapped_quantity:
|
|
19499
|
+
:paramtype scrapped_quantity: float
|
|
19500
|
+
:keyword customer_order_reference:
|
|
19501
|
+
:paramtype customer_order_reference:
|
|
19502
|
+
~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
|
|
19503
|
+
:keyword planner:
|
|
19504
|
+
:paramtype planner: ~ignos.api.client.models.UserDto
|
|
19505
|
+
:keyword project_leader:
|
|
19506
|
+
:paramtype project_leader: ~ignos.api.client.models.UserDto
|
|
19507
|
+
:keyword end_location:
|
|
19508
|
+
:paramtype end_location: str
|
|
19509
|
+
:keyword project:
|
|
19510
|
+
:paramtype project: ~ignos.api.client.models.WorkOrderProject
|
|
19511
|
+
:keyword start_date:
|
|
19512
|
+
:paramtype start_date: ~datetime.datetime
|
|
19513
|
+
:keyword end_date:
|
|
19514
|
+
:paramtype end_date: ~datetime.datetime
|
|
19515
|
+
:keyword bom_position:
|
|
19516
|
+
:paramtype bom_position: str
|
|
19517
|
+
:keyword trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
19518
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
19519
|
+
"""
|
|
19520
|
+
super().__init__(**kwargs)
|
|
19521
|
+
self.work_order = work_order
|
|
19522
|
+
self.company_id = company_id
|
|
19523
|
+
self.part = part
|
|
19524
|
+
self.quantity = quantity
|
|
19525
|
+
self.unit = unit
|
|
19526
|
+
self.status = status
|
|
19527
|
+
self.operations = operations
|
|
19528
|
+
self.planned_start = planned_start
|
|
19529
|
+
self.planned_end = planned_end
|
|
19530
|
+
self.produced_quantity = produced_quantity
|
|
19531
|
+
self.scrapped_quantity = scrapped_quantity
|
|
19532
|
+
self.customer_order_reference = customer_order_reference
|
|
19533
|
+
self.planner = planner
|
|
19534
|
+
self.project_leader = project_leader
|
|
19535
|
+
self.end_location = end_location
|
|
19536
|
+
self.project = project
|
|
19537
|
+
self.start_date = start_date
|
|
19538
|
+
self.end_date = end_date
|
|
19539
|
+
self.bom_position = bom_position
|
|
19540
|
+
self.trace_type = trace_type
|
|
19541
|
+
|
|
19542
|
+
|
|
17812
19543
|
class UptimeDowntimeDto(_serialization.Model):
|
|
17813
19544
|
"""UptimeDowntimeDto.
|
|
17814
19545
|
|
|
@@ -18896,6 +20627,8 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18896
20627
|
:vartype used_quantity: float
|
|
18897
20628
|
:ivar unit:
|
|
18898
20629
|
:vartype unit: str
|
|
20630
|
+
:ivar trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
20631
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
18899
20632
|
"""
|
|
18900
20633
|
|
|
18901
20634
|
_validation = {
|
|
@@ -18913,6 +20646,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18913
20646
|
"fixed_quantity": {"key": "fixedQuantity", "type": "bool"},
|
|
18914
20647
|
"used_quantity": {"key": "usedQuantity", "type": "float"},
|
|
18915
20648
|
"unit": {"key": "unit", "type": "str"},
|
|
20649
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
18916
20650
|
}
|
|
18917
20651
|
|
|
18918
20652
|
def __init__(
|
|
@@ -18925,6 +20659,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18925
20659
|
material_line: Optional[int] = None,
|
|
18926
20660
|
used_quantity: Optional[float] = None,
|
|
18927
20661
|
unit: Optional[str] = None,
|
|
20662
|
+
trace_type: Optional[Union[str, "_models.TraceType"]] = None,
|
|
18928
20663
|
**kwargs: Any
|
|
18929
20664
|
) -> None:
|
|
18930
20665
|
"""
|
|
@@ -18943,6 +20678,8 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18943
20678
|
:paramtype used_quantity: float
|
|
18944
20679
|
:keyword unit:
|
|
18945
20680
|
:paramtype unit: str
|
|
20681
|
+
:keyword trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
20682
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
18946
20683
|
"""
|
|
18947
20684
|
super().__init__(**kwargs)
|
|
18948
20685
|
self.material_line = material_line
|
|
@@ -18952,6 +20689,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18952
20689
|
self.fixed_quantity = fixed_quantity
|
|
18953
20690
|
self.used_quantity = used_quantity
|
|
18954
20691
|
self.unit = unit
|
|
20692
|
+
self.trace_type = trace_type
|
|
18955
20693
|
|
|
18956
20694
|
|
|
18957
20695
|
class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
@@ -18967,6 +20705,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18967
20705
|
:vartype planned_setup_time: float
|
|
18968
20706
|
:ivar planned_production_time_per_part: Required.
|
|
18969
20707
|
:vartype planned_production_time_per_part: float
|
|
20708
|
+
:ivar planned_production_time: Required.
|
|
20709
|
+
:vartype planned_production_time: float
|
|
18970
20710
|
:ivar fixed_time:
|
|
18971
20711
|
:vartype fixed_time: bool
|
|
18972
20712
|
:ivar resource: Required.
|
|
@@ -18975,7 +20715,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18975
20715
|
:vartype planned_start: ~datetime.datetime
|
|
18976
20716
|
:ivar planned_end:
|
|
18977
20717
|
:vartype planned_end: ~datetime.datetime
|
|
18978
|
-
:ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing",
|
|
20718
|
+
:ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
|
|
20719
|
+
"Stopped".
|
|
18979
20720
|
:vartype status: str or ~ignos.api.client.models.OperationStatus
|
|
18980
20721
|
:ivar produced_quantity: Required.
|
|
18981
20722
|
:vartype produced_quantity: float
|
|
@@ -18993,6 +20734,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18993
20734
|
"operation": {"required": True},
|
|
18994
20735
|
"planned_setup_time": {"required": True},
|
|
18995
20736
|
"planned_production_time_per_part": {"required": True},
|
|
20737
|
+
"planned_production_time": {"required": True},
|
|
18996
20738
|
"resource": {"required": True},
|
|
18997
20739
|
"status": {"required": True},
|
|
18998
20740
|
"produced_quantity": {"required": True},
|
|
@@ -19007,6 +20749,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
19007
20749
|
"description": {"key": "description", "type": "str"},
|
|
19008
20750
|
"planned_setup_time": {"key": "plannedSetupTime", "type": "float"},
|
|
19009
20751
|
"planned_production_time_per_part": {"key": "plannedProductionTimePerPart", "type": "float"},
|
|
20752
|
+
"planned_production_time": {"key": "plannedProductionTime", "type": "float"},
|
|
19010
20753
|
"fixed_time": {"key": "fixedTime", "type": "bool"},
|
|
19011
20754
|
"resource": {"key": "resource", "type": "ResourceDto"},
|
|
19012
20755
|
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
@@ -19025,6 +20768,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
19025
20768
|
operation: int,
|
|
19026
20769
|
planned_setup_time: float,
|
|
19027
20770
|
planned_production_time_per_part: float,
|
|
20771
|
+
planned_production_time: float,
|
|
19028
20772
|
resource: "_models.ResourceDto",
|
|
19029
20773
|
status: Union[str, "_models.OperationStatus"],
|
|
19030
20774
|
produced_quantity: float,
|
|
@@ -19047,6 +20791,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
19047
20791
|
:paramtype planned_setup_time: float
|
|
19048
20792
|
:keyword planned_production_time_per_part: Required.
|
|
19049
20793
|
:paramtype planned_production_time_per_part: float
|
|
20794
|
+
:keyword planned_production_time: Required.
|
|
20795
|
+
:paramtype planned_production_time: float
|
|
19050
20796
|
:keyword fixed_time:
|
|
19051
20797
|
:paramtype fixed_time: bool
|
|
19052
20798
|
:keyword resource: Required.
|
|
@@ -19055,7 +20801,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
19055
20801
|
:paramtype planned_start: ~datetime.datetime
|
|
19056
20802
|
:keyword planned_end:
|
|
19057
20803
|
:paramtype planned_end: ~datetime.datetime
|
|
19058
|
-
:keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing",
|
|
20804
|
+
:keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
|
|
20805
|
+
"Stopped".
|
|
19059
20806
|
:paramtype status: str or ~ignos.api.client.models.OperationStatus
|
|
19060
20807
|
:keyword produced_quantity: Required.
|
|
19061
20808
|
:paramtype produced_quantity: float
|
|
@@ -19073,6 +20820,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
19073
20820
|
self.description = description
|
|
19074
20821
|
self.planned_setup_time = planned_setup_time
|
|
19075
20822
|
self.planned_production_time_per_part = planned_production_time_per_part
|
|
20823
|
+
self.planned_production_time = planned_production_time
|
|
19076
20824
|
self.fixed_time = fixed_time
|
|
19077
20825
|
self.resource = resource
|
|
19078
20826
|
self.planned_start = planned_start
|
|
@@ -19205,6 +20953,45 @@ class WorkorderOperationEventDto(_serialization.Model): # pylint: disable=too-m
|
|
|
19205
20953
|
self.operation_description = operation_description
|
|
19206
20954
|
|
|
19207
20955
|
|
|
20956
|
+
class WorkOrderProject(_serialization.Model):
|
|
20957
|
+
"""WorkOrderProject.
|
|
20958
|
+
|
|
20959
|
+
:ivar id:
|
|
20960
|
+
:vartype id: str
|
|
20961
|
+
:ivar name:
|
|
20962
|
+
:vartype name: str
|
|
20963
|
+
:ivar project_manager:
|
|
20964
|
+
:vartype project_manager: str
|
|
20965
|
+
"""
|
|
20966
|
+
|
|
20967
|
+
_attribute_map = {
|
|
20968
|
+
"id": {"key": "id", "type": "str"},
|
|
20969
|
+
"name": {"key": "name", "type": "str"},
|
|
20970
|
+
"project_manager": {"key": "projectManager", "type": "str"},
|
|
20971
|
+
}
|
|
20972
|
+
|
|
20973
|
+
def __init__(
|
|
20974
|
+
self,
|
|
20975
|
+
*,
|
|
20976
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
20977
|
+
name: Optional[str] = None,
|
|
20978
|
+
project_manager: Optional[str] = None,
|
|
20979
|
+
**kwargs: Any
|
|
20980
|
+
) -> None:
|
|
20981
|
+
"""
|
|
20982
|
+
:keyword id:
|
|
20983
|
+
:paramtype id: str
|
|
20984
|
+
:keyword name:
|
|
20985
|
+
:paramtype name: str
|
|
20986
|
+
:keyword project_manager:
|
|
20987
|
+
:paramtype project_manager: str
|
|
20988
|
+
"""
|
|
20989
|
+
super().__init__(**kwargs)
|
|
20990
|
+
self.id = id
|
|
20991
|
+
self.name = name
|
|
20992
|
+
self.project_manager = project_manager
|
|
20993
|
+
|
|
20994
|
+
|
|
19208
20995
|
class WorkOrderProjectDto(_serialization.Model):
|
|
19209
20996
|
"""WorkOrderProjectDto.
|
|
19210
20997
|
|