@ignos/api-client 20260807.210.1 → 20260810.211.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>;
@@ -2586,7 +2595,7 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2586
2595
  protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
2587
2596
  }
2588
2597
  export interface IMesProductionScheduleClient {
2589
- listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2598
+ listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2590
2599
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2591
2600
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
2592
2601
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
@@ -2600,7 +2609,7 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
2600
2609
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2601
2610
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2602
2611
  });
2603
- listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2612
+ listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2604
2613
  protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
2605
2614
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
2606
2615
  protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
@@ -4837,19 +4846,12 @@ export interface MrbInstanceRevisionDto {
4837
4846
  status: DocumentStatus;
4838
4847
  statusDate: Date;
4839
4848
  sentToCustomerInfo?: MrbSentInfoDto | null;
4840
- contentStatus?: MrbContentDocumentStatusDto | null;
4841
4849
  }
4842
4850
  export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
4843
4851
  export interface MrbSentInfoDto {
4844
4852
  sentTime: Date;
4845
4853
  sentBy: UserDto;
4846
4854
  }
4847
- export interface MrbContentDocumentStatusDto {
4848
- total: number;
4849
- ready: number;
4850
- missing: number;
4851
- optional: number;
4852
- }
4853
4855
  export interface MrbPartDto {
4854
4856
  partNumber?: string | null;
4855
4857
  partName?: string | null;
@@ -4902,6 +4904,12 @@ export interface MrbExtraDocumentDto {
4902
4904
  url: string;
4903
4905
  documentType: string;
4904
4906
  }
4907
+ export interface MrbContentDocumentStatusDto {
4908
+ total: number;
4909
+ ready: number;
4910
+ missing: number;
4911
+ optional: number;
4912
+ }
4905
4913
  export interface MrbPdfExportJobDto {
4906
4914
  jobId: string;
4907
4915
  mrbInstanceId: string;
@@ -7426,6 +7434,7 @@ export interface ListProductionOrdersRequest {
7426
7434
  export interface PlannerPlanDto {
7427
7435
  resourceGroupId: string;
7428
7436
  sequence: PlannerOperationDto[];
7437
+ lockedCount: number;
7429
7438
  planSavedAt?: Date | null;
7430
7439
  isDraft: boolean;
7431
7440
  publishedETag?: string | null;
@@ -7454,43 +7463,10 @@ export interface PlannerOperationDto {
7454
7463
  project?: WorkOrderProjectDto | null;
7455
7464
  sequenceNumber: number;
7456
7465
  isManuallyLocked: boolean;
7457
- lockType: PlannerLockType;
7458
- isNewOperation: boolean;
7459
7466
  weekGroup: string;
7460
7467
  programStatus?: ProgramStatus | null;
7461
- hasNotes?: boolean;
7462
- notesUnread?: boolean;
7463
- availableToStartQuantity: number;
7464
- earlierOperationsScrappedQuantity: number;
7465
- startedQuantity?: number | null;
7466
- prerequisites: OperationPrerequisitesDto;
7467
- drawing?: DrawingDto | null;
7468
- drawingNumber?: string | null;
7469
- description?: string | null;
7470
7468
  }
7471
- export type PlannerLockType = "None" | "Manual" | "Auto";
7472
7469
  export type ProgramStatus = "Blank" | "NotOk" | "Ok";
7473
- export interface OperationPrerequisitesDto {
7474
- drawing?: boolean | null;
7475
- materials: MaterialsPrerequisiteDto;
7476
- cncProgram?: boolean | null;
7477
- }
7478
- export interface MaterialsPrerequisiteDto {
7479
- numberOfPartsCoveredByOnHand?: number | null;
7480
- materialStatus?: MaterialStatusDto;
7481
- }
7482
- export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
7483
- export interface DrawingDto {
7484
- drawingNumber: string;
7485
- revision: string;
7486
- status: string;
7487
- files: DrawingFileDto[];
7488
- }
7489
- export interface DrawingFileDto {
7490
- id: number;
7491
- name: string;
7492
- comment?: string;
7493
- }
7494
7470
  export interface WeekCapacityDto {
7495
7471
  weekGroup: string;
7496
7472
  weekStart: Date;
@@ -7507,6 +7483,7 @@ persisted active plan (draft, else published) is published instead. */
7507
7483
  }
7508
7484
  export interface PlannerSequenceInput {
7509
7485
  orderedOperationKeys: string[];
7486
+ lockedCount: number;
7510
7487
  weekGroups?: {
7511
7488
  [key: string]: string;
7512
7489
  } | null;
@@ -7518,6 +7495,7 @@ export interface PlannerPlanEventDto {
7518
7495
  by?: string | null;
7519
7496
  comment?: string | null;
7520
7497
  operationCount: number;
7498
+ lockedCount: number;
7521
7499
  }
7522
7500
  export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
7523
7501
  export interface SetProgramStatus {
@@ -7526,6 +7504,12 @@ export interface SetProgramStatus {
7526
7504
  status?: ProgramStatus;
7527
7505
  }
7528
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
+ }
7529
7513
  export interface WorkOrderAttachmentDto {
7530
7514
  createdBy?: UserDto | null;
7531
7515
  created?: Date | null;
@@ -7536,6 +7520,7 @@ export interface WorkOrderAttachmentDto {
7536
7520
  fileName?: string | null;
7537
7521
  notes?: string | null;
7538
7522
  attachmentType?: string | null;
7523
+ canDelete?: boolean;
7539
7524
  }
7540
7525
  export interface ProductionOrderDto {
7541
7526
  id: string;
@@ -7595,6 +7580,17 @@ export interface ProductionOrderOperationDto {
7595
7580
  productionStatus: OperationStatusDto;
7596
7581
  setupStatus?: OperationStatusDto | null;
7597
7582
  }
7583
+ export interface DrawingDto {
7584
+ drawingNumber: string;
7585
+ revision: string;
7586
+ status: string;
7587
+ files: DrawingFileDto[];
7588
+ }
7589
+ export interface DrawingFileDto {
7590
+ id: number;
7591
+ name: string;
7592
+ comment?: string;
7593
+ }
7598
7594
  export interface ProductionOrderBomDto {
7599
7595
  position: string;
7600
7596
  lineNumber: number;
@@ -7784,8 +7780,6 @@ export interface ProductionScheduleOperationDto {
7784
7780
  productionStatus: OperationStatusDto;
7785
7781
  setupStatus?: OperationStatusDto | null;
7786
7782
  programStatus?: ProgramStatus | null;
7787
- hasNotes: boolean;
7788
- notesUnread: boolean;
7789
7783
  }
7790
7784
  export interface SurroundingOperationDto {
7791
7785
  id: string;
@@ -7806,6 +7800,16 @@ export interface SurroundingOperationDto {
7806
7800
  earlierOperationsScrappedQuantity: number;
7807
7801
  startedQuantity?: number | null;
7808
7802
  }
7803
+ export interface OperationPrerequisitesDto {
7804
+ drawing?: boolean | null;
7805
+ materials: MaterialsPrerequisiteDto;
7806
+ cncProgram?: boolean | null;
7807
+ }
7808
+ export interface MaterialsPrerequisiteDto {
7809
+ numberOfPartsCoveredByOnHand?: number | null;
7810
+ materialStatus?: MaterialStatusDto;
7811
+ }
7812
+ export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
7809
7813
  export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
7810
7814
  export interface ListProductionScheduleOperationsRequest {
7811
7815
  resourceGroup?: string | null;
@@ -7837,7 +7841,6 @@ export interface ListProductionScheduleOperationsRequest {
7837
7841
  operationStatuses?: OperationStatusDto[] | null;
7838
7842
  after?: Date | null;
7839
7843
  before?: Date | null;
7840
- includeDiscussionSummary?: boolean;
7841
7844
  }
7842
7845
  export interface ProductionScheduleFiltersDto {
7843
7846
  partNumbers?: FilterValueWithQuantity[];
@@ -8381,7 +8384,7 @@ export interface ImaChemicalAnalysisResultDto {
8381
8384
  sampleReference?: string | null;
8382
8385
  analysisType?: string | null;
8383
8386
  elements: ImaChemicalAnalysisElementsResultDto;
8384
- composite: ImaChemicalAnalysisCompositeResultDto;
8387
+ indices: ImaChemicalIndexResultDto[];
8385
8388
  testStandards: string[];
8386
8389
  }
8387
8390
  export interface ImaChemicalAnalysisElementsResultDto {
@@ -8423,21 +8426,9 @@ export interface ImaSpecificationResultLineDto {
8423
8426
  override?: ImaResultLineOverrideDto | null;
8424
8427
  }
8425
8428
  export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
8426
- export interface ImaChemicalAnalysisCompositeResultDto {
8427
- pren?: ImaSpecificationCalculatedResultLineDto | null;
8428
- pren22?: ImaSpecificationCalculatedResultLineDto | null;
8429
- pren30?: ImaSpecificationCalculatedResultLineDto | null;
8430
- prenW?: ImaSpecificationCalculatedResultLineDto | null;
8431
- v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
8432
- ce?: ImaSpecificationCalculatedResultLineDto | null;
8433
- }
8434
- export interface ImaSpecificationCalculatedResultLineDto {
8435
- specificationMin?: number | null;
8436
- specificationMax?: number | null;
8437
- readValue?: string | null;
8438
- calculatedValue?: string | null;
8439
- errorString?: string | null;
8440
- status: ImaSpecificationResultLineStatusDto;
8429
+ export interface ImaChemicalIndexResultDto {
8430
+ name?: string | null;
8431
+ value?: number | null;
8441
8432
  override?: ImaResultLineOverrideDto | null;
8442
8433
  }
8443
8434
  export interface ImaTensileTestResultDto {
@@ -8548,7 +8539,7 @@ export interface ImaDocumentTypesResultsDto {
8548
8539
  }
8549
8540
  export interface ImaOverrideMaterialCheckRequestDto {
8550
8541
  certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
8551
- chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
8542
+ chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8552
8543
  tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8553
8544
  hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8554
8545
  impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -8608,52 +8599,6 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
8608
8599
  export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
8609
8600
  usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8610
8601
  }
8611
- export interface ImaOverrideChemicalAnalysisResultsDto {
8612
- heatNumber?: string | null;
8613
- sampleReference?: string | null;
8614
- analysisType?: string | null;
8615
- elements?: ImaOverrideChemicalAnalysisElementsResultsDto | null;
8616
- composite?: ImaOverrideChemicalAnalysisCompositeResultsDto | null;
8617
- }
8618
- export interface ImaOverrideChemicalAnalysisElementsResultsDto {
8619
- carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8620
- manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8621
- silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8622
- phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8623
- sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8624
- chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8625
- nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8626
- molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8627
- copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8628
- nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8629
- wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8630
- titanium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8631
- aluminum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8632
- niobium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8633
- tantalum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8634
- cobalt?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8635
- boron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8636
- lead?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8637
- selenium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8638
- bismuth?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8639
- iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8640
- vanadium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8641
- oxygen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8642
- calcium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8643
- arsenic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8644
- tin?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8645
- antimony?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8646
- hydrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8647
- zirconium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8648
- }
8649
- export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
8650
- pren?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8651
- pren22?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8652
- pren30?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8653
- prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8654
- v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8655
- ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8656
- }
8657
8602
  export interface ImaOverrideDocumentTypesResultsDto {
8658
8603
  ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8659
8604
  radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -8868,7 +8813,6 @@ export interface ImaSpecificationDto {
8868
8813
  updated: Date;
8869
8814
  isDeleted: boolean;
8870
8815
  chemistrySpecification: ImaChemistrySpecificationDto;
8871
- chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
8872
8816
  mechanicalSpecification: ImaMechanicalSpecificationDto;
8873
8817
  ferriteSpecification: ImaFerriteSpecificationDto;
8874
8818
  documentTypesSpecification: ImaDocumentTypesSpecificationDto;
@@ -8913,14 +8857,6 @@ export interface ImaSpecificationLineDto {
8913
8857
  min?: number | null;
8914
8858
  max?: number | null;
8915
8859
  }
8916
- export interface ImaChemistryCompositeSpecificationDto {
8917
- pren?: ImaSpecificationLineDto | null;
8918
- pren22?: ImaSpecificationLineDto | null;
8919
- pren30?: ImaSpecificationLineDto | null;
8920
- prenW?: ImaSpecificationLineDto | null;
8921
- v_Nb_Ti?: boolean | null;
8922
- ce?: boolean | null;
8923
- }
8924
8860
  export interface ImaMechanicalSpecificationDto {
8925
8861
  yieldStrength?: ImaSpecificationLineDto | null;
8926
8862
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -8980,7 +8916,6 @@ export interface ImaUpdateSpecificationDto {
8980
8916
  summary?: string | null;
8981
8917
  relatedStandards?: string[] | null;
8982
8918
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
8983
- chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
8984
8919
  mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
8985
8920
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
8986
8921
  documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
@@ -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) => {
@@ -21601,7 +21626,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
21601
21626
  this.http = http ? http : window;
21602
21627
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
21603
21628
  }
21604
- listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material, includeDiscussionSummary) {
21629
+ listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material) {
21605
21630
  let url_ = this.baseUrl + "/mes/productionschedule?";
21606
21631
  if (resourceGroup !== undefined && resourceGroup !== null)
21607
21632
  url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
@@ -21625,10 +21650,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
21625
21650
  url_ += "partName=" + encodeURIComponent("" + partName) + "&";
21626
21651
  if (material !== undefined && material !== null)
21627
21652
  url_ += "material=" + encodeURIComponent("" + material) + "&";
21628
- if (includeDiscussionSummary === null)
21629
- throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
21630
- else if (includeDiscussionSummary !== undefined)
21631
- url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
21632
21653
  url_ = url_.replace(/[?&]$/, "");
21633
21654
  let options_ = {
21634
21655
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260807.210.1",
3
+ "version": "20260810.211.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
 
@@ -23071,7 +23105,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
23071
23105
 
23072
23106
  export interface IMesProductionScheduleClient {
23073
23107
 
23074
- listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
23108
+ listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
23075
23109
 
23076
23110
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
23077
23111
 
@@ -23096,7 +23130,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
23096
23130
  this.baseUrl = baseUrl ?? "";
23097
23131
  }
23098
23132
 
23099
- listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
23133
+ listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
23100
23134
  let url_ = this.baseUrl + "/mes/productionschedule?";
23101
23135
  if (resourceGroup !== undefined && resourceGroup !== null)
23102
23136
  url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
@@ -23120,10 +23154,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
23120
23154
  url_ += "partName=" + encodeURIComponent("" + partName) + "&";
23121
23155
  if (material !== undefined && material !== null)
23122
23156
  url_ += "material=" + encodeURIComponent("" + material) + "&";
23123
- if (includeDiscussionSummary === null)
23124
- throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
23125
- else if (includeDiscussionSummary !== undefined)
23126
- url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
23127
23157
  url_ = url_.replace(/[?&]$/, "");
23128
23158
 
23129
23159
  let options_: RequestInit = {
@@ -32766,7 +32796,6 @@ export interface MrbInstanceRevisionDto {
32766
32796
  status: DocumentStatus;
32767
32797
  statusDate: Date;
32768
32798
  sentToCustomerInfo?: MrbSentInfoDto | null;
32769
- contentStatus?: MrbContentDocumentStatusDto | null;
32770
32799
  }
32771
32800
 
32772
32801
  export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
@@ -32776,13 +32805,6 @@ export interface MrbSentInfoDto {
32776
32805
  sentBy: UserDto;
32777
32806
  }
32778
32807
 
32779
- export interface MrbContentDocumentStatusDto {
32780
- total: number;
32781
- ready: number;
32782
- missing: number;
32783
- optional: number;
32784
- }
32785
-
32786
32808
  export interface MrbPartDto {
32787
32809
  partNumber?: string | null;
32788
32810
  partName?: string | null;
@@ -32843,6 +32865,13 @@ export interface MrbExtraDocumentDto {
32843
32865
  documentType: string;
32844
32866
  }
32845
32867
 
32868
+ export interface MrbContentDocumentStatusDto {
32869
+ total: number;
32870
+ ready: number;
32871
+ missing: number;
32872
+ optional: number;
32873
+ }
32874
+
32846
32875
  export interface MrbPdfExportJobDto {
32847
32876
  jobId: string;
32848
32877
  mrbInstanceId: string;
@@ -35723,6 +35752,7 @@ export interface ListProductionOrdersRequest {
35723
35752
  export interface PlannerPlanDto {
35724
35753
  resourceGroupId: string;
35725
35754
  sequence: PlannerOperationDto[];
35755
+ lockedCount: number;
35726
35756
  planSavedAt?: Date | null;
35727
35757
  isDraft: boolean;
35728
35758
  publishedETag?: string | null;
@@ -35752,51 +35782,12 @@ export interface PlannerOperationDto {
35752
35782
  project?: WorkOrderProjectDto | null;
35753
35783
  sequenceNumber: number;
35754
35784
  isManuallyLocked: boolean;
35755
- lockType: PlannerLockType;
35756
- isNewOperation: boolean;
35757
35785
  weekGroup: string;
35758
35786
  programStatus?: ProgramStatus | null;
35759
- hasNotes?: boolean;
35760
- notesUnread?: boolean;
35761
- availableToStartQuantity: number;
35762
- earlierOperationsScrappedQuantity: number;
35763
- startedQuantity?: number | null;
35764
- prerequisites: OperationPrerequisitesDto;
35765
- drawing?: DrawingDto | null;
35766
- drawingNumber?: string | null;
35767
- description?: string | null;
35768
35787
  }
35769
35788
 
35770
- export type PlannerLockType = "None" | "Manual" | "Auto";
35771
-
35772
35789
  export type ProgramStatus = "Blank" | "NotOk" | "Ok";
35773
35790
 
35774
- export interface OperationPrerequisitesDto {
35775
- drawing?: boolean | null;
35776
- materials: MaterialsPrerequisiteDto;
35777
- cncProgram?: boolean | null;
35778
- }
35779
-
35780
- export interface MaterialsPrerequisiteDto {
35781
- numberOfPartsCoveredByOnHand?: number | null;
35782
- materialStatus?: MaterialStatusDto;
35783
- }
35784
-
35785
- export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
35786
-
35787
- export interface DrawingDto {
35788
- drawingNumber: string;
35789
- revision: string;
35790
- status: string;
35791
- files: DrawingFileDto[];
35792
- }
35793
-
35794
- export interface DrawingFileDto {
35795
- id: number;
35796
- name: string;
35797
- comment?: string;
35798
- }
35799
-
35800
35791
  export interface WeekCapacityDto {
35801
35792
  weekGroup: string;
35802
35793
  weekStart: Date;
@@ -35815,6 +35806,7 @@ persisted active plan (draft, else published) is published instead. */
35815
35806
 
35816
35807
  export interface PlannerSequenceInput {
35817
35808
  orderedOperationKeys: string[];
35809
+ lockedCount: number;
35818
35810
  weekGroups?: { [key: string]: string; } | null;
35819
35811
  }
35820
35812
 
@@ -35825,6 +35817,7 @@ export interface PlannerPlanEventDto {
35825
35817
  by?: string | null;
35826
35818
  comment?: string | null;
35827
35819
  operationCount: number;
35820
+ lockedCount: number;
35828
35821
  }
35829
35822
 
35830
35823
  export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
@@ -35837,6 +35830,13 @@ export interface SetProgramStatus {
35837
35830
 
35838
35831
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
35839
35832
 
35833
+ export interface UpdateProductionOrderAttachmentRequest {
35834
+ type?: ProductionOrderAttachmentType;
35835
+ description: string;
35836
+ notes?: string | null;
35837
+ url?: string | null;
35838
+ }
35839
+
35840
35840
  export interface WorkOrderAttachmentDto {
35841
35841
  createdBy?: UserDto | null;
35842
35842
  created?: Date | null;
@@ -35847,6 +35847,7 @@ export interface WorkOrderAttachmentDto {
35847
35847
  fileName?: string | null;
35848
35848
  notes?: string | null;
35849
35849
  attachmentType?: string | null;
35850
+ canDelete?: boolean;
35850
35851
  }
35851
35852
 
35852
35853
  export interface ProductionOrderDto {
@@ -35909,6 +35910,19 @@ export interface ProductionOrderOperationDto {
35909
35910
  setupStatus?: OperationStatusDto | null;
35910
35911
  }
35911
35912
 
35913
+ export interface DrawingDto {
35914
+ drawingNumber: string;
35915
+ revision: string;
35916
+ status: string;
35917
+ files: DrawingFileDto[];
35918
+ }
35919
+
35920
+ export interface DrawingFileDto {
35921
+ id: number;
35922
+ name: string;
35923
+ comment?: string;
35924
+ }
35925
+
35912
35926
  export interface ProductionOrderBomDto {
35913
35927
  position: string;
35914
35928
  lineNumber: number;
@@ -36113,8 +36127,6 @@ export interface ProductionScheduleOperationDto {
36113
36127
  productionStatus: OperationStatusDto;
36114
36128
  setupStatus?: OperationStatusDto | null;
36115
36129
  programStatus?: ProgramStatus | null;
36116
- hasNotes: boolean;
36117
- notesUnread: boolean;
36118
36130
  }
36119
36131
 
36120
36132
  export interface SurroundingOperationDto {
@@ -36137,6 +36149,19 @@ export interface SurroundingOperationDto {
36137
36149
  startedQuantity?: number | null;
36138
36150
  }
36139
36151
 
36152
+ export interface OperationPrerequisitesDto {
36153
+ drawing?: boolean | null;
36154
+ materials: MaterialsPrerequisiteDto;
36155
+ cncProgram?: boolean | null;
36156
+ }
36157
+
36158
+ export interface MaterialsPrerequisiteDto {
36159
+ numberOfPartsCoveredByOnHand?: number | null;
36160
+ materialStatus?: MaterialStatusDto;
36161
+ }
36162
+
36163
+ export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
36164
+
36140
36165
  export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
36141
36166
 
36142
36167
  export interface ListProductionScheduleOperationsRequest {
@@ -36169,7 +36194,6 @@ export interface ListProductionScheduleOperationsRequest {
36169
36194
  operationStatuses?: OperationStatusDto[] | null;
36170
36195
  after?: Date | null;
36171
36196
  before?: Date | null;
36172
- includeDiscussionSummary?: boolean;
36173
36197
  }
36174
36198
 
36175
36199
  export interface ProductionScheduleFiltersDto {
@@ -36784,7 +36808,7 @@ export interface ImaChemicalAnalysisResultDto {
36784
36808
  sampleReference?: string | null;
36785
36809
  analysisType?: string | null;
36786
36810
  elements: ImaChemicalAnalysisElementsResultDto;
36787
- composite: ImaChemicalAnalysisCompositeResultDto;
36811
+ indices: ImaChemicalIndexResultDto[];
36788
36812
  testStandards: string[];
36789
36813
  }
36790
36814
 
@@ -36830,22 +36854,9 @@ export interface ImaSpecificationResultLineDto {
36830
36854
 
36831
36855
  export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
36832
36856
 
36833
- export interface ImaChemicalAnalysisCompositeResultDto {
36834
- pren?: ImaSpecificationCalculatedResultLineDto | null;
36835
- pren22?: ImaSpecificationCalculatedResultLineDto | null;
36836
- pren30?: ImaSpecificationCalculatedResultLineDto | null;
36837
- prenW?: ImaSpecificationCalculatedResultLineDto | null;
36838
- v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
36839
- ce?: ImaSpecificationCalculatedResultLineDto | null;
36840
- }
36841
-
36842
- export interface ImaSpecificationCalculatedResultLineDto {
36843
- specificationMin?: number | null;
36844
- specificationMax?: number | null;
36845
- readValue?: string | null;
36846
- calculatedValue?: string | null;
36847
- errorString?: string | null;
36848
- status: ImaSpecificationResultLineStatusDto;
36857
+ export interface ImaChemicalIndexResultDto {
36858
+ name?: string | null;
36859
+ value?: number | null;
36849
36860
  override?: ImaResultLineOverrideDto | null;
36850
36861
  }
36851
36862
 
@@ -36968,7 +36979,7 @@ export interface ImaDocumentTypesResultsDto {
36968
36979
 
36969
36980
  export interface ImaOverrideMaterialCheckRequestDto {
36970
36981
  certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
36971
- chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
36982
+ chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36972
36983
  tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36973
36984
  hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36974
36985
  impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -37037,55 +37048,6 @@ export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
37037
37048
  usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37038
37049
  }
37039
37050
 
37040
- export interface ImaOverrideChemicalAnalysisResultsDto {
37041
- heatNumber?: string | null;
37042
- sampleReference?: string | null;
37043
- analysisType?: string | null;
37044
- elements?: ImaOverrideChemicalAnalysisElementsResultsDto | null;
37045
- composite?: ImaOverrideChemicalAnalysisCompositeResultsDto | null;
37046
- }
37047
-
37048
- export interface ImaOverrideChemicalAnalysisElementsResultsDto {
37049
- carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37050
- manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37051
- silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37052
- phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37053
- sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37054
- chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37055
- nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37056
- molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37057
- copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37058
- nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37059
- wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37060
- titanium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37061
- aluminum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37062
- niobium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37063
- tantalum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37064
- cobalt?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37065
- boron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37066
- lead?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37067
- selenium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37068
- bismuth?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37069
- iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37070
- vanadium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37071
- oxygen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37072
- calcium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37073
- arsenic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37074
- tin?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37075
- antimony?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37076
- hydrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37077
- zirconium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37078
- }
37079
-
37080
- export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
37081
- pren?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37082
- pren22?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37083
- pren30?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37084
- prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37085
- v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37086
- ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37087
- }
37088
-
37089
37051
  export interface ImaOverrideDocumentTypesResultsDto {
37090
37052
  ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37091
37053
  radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -37322,7 +37284,6 @@ export interface ImaSpecificationDto {
37322
37284
  updated: Date;
37323
37285
  isDeleted: boolean;
37324
37286
  chemistrySpecification: ImaChemistrySpecificationDto;
37325
- chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
37326
37287
  mechanicalSpecification: ImaMechanicalSpecificationDto;
37327
37288
  ferriteSpecification: ImaFerriteSpecificationDto;
37328
37289
  documentTypesSpecification: ImaDocumentTypesSpecificationDto;
@@ -37371,15 +37332,6 @@ export interface ImaSpecificationLineDto {
37371
37332
  max?: number | null;
37372
37333
  }
37373
37334
 
37374
- export interface ImaChemistryCompositeSpecificationDto {
37375
- pren?: ImaSpecificationLineDto | null;
37376
- pren22?: ImaSpecificationLineDto | null;
37377
- pren30?: ImaSpecificationLineDto | null;
37378
- prenW?: ImaSpecificationLineDto | null;
37379
- v_Nb_Ti?: boolean | null;
37380
- ce?: boolean | null;
37381
- }
37382
-
37383
37335
  export interface ImaMechanicalSpecificationDto {
37384
37336
  yieldStrength?: ImaSpecificationLineDto | null;
37385
37337
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -37449,7 +37401,6 @@ export interface ImaUpdateSpecificationDto {
37449
37401
  summary?: string | null;
37450
37402
  relatedStandards?: string[] | null;
37451
37403
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
37452
- chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
37453
37404
  mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
37454
37405
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
37455
37406
  documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;