@ignos/api-client 20260729.200.1 → 20260731.202.1-alpha

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.
@@ -2521,10 +2521,14 @@ export interface IMesProductionOrderAttachmentClient {
2521
2521
  * @param notes (optional)
2522
2522
  * @param url (optional)
2523
2523
  */
2524
- upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2524
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
2525
2525
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2526
+ /**
2527
+ * Update an existing Note or Url attachment in place
2528
+ */
2529
+ updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
2526
2530
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2527
- deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2531
+ deleteAttachment(id: string, attachmentId: number): Promise<void>;
2528
2532
  }
2529
2533
  export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
2530
2534
  private http;
@@ -2540,14 +2544,19 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2540
2544
  * @param notes (optional)
2541
2545
  * @param url (optional)
2542
2546
  */
2543
- upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2544
- protected processUpload(response: Response): Promise<FileResponse>;
2547
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
2548
+ protected processUpload(response: Response): Promise<void>;
2545
2549
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2546
2550
  protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
2551
+ /**
2552
+ * Update an existing Note or Url attachment in place
2553
+ */
2554
+ updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
2555
+ protected processUpdateAttachment(response: Response): Promise<void>;
2547
2556
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2548
2557
  protected processGetAttachmentFile(response: Response): Promise<FileResponse>;
2549
- deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2550
- protected processDeleteAttachment(response: Response): Promise<FileResponse>;
2558
+ deleteAttachment(id: string, attachmentId: number): Promise<void>;
2559
+ protected processDeleteAttachment(response: Response): Promise<void>;
2551
2560
  }
2552
2561
  export interface IMesProductionOrderClient {
2553
2562
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -7495,6 +7504,12 @@ export interface SetProgramStatus {
7495
7504
  status?: ProgramStatus;
7496
7505
  }
7497
7506
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
7507
+ export interface UpdateProductionOrderAttachmentRequest {
7508
+ type?: ProductionOrderAttachmentType;
7509
+ description: string;
7510
+ notes?: string | null;
7511
+ url?: string | null;
7512
+ }
7498
7513
  export interface WorkOrderAttachmentDto {
7499
7514
  createdBy?: UserDto | null;
7500
7515
  created?: Date | null;
@@ -8096,22 +8111,20 @@ export interface ImaCertificateTypeRequirementsDto {
8096
8111
  testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
8097
8112
  testResults: ImaCertificateTypeTestResultsRequirementsDto;
8098
8113
  }
8099
- export interface ImaCdfEntityReadBase {
8100
- }
8101
- export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
8114
+ export interface ImaCertificateTypeManufacturerRequirementsDto {
8102
8115
  manufacturer?: boolean;
8103
8116
  address?: boolean;
8104
8117
  contact?: boolean;
8105
8118
  steelPlant?: boolean;
8106
8119
  }
8107
- export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
8120
+ export interface ImaCertificateTypeSignatureRequirementsDto {
8108
8121
  certifiedBy?: boolean;
8109
8122
  position?: boolean;
8110
8123
  signature?: boolean;
8111
8124
  date?: boolean;
8112
8125
  stamp?: boolean;
8113
8126
  }
8114
- export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntityReadBase {
8127
+ export interface ImaCertificateTypeThirdPartyRequirementsDto {
8115
8128
  inspectionBody?: boolean;
8116
8129
  inspectorName?: boolean;
8117
8130
  position?: boolean;
@@ -8120,12 +8133,12 @@ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntit
8120
8133
  date?: boolean;
8121
8134
  stamp?: boolean;
8122
8135
  }
8123
- export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
8136
+ export interface ImaCertificateTypeCertificationRequirementsDto {
8124
8137
  certificateType?: boolean;
8125
8138
  certificateOfCompliance?: boolean;
8126
8139
  inspectionCertificate?: boolean;
8127
8140
  }
8128
- export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto extends ImaCdfEntityReadBase {
8141
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto {
8129
8142
  productDescription?: boolean;
8130
8143
  materialGrade?: boolean;
8131
8144
  customer?: boolean;
@@ -8136,10 +8149,10 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto ext
8136
8149
  relevantStandard?: boolean;
8137
8150
  steelMaking?: boolean;
8138
8151
  }
8139
- export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
8152
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto {
8140
8153
  usedStandards?: boolean;
8141
8154
  }
8142
- export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
8155
+ export interface ImaCertificateTypeTestResultsRequirementsDto {
8143
8156
  tensileTests?: boolean;
8144
8157
  hardnessTests?: boolean;
8145
8158
  impactTests?: boolean;
@@ -8261,7 +8274,7 @@ export interface ImaMaterialCheckDto {
8261
8274
  purchaseOrderPartRevision?: string | null;
8262
8275
  purchaseOrderDrawing?: string | null;
8263
8276
  purchaseOrderDrawingRevision?: string | null;
8264
- heatNumber?: string | null;
8277
+ heatNumbers?: string[] | null;
8265
8278
  status: ImaMaterialCheckStatusDto;
8266
8279
  created: Date;
8267
8280
  createdBy: string;
@@ -8280,7 +8293,7 @@ export interface ImaMaterialCheckDto {
8280
8293
  }
8281
8294
  export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8282
8295
  export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
8283
- export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
8296
+ export interface ImaCertificateTypeResultsDto {
8284
8297
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
8285
8298
  signature: ImaCertificateTypeSignatureResultsDto;
8286
8299
  thirdParty: ImaCertificateTypeThirdPartyResultsDto;
@@ -8288,18 +8301,18 @@ export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
8288
8301
  productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationResultsDto;
8289
8302
  testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesResultsDto;
8290
8303
  }
8291
- export interface ImaCertificateTypeManufacturerResultsDto extends ImaCdfEntityReadBase {
8304
+ export interface ImaCertificateTypeManufacturerResultsDto {
8292
8305
  manufacturer?: ImaCertificateTypeResultLine | null;
8293
8306
  address?: ImaCertificateTypeResultLine | null;
8294
8307
  contact?: ImaCertificateTypeResultLine | null;
8295
8308
  steelPlant?: ImaCertificateTypeResultLine | null;
8296
8309
  }
8297
- export interface ImaCertificateTypeResultLine extends ImaCdfEntityReadBase {
8310
+ export interface ImaCertificateTypeResultLine {
8298
8311
  found?: boolean;
8299
8312
  readValue?: string | null;
8300
8313
  override?: ImaResultLineOverrideDto | null;
8301
8314
  }
8302
- export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
8315
+ export interface ImaResultLineOverrideDto {
8303
8316
  approved?: boolean | null;
8304
8317
  comment?: string | null;
8305
8318
  updated: Date;
@@ -8307,14 +8320,14 @@ export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
8307
8320
  updatedById: string;
8308
8321
  updatedByName?: string | null;
8309
8322
  }
8310
- export interface ImaCertificateTypeSignatureResultsDto extends ImaCdfEntityReadBase {
8323
+ export interface ImaCertificateTypeSignatureResultsDto {
8311
8324
  certifiedBy?: ImaCertificateTypeResultLine | null;
8312
8325
  position?: ImaCertificateTypeResultLine | null;
8313
8326
  signature?: ImaCertificateTypeResultLine | null;
8314
8327
  date?: ImaCertificateTypeResultLine | null;
8315
8328
  stamp?: ImaCertificateTypeResultLine | null;
8316
8329
  }
8317
- export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityReadBase {
8330
+ export interface ImaCertificateTypeThirdPartyResultsDto {
8318
8331
  inspectionBody?: ImaCertificateTypeResultLine | null;
8319
8332
  inspectorName?: ImaCertificateTypeResultLine | null;
8320
8333
  position?: ImaCertificateTypeResultLine | null;
@@ -8323,12 +8336,12 @@ export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityRead
8323
8336
  date?: ImaCertificateTypeResultLine | null;
8324
8337
  stamp?: ImaCertificateTypeResultLine | null;
8325
8338
  }
8326
- export interface ImaCertificateTypeCertificationResultsDto extends ImaCdfEntityReadBase {
8339
+ export interface ImaCertificateTypeCertificationResultsDto {
8327
8340
  certificateType?: ImaCertificateTypeResultLine | null;
8328
8341
  certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
8329
8342
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
8330
8343
  }
8331
- export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
8344
+ export interface ImaSupplementaryCheckResultDto {
8332
8345
  status?: string | null;
8333
8346
  documentId?: string | null;
8334
8347
  acceptable?: boolean | null;
@@ -8336,7 +8349,7 @@ export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
8336
8349
  summary?: string | null;
8337
8350
  override?: ImaResultLineOverrideDto | null;
8338
8351
  }
8339
- export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends ImaCdfEntityReadBase {
8352
+ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
8340
8353
  productDescription?: ImaCertificateTypeResultLine | null;
8341
8354
  materialGrade?: ImaCertificateTypeResultLine | null;
8342
8355
  customer?: ImaCertificateTypeResultLine | null;
@@ -8347,18 +8360,15 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends
8347
8360
  relevantStandard?: ImaCertificateTypeResultLine | null;
8348
8361
  steelMaking: ImaSteelMakingResultDto;
8349
8362
  }
8350
- export interface ImaSteelMakingResultDto extends ImaCdfEntityReadBase {
8363
+ export interface ImaSteelMakingResultDto {
8351
8364
  raw?: string[] | null;
8352
8365
  chain?: string[] | null;
8353
8366
  unmatched?: string[] | null;
8354
8367
  }
8355
- export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
8368
+ export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
8356
8369
  usedStandards?: ImaCertificateTypeResultLine | null;
8357
8370
  }
8358
- export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
8359
- chemistry: ImaSpecificationChemistryResultsDto;
8360
- mechanical: ImaSpecificationMechanicalResultsDto;
8361
- ferrite: ImaSpecificationFerriteResultsDto;
8371
+ export interface ImaSpecificationResultsDto {
8362
8372
  chemicalAnalysis: ImaChemicalAnalysisResultDto[];
8363
8373
  tensileTests: ImaTensileTestResultDto[];
8364
8374
  hardnessTests: ImaHardnessTestResultDto[];
@@ -8368,7 +8378,15 @@ export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
8368
8378
  heatTreatments: ImaHeatTreatmentResultDto[];
8369
8379
  documentTypes: ImaDocumentTypesResultsDto;
8370
8380
  }
8371
- export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBase {
8381
+ export interface ImaChemicalAnalysisResultDto {
8382
+ heatNumber?: string | null;
8383
+ sampleReference?: string | null;
8384
+ analysisType?: string | null;
8385
+ elements: ImaChemicalAnalysisElementsResultDto;
8386
+ indices: ImaChemicalIndexResultDto[];
8387
+ testStandards: string[];
8388
+ }
8389
+ export interface ImaChemicalAnalysisElementsResultDto {
8372
8390
  carbon?: ImaSpecificationResultLineDto | null;
8373
8391
  manganese?: ImaSpecificationResultLineDto | null;
8374
8392
  silicon?: ImaSpecificationResultLineDto | null;
@@ -8380,9 +8398,26 @@ export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBas
8380
8398
  copper?: ImaSpecificationResultLineDto | null;
8381
8399
  nitrogen?: ImaSpecificationResultLineDto | null;
8382
8400
  wolfram?: ImaSpecificationResultLineDto | null;
8401
+ titanium?: ImaSpecificationResultLineDto | null;
8402
+ aluminum?: ImaSpecificationResultLineDto | null;
8403
+ niobium?: ImaSpecificationResultLineDto | null;
8404
+ tantalum?: ImaSpecificationResultLineDto | null;
8405
+ cobalt?: ImaSpecificationResultLineDto | null;
8406
+ boron?: ImaSpecificationResultLineDto | null;
8407
+ lead?: ImaSpecificationResultLineDto | null;
8408
+ selenium?: ImaSpecificationResultLineDto | null;
8409
+ bismuth?: ImaSpecificationResultLineDto | null;
8383
8410
  iron?: ImaSpecificationResultLineDto | null;
8384
- }
8385
- export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
8411
+ vanadium?: ImaSpecificationResultLineDto | null;
8412
+ oxygen?: ImaSpecificationResultLineDto | null;
8413
+ calcium?: ImaSpecificationResultLineDto | null;
8414
+ arsenic?: ImaSpecificationResultLineDto | null;
8415
+ tin?: ImaSpecificationResultLineDto | null;
8416
+ antimony?: ImaSpecificationResultLineDto | null;
8417
+ hydrogen?: ImaSpecificationResultLineDto | null;
8418
+ zirconium?: ImaSpecificationResultLineDto | null;
8419
+ }
8420
+ export interface ImaSpecificationResultLineDto {
8386
8421
  specificationMin?: number | null;
8387
8422
  specificationMax?: number | null;
8388
8423
  readValue?: string | null;
@@ -8390,48 +8425,13 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
8390
8425
  override?: ImaResultLineOverrideDto | null;
8391
8426
  }
8392
8427
  export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
8393
- export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
8394
- yieldStrength?: ImaSpecificationResultLineDto | null;
8395
- tensileStrength?: ImaSpecificationResultLineDto | null;
8396
- elongation?: ImaSpecificationResultLineDto | null;
8397
- reductionOfArea?: ImaSpecificationResultLineDto | null;
8398
- impactEnergy?: ImaSpecificationResultLineDto | null;
8399
- hardness?: ImaSpecificationResultLineDto | null;
8400
- }
8401
- export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase {
8402
- ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
8403
- }
8404
- export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
8405
- specificationMin?: number | null;
8406
- specificationMax?: number | null;
8407
- readValue?: string | null;
8408
- status: ImaSpecificationResultLineStatusDto;
8409
- override?: ImaResultLineOverrideDto | null;
8410
- measurementMethod?: string | null;
8411
- }
8412
- export interface ImaChemicalAnalysisResultDto extends ImaCdfEntityReadBase {
8413
- sampleReference?: string | null;
8414
- analysisType?: string | null;
8415
- elements: ImaChemicalElementResultDto[];
8416
- indices: ImaChemicalIndexResultDto[];
8417
- testStandards: string[];
8418
- override?: ImaResultLineOverrideDto | null;
8419
- }
8420
- export interface ImaChemicalElementResultDto extends ImaCdfEntityReadBase {
8421
- symbol?: string | null;
8422
- value?: ImaResultValueDto | null;
8423
- }
8424
- export interface ImaResultValueDto extends ImaCdfEntityReadBase {
8425
- readValue?: string | null;
8426
- value?: number | null;
8427
- unit?: string | null;
8428
- override?: ImaResultLineOverrideDto | null;
8429
- }
8430
- export interface ImaChemicalIndexResultDto extends ImaCdfEntityReadBase {
8428
+ export interface ImaChemicalIndexResultDto {
8431
8429
  name?: string | null;
8432
8430
  value?: number | null;
8431
+ override?: ImaResultLineOverrideDto | null;
8433
8432
  }
8434
- export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
8433
+ export interface ImaTensileTestResultDto {
8434
+ heatNumber?: string | null;
8435
8435
  sampleReference?: string | null;
8436
8436
  orientation?: string | null;
8437
8437
  testLocation?: string | null;
@@ -8445,15 +8445,21 @@ export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
8445
8445
  testStandards: string[];
8446
8446
  override?: ImaResultLineOverrideDto | null;
8447
8447
  }
8448
- export interface ImaYieldStrengthResultDto extends ImaCdfEntityReadBase {
8448
+ export interface ImaResultValueDto {
8449
+ readValue?: string | null;
8450
+ unit?: string | null;
8451
+ override?: ImaResultLineOverrideDto | null;
8452
+ }
8453
+ export interface ImaYieldStrengthResultDto {
8449
8454
  label?: string | null;
8450
8455
  value?: ImaResultValueDto | null;
8451
8456
  }
8452
- export interface ImaElongationResultDto extends ImaCdfEntityReadBase {
8457
+ export interface ImaElongationResultDto {
8453
8458
  gauge?: string | null;
8454
8459
  value?: ImaResultValueDto | null;
8455
8460
  }
8456
- export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
8461
+ export interface ImaHardnessTestResultDto {
8462
+ heatNumber?: string | null;
8457
8463
  sampleReference?: string | null;
8458
8464
  orientation?: string | null;
8459
8465
  testLocation?: string | null;
@@ -8461,12 +8467,13 @@ export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
8461
8467
  testStandards: string[];
8462
8468
  override?: ImaResultLineOverrideDto | null;
8463
8469
  }
8464
- export interface ImaHardnessReadingResultDto extends ImaCdfEntityReadBase {
8470
+ export interface ImaHardnessReadingResultDto {
8465
8471
  label?: string | null;
8466
8472
  scale?: string | null;
8467
8473
  value?: number | null;
8468
8474
  }
8469
- export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
8475
+ export interface ImaImpactTestResultDto {
8476
+ heatNumber?: string | null;
8470
8477
  sampleReference?: string | null;
8471
8478
  orientation?: string | null;
8472
8479
  testLocation?: string | null;
@@ -8481,7 +8488,8 @@ export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
8481
8488
  testStandards: string[];
8482
8489
  override?: ImaResultLineOverrideDto | null;
8483
8490
  }
8484
- export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
8491
+ export interface ImaCorrosionTestResultDto {
8492
+ heatNumber?: string | null;
8485
8493
  sampleReference?: string | null;
8486
8494
  testLocation?: string | null;
8487
8495
  testMethod?: string | null;
@@ -8493,7 +8501,8 @@ export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
8493
8501
  acceptable?: boolean | null;
8494
8502
  override?: ImaResultLineOverrideDto | null;
8495
8503
  }
8496
- export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
8504
+ export interface ImaFerriteResultDto {
8505
+ heatNumber?: string | null;
8497
8506
  sampleReference?: string | null;
8498
8507
  testLocation?: string | null;
8499
8508
  ferrite?: ImaResultValueDto | null;
@@ -8504,7 +8513,8 @@ export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
8504
8513
  testStandards: string[];
8505
8514
  override?: ImaResultLineOverrideDto | null;
8506
8515
  }
8507
- export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
8516
+ export interface ImaHeatTreatmentResultDto {
8517
+ heatNumber?: string | null;
8508
8518
  stepType?: string | null;
8509
8519
  treatmentName?: string | null;
8510
8520
  temperature?: ImaResultValueDto | null;
@@ -8515,7 +8525,7 @@ export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
8515
8525
  coolingMedium?: string | null;
8516
8526
  override?: ImaResultLineOverrideDto | null;
8517
8527
  }
8518
- export interface ImaDocumentTypesResultsDto extends ImaCdfEntityReadBase {
8528
+ export interface ImaDocumentTypesResultsDto {
8519
8529
  ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
8520
8530
  radiologicalReport?: ImaSupplementaryCheckResultDto | null;
8521
8531
  liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
@@ -8634,7 +8644,7 @@ export interface ImaMaterialCheckLiteDto {
8634
8644
  purchaseOrderPartRevision?: string | null;
8635
8645
  purchaseOrderDrawing?: string | null;
8636
8646
  purchaseOrderDrawingRevision?: string | null;
8637
- heatNumber?: string | null;
8647
+ heatNumbers?: string[] | null;
8638
8648
  status: ImaMaterialCheckStatusDto;
8639
8649
  created: Date;
8640
8650
  createdBy: string;
@@ -8823,9 +8833,26 @@ export interface ImaChemistrySpecificationDto {
8823
8833
  copper?: ImaSpecificationLineDto | null;
8824
8834
  nitrogen?: ImaSpecificationLineDto | null;
8825
8835
  wolfram?: ImaSpecificationLineDto | null;
8836
+ titanium?: ImaSpecificationLineDto | null;
8837
+ aluminum?: ImaSpecificationLineDto | null;
8838
+ niobium?: ImaSpecificationLineDto | null;
8839
+ tantalum?: ImaSpecificationLineDto | null;
8840
+ cobalt?: ImaSpecificationLineDto | null;
8841
+ boron?: ImaSpecificationLineDto | null;
8842
+ lead?: ImaSpecificationLineDto | null;
8843
+ selenium?: ImaSpecificationLineDto | null;
8844
+ bismuth?: ImaSpecificationLineDto | null;
8826
8845
  iron?: ImaSpecificationLineDto | null;
8827
- }
8828
- export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8846
+ vanadium?: ImaSpecificationLineDto | null;
8847
+ oxygen?: ImaSpecificationLineDto | null;
8848
+ calcium?: ImaSpecificationLineDto | null;
8849
+ arsenic?: ImaSpecificationLineDto | null;
8850
+ tin?: ImaSpecificationLineDto | null;
8851
+ antimony?: ImaSpecificationLineDto | null;
8852
+ hydrogen?: ImaSpecificationLineDto | null;
8853
+ zirconium?: ImaSpecificationLineDto | null;
8854
+ }
8855
+ export interface ImaSpecificationLineDto {
8829
8856
  min?: number | null;
8830
8857
  max?: number | null;
8831
8858
  }
@@ -21046,9 +21046,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
21046
21046
  let options_ = {
21047
21047
  body: content_,
21048
21048
  method: "POST",
21049
- headers: {
21050
- "Accept": "application/octet-stream"
21051
- }
21049
+ headers: {}
21052
21050
  };
21053
21051
  return this.transformOptions(options_).then(transformedOptions_ => {
21054
21052
  return this.http.fetch(url_, transformedOptions_);
@@ -21063,18 +21061,10 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
21063
21061
  response.headers.forEach((v, k) => _headers[k] = v);
21064
21062
  }
21065
21063
  ;
21066
- if (status === 200 || status === 206) {
21067
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
21068
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
21069
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
21070
- if (fileName) {
21071
- fileName = decodeURIComponent(fileName);
21072
- }
21073
- else {
21074
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
21075
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
21076
- }
21077
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
21064
+ if (status === 204) {
21065
+ return response.text().then((_responseText) => {
21066
+ return;
21067
+ });
21078
21068
  }
21079
21069
  else if (status !== 200 && status !== 204) {
21080
21070
  return response.text().then((_responseText) => {
@@ -21122,6 +21112,51 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
21122
21112
  }
21123
21113
  return Promise.resolve(null);
21124
21114
  }
21115
+ /**
21116
+ * Update an existing Note or Url attachment in place
21117
+ */
21118
+ updateAttachment(id, attachmentId, request) {
21119
+ let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
21120
+ if (id === undefined || id === null)
21121
+ throw new globalThis.Error("The parameter 'id' must be defined.");
21122
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
21123
+ if (attachmentId === undefined || attachmentId === null)
21124
+ throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
21125
+ url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
21126
+ url_ = url_.replace(/[?&]$/, "");
21127
+ const content_ = JSON.stringify(request);
21128
+ let options_ = {
21129
+ body: content_,
21130
+ method: "PUT",
21131
+ headers: {
21132
+ "Content-Type": "application/json",
21133
+ }
21134
+ };
21135
+ return this.transformOptions(options_).then(transformedOptions_ => {
21136
+ return this.http.fetch(url_, transformedOptions_);
21137
+ }).then((_response) => {
21138
+ return this.processUpdateAttachment(_response);
21139
+ });
21140
+ }
21141
+ processUpdateAttachment(response) {
21142
+ const status = response.status;
21143
+ let _headers = {};
21144
+ if (response.headers && response.headers.forEach) {
21145
+ response.headers.forEach((v, k) => _headers[k] = v);
21146
+ }
21147
+ ;
21148
+ if (status === 204) {
21149
+ return response.text().then((_responseText) => {
21150
+ return;
21151
+ });
21152
+ }
21153
+ else if (status !== 200 && status !== 204) {
21154
+ return response.text().then((_responseText) => {
21155
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21156
+ });
21157
+ }
21158
+ return Promise.resolve(null);
21159
+ }
21125
21160
  getAttachmentFile(id, attachmentId) {
21126
21161
  let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
21127
21162
  if (id === undefined || id === null)
@@ -21181,9 +21216,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
21181
21216
  url_ = url_.replace(/[?&]$/, "");
21182
21217
  let options_ = {
21183
21218
  method: "DELETE",
21184
- headers: {
21185
- "Accept": "application/octet-stream"
21186
- }
21219
+ headers: {}
21187
21220
  };
21188
21221
  return this.transformOptions(options_).then(transformedOptions_ => {
21189
21222
  return this.http.fetch(url_, transformedOptions_);
@@ -21198,18 +21231,10 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
21198
21231
  response.headers.forEach((v, k) => _headers[k] = v);
21199
21232
  }
21200
21233
  ;
21201
- if (status === 200 || status === 206) {
21202
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
21203
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
21204
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
21205
- if (fileName) {
21206
- fileName = decodeURIComponent(fileName);
21207
- }
21208
- else {
21209
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
21210
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
21211
- }
21212
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
21234
+ if (status === 204) {
21235
+ return response.text().then((_responseText) => {
21236
+ return;
21237
+ });
21213
21238
  }
21214
21239
  else if (status !== 200 && status !== 204) {
21215
21240
  return response.text().then((_responseText) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260729.200.1",
3
+ "version": "20260731.202.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -22460,13 +22460,18 @@ export interface IMesProductionOrderAttachmentClient {
22460
22460
  * @param notes (optional)
22461
22461
  * @param url (optional)
22462
22462
  */
22463
- upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
22463
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void>;
22464
22464
 
22465
22465
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
22466
22466
 
22467
+ /**
22468
+ * Update an existing Note or Url attachment in place
22469
+ */
22470
+ updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
22471
+
22467
22472
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
22468
22473
 
22469
- deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
22474
+ deleteAttachment(id: string, attachmentId: number): Promise<void>;
22470
22475
  }
22471
22476
 
22472
22477
  export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
@@ -22487,7 +22492,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22487
22492
  * @param notes (optional)
22488
22493
  * @param url (optional)
22489
22494
  */
22490
- upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse> {
22495
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void> {
22491
22496
  let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
22492
22497
  if (id === undefined || id === null)
22493
22498
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22512,7 +22517,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22512
22517
  body: content_,
22513
22518
  method: "POST",
22514
22519
  headers: {
22515
- "Accept": "application/octet-stream"
22516
22520
  }
22517
22521
  };
22518
22522
 
@@ -22523,26 +22527,19 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22523
22527
  });
22524
22528
  }
22525
22529
 
22526
- protected processUpload(response: Response): Promise<FileResponse> {
22530
+ protected processUpload(response: Response): Promise<void> {
22527
22531
  const status = response.status;
22528
22532
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22529
- if (status === 200 || status === 206) {
22530
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
22531
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
22532
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
22533
- if (fileName) {
22534
- fileName = decodeURIComponent(fileName);
22535
- } else {
22536
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
22537
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
22538
- }
22539
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
22533
+ if (status === 204) {
22534
+ return response.text().then((_responseText) => {
22535
+ return;
22536
+ });
22540
22537
  } else if (status !== 200 && status !== 204) {
22541
22538
  return response.text().then((_responseText) => {
22542
22539
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22543
22540
  });
22544
22541
  }
22545
- return Promise.resolve<FileResponse>(null as any);
22542
+ return Promise.resolve<void>(null as any);
22546
22543
  }
22547
22544
 
22548
22545
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]> {
@@ -22583,6 +22580,51 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22583
22580
  return Promise.resolve<WorkOrderAttachmentDto[]>(null as any);
22584
22581
  }
22585
22582
 
22583
+ /**
22584
+ * Update an existing Note or Url attachment in place
22585
+ */
22586
+ updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void> {
22587
+ let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
22588
+ if (id === undefined || id === null)
22589
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22590
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22591
+ if (attachmentId === undefined || attachmentId === null)
22592
+ throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
22593
+ url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
22594
+ url_ = url_.replace(/[?&]$/, "");
22595
+
22596
+ const content_ = JSON.stringify(request);
22597
+
22598
+ let options_: RequestInit = {
22599
+ body: content_,
22600
+ method: "PUT",
22601
+ headers: {
22602
+ "Content-Type": "application/json",
22603
+ }
22604
+ };
22605
+
22606
+ return this.transformOptions(options_).then(transformedOptions_ => {
22607
+ return this.http.fetch(url_, transformedOptions_);
22608
+ }).then((_response: Response) => {
22609
+ return this.processUpdateAttachment(_response);
22610
+ });
22611
+ }
22612
+
22613
+ protected processUpdateAttachment(response: Response): Promise<void> {
22614
+ const status = response.status;
22615
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22616
+ if (status === 204) {
22617
+ return response.text().then((_responseText) => {
22618
+ return;
22619
+ });
22620
+ } else if (status !== 200 && status !== 204) {
22621
+ return response.text().then((_responseText) => {
22622
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22623
+ });
22624
+ }
22625
+ return Promise.resolve<void>(null as any);
22626
+ }
22627
+
22586
22628
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse> {
22587
22629
  let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
22588
22630
  if (id === undefined || id === null)
@@ -22629,7 +22671,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22629
22671
  return Promise.resolve<FileResponse>(null as any);
22630
22672
  }
22631
22673
 
22632
- deleteAttachment(id: string, attachmentId: number): Promise<FileResponse> {
22674
+ deleteAttachment(id: string, attachmentId: number): Promise<void> {
22633
22675
  let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
22634
22676
  if (id === undefined || id === null)
22635
22677
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22642,7 +22684,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22642
22684
  let options_: RequestInit = {
22643
22685
  method: "DELETE",
22644
22686
  headers: {
22645
- "Accept": "application/octet-stream"
22646
22687
  }
22647
22688
  };
22648
22689
 
@@ -22653,26 +22694,19 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22653
22694
  });
22654
22695
  }
22655
22696
 
22656
- protected processDeleteAttachment(response: Response): Promise<FileResponse> {
22697
+ protected processDeleteAttachment(response: Response): Promise<void> {
22657
22698
  const status = response.status;
22658
22699
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22659
- if (status === 200 || status === 206) {
22660
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
22661
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
22662
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
22663
- if (fileName) {
22664
- fileName = decodeURIComponent(fileName);
22665
- } else {
22666
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
22667
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
22668
- }
22669
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
22700
+ if (status === 204) {
22701
+ return response.text().then((_responseText) => {
22702
+ return;
22703
+ });
22670
22704
  } else if (status !== 200 && status !== 204) {
22671
22705
  return response.text().then((_responseText) => {
22672
22706
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22673
22707
  });
22674
22708
  }
22675
- return Promise.resolve<FileResponse>(null as any);
22709
+ return Promise.resolve<void>(null as any);
22676
22710
  }
22677
22711
  }
22678
22712
 
@@ -35796,6 +35830,13 @@ export interface SetProgramStatus {
35796
35830
 
35797
35831
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
35798
35832
 
35833
+ export interface UpdateProductionOrderAttachmentRequest {
35834
+ type?: ProductionOrderAttachmentType;
35835
+ description: string;
35836
+ notes?: string | null;
35837
+ url?: string | null;
35838
+ }
35839
+
35799
35840
  export interface WorkOrderAttachmentDto {
35800
35841
  createdBy?: UserDto | null;
35801
35842
  created?: Date | null;
@@ -36461,17 +36502,14 @@ export interface ImaCertificateTypeRequirementsDto {
36461
36502
  testResults: ImaCertificateTypeTestResultsRequirementsDto;
36462
36503
  }
36463
36504
 
36464
- export interface ImaCdfEntityReadBase {
36465
- }
36466
-
36467
- export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
36505
+ export interface ImaCertificateTypeManufacturerRequirementsDto {
36468
36506
  manufacturer?: boolean;
36469
36507
  address?: boolean;
36470
36508
  contact?: boolean;
36471
36509
  steelPlant?: boolean;
36472
36510
  }
36473
36511
 
36474
- export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
36512
+ export interface ImaCertificateTypeSignatureRequirementsDto {
36475
36513
  certifiedBy?: boolean;
36476
36514
  position?: boolean;
36477
36515
  signature?: boolean;
@@ -36479,7 +36517,7 @@ export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntity
36479
36517
  stamp?: boolean;
36480
36518
  }
36481
36519
 
36482
- export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntityReadBase {
36520
+ export interface ImaCertificateTypeThirdPartyRequirementsDto {
36483
36521
  inspectionBody?: boolean;
36484
36522
  inspectorName?: boolean;
36485
36523
  position?: boolean;
@@ -36489,13 +36527,13 @@ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntit
36489
36527
  stamp?: boolean;
36490
36528
  }
36491
36529
 
36492
- export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
36530
+ export interface ImaCertificateTypeCertificationRequirementsDto {
36493
36531
  certificateType?: boolean;
36494
36532
  certificateOfCompliance?: boolean;
36495
36533
  inspectionCertificate?: boolean;
36496
36534
  }
36497
36535
 
36498
- export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto extends ImaCdfEntityReadBase {
36536
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto {
36499
36537
  productDescription?: boolean;
36500
36538
  materialGrade?: boolean;
36501
36539
  customer?: boolean;
@@ -36507,11 +36545,11 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto ext
36507
36545
  steelMaking?: boolean;
36508
36546
  }
36509
36547
 
36510
- export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
36548
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto {
36511
36549
  usedStandards?: boolean;
36512
36550
  }
36513
36551
 
36514
- export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
36552
+ export interface ImaCertificateTypeTestResultsRequirementsDto {
36515
36553
  tensileTests?: boolean;
36516
36554
  hardnessTests?: boolean;
36517
36555
  impactTests?: boolean;
@@ -36645,7 +36683,7 @@ export interface ImaMaterialCheckDto {
36645
36683
  purchaseOrderPartRevision?: string | null;
36646
36684
  purchaseOrderDrawing?: string | null;
36647
36685
  purchaseOrderDrawingRevision?: string | null;
36648
- heatNumber?: string | null;
36686
+ heatNumbers?: string[] | null;
36649
36687
  status: ImaMaterialCheckStatusDto;
36650
36688
  created: Date;
36651
36689
  createdBy: string;
@@ -36667,7 +36705,7 @@ export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Reje
36667
36705
 
36668
36706
  export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
36669
36707
 
36670
- export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
36708
+ export interface ImaCertificateTypeResultsDto {
36671
36709
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
36672
36710
  signature: ImaCertificateTypeSignatureResultsDto;
36673
36711
  thirdParty: ImaCertificateTypeThirdPartyResultsDto;
@@ -36676,20 +36714,20 @@ export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
36676
36714
  testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesResultsDto;
36677
36715
  }
36678
36716
 
36679
- export interface ImaCertificateTypeManufacturerResultsDto extends ImaCdfEntityReadBase {
36717
+ export interface ImaCertificateTypeManufacturerResultsDto {
36680
36718
  manufacturer?: ImaCertificateTypeResultLine | null;
36681
36719
  address?: ImaCertificateTypeResultLine | null;
36682
36720
  contact?: ImaCertificateTypeResultLine | null;
36683
36721
  steelPlant?: ImaCertificateTypeResultLine | null;
36684
36722
  }
36685
36723
 
36686
- export interface ImaCertificateTypeResultLine extends ImaCdfEntityReadBase {
36724
+ export interface ImaCertificateTypeResultLine {
36687
36725
  found?: boolean;
36688
36726
  readValue?: string | null;
36689
36727
  override?: ImaResultLineOverrideDto | null;
36690
36728
  }
36691
36729
 
36692
- export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
36730
+ export interface ImaResultLineOverrideDto {
36693
36731
  approved?: boolean | null;
36694
36732
  comment?: string | null;
36695
36733
  updated: Date;
@@ -36698,7 +36736,7 @@ export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
36698
36736
  updatedByName?: string | null;
36699
36737
  }
36700
36738
 
36701
- export interface ImaCertificateTypeSignatureResultsDto extends ImaCdfEntityReadBase {
36739
+ export interface ImaCertificateTypeSignatureResultsDto {
36702
36740
  certifiedBy?: ImaCertificateTypeResultLine | null;
36703
36741
  position?: ImaCertificateTypeResultLine | null;
36704
36742
  signature?: ImaCertificateTypeResultLine | null;
@@ -36706,7 +36744,7 @@ export interface ImaCertificateTypeSignatureResultsDto extends ImaCdfEntityReadB
36706
36744
  stamp?: ImaCertificateTypeResultLine | null;
36707
36745
  }
36708
36746
 
36709
- export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityReadBase {
36747
+ export interface ImaCertificateTypeThirdPartyResultsDto {
36710
36748
  inspectionBody?: ImaCertificateTypeResultLine | null;
36711
36749
  inspectorName?: ImaCertificateTypeResultLine | null;
36712
36750
  position?: ImaCertificateTypeResultLine | null;
@@ -36716,13 +36754,13 @@ export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityRead
36716
36754
  stamp?: ImaCertificateTypeResultLine | null;
36717
36755
  }
36718
36756
 
36719
- export interface ImaCertificateTypeCertificationResultsDto extends ImaCdfEntityReadBase {
36757
+ export interface ImaCertificateTypeCertificationResultsDto {
36720
36758
  certificateType?: ImaCertificateTypeResultLine | null;
36721
36759
  certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
36722
36760
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
36723
36761
  }
36724
36762
 
36725
- export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
36763
+ export interface ImaSupplementaryCheckResultDto {
36726
36764
  status?: string | null;
36727
36765
  documentId?: string | null;
36728
36766
  acceptable?: boolean | null;
@@ -36731,7 +36769,7 @@ export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
36731
36769
  override?: ImaResultLineOverrideDto | null;
36732
36770
  }
36733
36771
 
36734
- export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends ImaCdfEntityReadBase {
36772
+ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
36735
36773
  productDescription?: ImaCertificateTypeResultLine | null;
36736
36774
  materialGrade?: ImaCertificateTypeResultLine | null;
36737
36775
  customer?: ImaCertificateTypeResultLine | null;
@@ -36743,20 +36781,17 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends
36743
36781
  steelMaking: ImaSteelMakingResultDto;
36744
36782
  }
36745
36783
 
36746
- export interface ImaSteelMakingResultDto extends ImaCdfEntityReadBase {
36784
+ export interface ImaSteelMakingResultDto {
36747
36785
  raw?: string[] | null;
36748
36786
  chain?: string[] | null;
36749
36787
  unmatched?: string[] | null;
36750
36788
  }
36751
36789
 
36752
- export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
36790
+ export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
36753
36791
  usedStandards?: ImaCertificateTypeResultLine | null;
36754
36792
  }
36755
36793
 
36756
- export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
36757
- chemistry: ImaSpecificationChemistryResultsDto;
36758
- mechanical: ImaSpecificationMechanicalResultsDto;
36759
- ferrite: ImaSpecificationFerriteResultsDto;
36794
+ export interface ImaSpecificationResultsDto {
36760
36795
  chemicalAnalysis: ImaChemicalAnalysisResultDto[];
36761
36796
  tensileTests: ImaTensileTestResultDto[];
36762
36797
  hardnessTests: ImaHardnessTestResultDto[];
@@ -36767,7 +36802,16 @@ export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
36767
36802
  documentTypes: ImaDocumentTypesResultsDto;
36768
36803
  }
36769
36804
 
36770
- export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBase {
36805
+ export interface ImaChemicalAnalysisResultDto {
36806
+ heatNumber?: string | null;
36807
+ sampleReference?: string | null;
36808
+ analysisType?: string | null;
36809
+ elements: ImaChemicalAnalysisElementsResultDto;
36810
+ indices: ImaChemicalIndexResultDto[];
36811
+ testStandards: string[];
36812
+ }
36813
+
36814
+ export interface ImaChemicalAnalysisElementsResultDto {
36771
36815
  carbon?: ImaSpecificationResultLineDto | null;
36772
36816
  manganese?: ImaSpecificationResultLineDto | null;
36773
36817
  silicon?: ImaSpecificationResultLineDto | null;
@@ -36779,10 +36823,27 @@ export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBas
36779
36823
  copper?: ImaSpecificationResultLineDto | null;
36780
36824
  nitrogen?: ImaSpecificationResultLineDto | null;
36781
36825
  wolfram?: ImaSpecificationResultLineDto | null;
36826
+ titanium?: ImaSpecificationResultLineDto | null;
36827
+ aluminum?: ImaSpecificationResultLineDto | null;
36828
+ niobium?: ImaSpecificationResultLineDto | null;
36829
+ tantalum?: ImaSpecificationResultLineDto | null;
36830
+ cobalt?: ImaSpecificationResultLineDto | null;
36831
+ boron?: ImaSpecificationResultLineDto | null;
36832
+ lead?: ImaSpecificationResultLineDto | null;
36833
+ selenium?: ImaSpecificationResultLineDto | null;
36834
+ bismuth?: ImaSpecificationResultLineDto | null;
36782
36835
  iron?: ImaSpecificationResultLineDto | null;
36836
+ vanadium?: ImaSpecificationResultLineDto | null;
36837
+ oxygen?: ImaSpecificationResultLineDto | null;
36838
+ calcium?: ImaSpecificationResultLineDto | null;
36839
+ arsenic?: ImaSpecificationResultLineDto | null;
36840
+ tin?: ImaSpecificationResultLineDto | null;
36841
+ antimony?: ImaSpecificationResultLineDto | null;
36842
+ hydrogen?: ImaSpecificationResultLineDto | null;
36843
+ zirconium?: ImaSpecificationResultLineDto | null;
36783
36844
  }
36784
36845
 
36785
- export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
36846
+ export interface ImaSpecificationResultLineDto {
36786
36847
  specificationMin?: number | null;
36787
36848
  specificationMax?: number | null;
36788
36849
  readValue?: string | null;
@@ -36792,55 +36853,14 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
36792
36853
 
36793
36854
  export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
36794
36855
 
36795
- export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
36796
- yieldStrength?: ImaSpecificationResultLineDto | null;
36797
- tensileStrength?: ImaSpecificationResultLineDto | null;
36798
- elongation?: ImaSpecificationResultLineDto | null;
36799
- reductionOfArea?: ImaSpecificationResultLineDto | null;
36800
- impactEnergy?: ImaSpecificationResultLineDto | null;
36801
- hardness?: ImaSpecificationResultLineDto | null;
36802
- }
36803
-
36804
- export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase {
36805
- ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
36806
- }
36807
-
36808
- export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
36809
- specificationMin?: number | null;
36810
- specificationMax?: number | null;
36811
- readValue?: string | null;
36812
- status: ImaSpecificationResultLineStatusDto;
36813
- override?: ImaResultLineOverrideDto | null;
36814
- measurementMethod?: string | null;
36815
- }
36816
-
36817
- export interface ImaChemicalAnalysisResultDto extends ImaCdfEntityReadBase {
36818
- sampleReference?: string | null;
36819
- analysisType?: string | null;
36820
- elements: ImaChemicalElementResultDto[];
36821
- indices: ImaChemicalIndexResultDto[];
36822
- testStandards: string[];
36823
- override?: ImaResultLineOverrideDto | null;
36824
- }
36825
-
36826
- export interface ImaChemicalElementResultDto extends ImaCdfEntityReadBase {
36827
- symbol?: string | null;
36828
- value?: ImaResultValueDto | null;
36829
- }
36830
-
36831
- export interface ImaResultValueDto extends ImaCdfEntityReadBase {
36832
- readValue?: string | null;
36833
- value?: number | null;
36834
- unit?: string | null;
36835
- override?: ImaResultLineOverrideDto | null;
36836
- }
36837
-
36838
- export interface ImaChemicalIndexResultDto extends ImaCdfEntityReadBase {
36856
+ export interface ImaChemicalIndexResultDto {
36839
36857
  name?: string | null;
36840
36858
  value?: number | null;
36859
+ override?: ImaResultLineOverrideDto | null;
36841
36860
  }
36842
36861
 
36843
- export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
36862
+ export interface ImaTensileTestResultDto {
36863
+ heatNumber?: string | null;
36844
36864
  sampleReference?: string | null;
36845
36865
  orientation?: string | null;
36846
36866
  testLocation?: string | null;
@@ -36855,17 +36875,24 @@ export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
36855
36875
  override?: ImaResultLineOverrideDto | null;
36856
36876
  }
36857
36877
 
36858
- export interface ImaYieldStrengthResultDto extends ImaCdfEntityReadBase {
36878
+ export interface ImaResultValueDto {
36879
+ readValue?: string | null;
36880
+ unit?: string | null;
36881
+ override?: ImaResultLineOverrideDto | null;
36882
+ }
36883
+
36884
+ export interface ImaYieldStrengthResultDto {
36859
36885
  label?: string | null;
36860
36886
  value?: ImaResultValueDto | null;
36861
36887
  }
36862
36888
 
36863
- export interface ImaElongationResultDto extends ImaCdfEntityReadBase {
36889
+ export interface ImaElongationResultDto {
36864
36890
  gauge?: string | null;
36865
36891
  value?: ImaResultValueDto | null;
36866
36892
  }
36867
36893
 
36868
- export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
36894
+ export interface ImaHardnessTestResultDto {
36895
+ heatNumber?: string | null;
36869
36896
  sampleReference?: string | null;
36870
36897
  orientation?: string | null;
36871
36898
  testLocation?: string | null;
@@ -36874,13 +36901,14 @@ export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
36874
36901
  override?: ImaResultLineOverrideDto | null;
36875
36902
  }
36876
36903
 
36877
- export interface ImaHardnessReadingResultDto extends ImaCdfEntityReadBase {
36904
+ export interface ImaHardnessReadingResultDto {
36878
36905
  label?: string | null;
36879
36906
  scale?: string | null;
36880
36907
  value?: number | null;
36881
36908
  }
36882
36909
 
36883
- export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
36910
+ export interface ImaImpactTestResultDto {
36911
+ heatNumber?: string | null;
36884
36912
  sampleReference?: string | null;
36885
36913
  orientation?: string | null;
36886
36914
  testLocation?: string | null;
@@ -36896,7 +36924,8 @@ export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
36896
36924
  override?: ImaResultLineOverrideDto | null;
36897
36925
  }
36898
36926
 
36899
- export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
36927
+ export interface ImaCorrosionTestResultDto {
36928
+ heatNumber?: string | null;
36900
36929
  sampleReference?: string | null;
36901
36930
  testLocation?: string | null;
36902
36931
  testMethod?: string | null;
@@ -36909,7 +36938,8 @@ export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
36909
36938
  override?: ImaResultLineOverrideDto | null;
36910
36939
  }
36911
36940
 
36912
- export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
36941
+ export interface ImaFerriteResultDto {
36942
+ heatNumber?: string | null;
36913
36943
  sampleReference?: string | null;
36914
36944
  testLocation?: string | null;
36915
36945
  ferrite?: ImaResultValueDto | null;
@@ -36921,7 +36951,8 @@ export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
36921
36951
  override?: ImaResultLineOverrideDto | null;
36922
36952
  }
36923
36953
 
36924
- export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
36954
+ export interface ImaHeatTreatmentResultDto {
36955
+ heatNumber?: string | null;
36925
36956
  stepType?: string | null;
36926
36957
  treatmentName?: string | null;
36927
36958
  temperature?: ImaResultValueDto | null;
@@ -36933,7 +36964,7 @@ export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
36933
36964
  override?: ImaResultLineOverrideDto | null;
36934
36965
  }
36935
36966
 
36936
- export interface ImaDocumentTypesResultsDto extends ImaCdfEntityReadBase {
36967
+ export interface ImaDocumentTypesResultsDto {
36937
36968
  ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
36938
36969
  radiologicalReport?: ImaSupplementaryCheckResultDto | null;
36939
36970
  liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
@@ -37065,7 +37096,7 @@ export interface ImaMaterialCheckLiteDto {
37065
37096
  purchaseOrderPartRevision?: string | null;
37066
37097
  purchaseOrderDrawing?: string | null;
37067
37098
  purchaseOrderDrawingRevision?: string | null;
37068
- heatNumber?: string | null;
37099
+ heatNumbers?: string[] | null;
37069
37100
  status: ImaMaterialCheckStatusDto;
37070
37101
  created: Date;
37071
37102
  createdBy: string;
@@ -37275,10 +37306,27 @@ export interface ImaChemistrySpecificationDto {
37275
37306
  copper?: ImaSpecificationLineDto | null;
37276
37307
  nitrogen?: ImaSpecificationLineDto | null;
37277
37308
  wolfram?: ImaSpecificationLineDto | null;
37309
+ titanium?: ImaSpecificationLineDto | null;
37310
+ aluminum?: ImaSpecificationLineDto | null;
37311
+ niobium?: ImaSpecificationLineDto | null;
37312
+ tantalum?: ImaSpecificationLineDto | null;
37313
+ cobalt?: ImaSpecificationLineDto | null;
37314
+ boron?: ImaSpecificationLineDto | null;
37315
+ lead?: ImaSpecificationLineDto | null;
37316
+ selenium?: ImaSpecificationLineDto | null;
37317
+ bismuth?: ImaSpecificationLineDto | null;
37278
37318
  iron?: ImaSpecificationLineDto | null;
37319
+ vanadium?: ImaSpecificationLineDto | null;
37320
+ oxygen?: ImaSpecificationLineDto | null;
37321
+ calcium?: ImaSpecificationLineDto | null;
37322
+ arsenic?: ImaSpecificationLineDto | null;
37323
+ tin?: ImaSpecificationLineDto | null;
37324
+ antimony?: ImaSpecificationLineDto | null;
37325
+ hydrogen?: ImaSpecificationLineDto | null;
37326
+ zirconium?: ImaSpecificationLineDto | null;
37279
37327
  }
37280
37328
 
37281
- export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
37329
+ export interface ImaSpecificationLineDto {
37282
37330
  min?: number | null;
37283
37331
  max?: number | null;
37284
37332
  }