@ignos/api-client 20260715.185.1-alpha → 20260715.187.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.
@@ -606,7 +606,7 @@ export interface IKpiAdminResourceClient {
606
606
  addShiftSettingPeriods(request: AddShiftSettingPeriods): Promise<ShiftSettingsPeriodDto[]>;
607
607
  deleteShiftSettingPeriods(request: DeleteShiftSettingsPeriod): Promise<FileResponse>;
608
608
  updateShiftSettingsPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
609
- copyShiftSettingsPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
609
+ copyShiftSettingsPeriod(resourceExternalId: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto[]>;
610
610
  migrateCapacityToSettings(): Promise<MigrationResultDto>;
611
611
  }
612
612
  export declare class KpiAdminResourceClient extends AuthorizedApiBase implements IKpiAdminResourceClient {
@@ -643,8 +643,8 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
643
643
  protected processDeleteShiftSettingPeriods(response: Response): Promise<FileResponse>;
644
644
  updateShiftSettingsPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
645
645
  protected processUpdateShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto>;
646
- copyShiftSettingsPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
647
- protected processCopyShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto>;
646
+ copyShiftSettingsPeriod(resourceExternalId: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto[]>;
647
+ protected processCopyShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto[]>;
648
648
  migrateCapacityToSettings(): Promise<MigrationResultDto>;
649
649
  protected processMigrateCapacityToSettings(response: Response): Promise<MigrationResultDto>;
650
650
  }
@@ -1389,6 +1389,24 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
1389
1389
  deleteMachine(id: number): Promise<void>;
1390
1390
  protected processDeleteMachine(response: Response): Promise<void>;
1391
1391
  }
1392
+ export interface IMachineDataClient {
1393
+ getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
1394
+ getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
1395
+ exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
1396
+ }
1397
+ export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
1398
+ private http;
1399
+ private baseUrl;
1400
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1401
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1402
+ });
1403
+ getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
1404
+ protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
1405
+ getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
1406
+ protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
1407
+ exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
1408
+ protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
1409
+ }
1392
1410
  export interface ILinksClient {
1393
1411
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
1394
1412
  createLink(request: CreateLinkRequest): Promise<LinkDto>;
@@ -2395,6 +2413,24 @@ export declare class MesEngineeringChangeOrdersClient extends AuthorizedApiBase
2395
2413
  getEngineeringChangeOrderDetails(partNumber: string | undefined): Promise<EngineeringChangeOrdersDto>;
2396
2414
  protected processGetEngineeringChangeOrderDetails(response: Response): Promise<EngineeringChangeOrdersDto>;
2397
2415
  }
2416
+ export interface IMesIndirectActivitiesClient {
2417
+ listIndirectActivities(): Promise<IndirectActivityDto[]>;
2418
+ getMyActiveIndirectActivity(): Promise<CurrentIndirectActivityDto>;
2419
+ startIndirectActivity(request: StartIndirectActivity): Promise<void>;
2420
+ }
2421
+ export declare class MesIndirectActivitiesClient extends AuthorizedApiBase implements IMesIndirectActivitiesClient {
2422
+ private http;
2423
+ private baseUrl;
2424
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2425
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2426
+ });
2427
+ listIndirectActivities(): Promise<IndirectActivityDto[]>;
2428
+ protected processListIndirectActivities(response: Response): Promise<IndirectActivityDto[]>;
2429
+ getMyActiveIndirectActivity(): Promise<CurrentIndirectActivityDto>;
2430
+ protected processGetMyActiveIndirectActivity(response: Response): Promise<CurrentIndirectActivityDto>;
2431
+ startIndirectActivity(request: StartIndirectActivity): Promise<void>;
2432
+ protected processStartIndirectActivity(response: Response): Promise<void>;
2433
+ }
2398
2434
  export interface IMesLinksClient {
2399
2435
  addMesLink(request: AddMesLink): Promise<void>;
2400
2436
  listMesLinks(types: MesLinkTypeDto[] | null | undefined, workOrderId: string | null | undefined, operation: number | null | undefined): Promise<MesLinkDto[]>;
@@ -2434,41 +2470,42 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2434
2470
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2435
2471
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2436
2472
  }
2437
- export interface IMesPlannerClient {
2438
- getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
2439
- publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
2440
- updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2441
- reset(resourceGroupId: string): Promise<PlannerPlanDto>;
2442
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2443
- discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
2444
- getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
2445
- getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
2446
- setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
2447
- }
2448
- export declare class MesPlannerClient extends AuthorizedApiBase implements IMesPlannerClient {
2473
+ export interface IMesProductionOrderAttachmentClient {
2474
+ /**
2475
+ * Upload a new attachment (with or without a file)
2476
+ * @param type (optional)
2477
+ * @param description (optional)
2478
+ * @param file (optional)
2479
+ * @param notes (optional)
2480
+ * @param url (optional)
2481
+ */
2482
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2483
+ getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2484
+ getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2485
+ deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2486
+ }
2487
+ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
2449
2488
  private http;
2450
2489
  private baseUrl;
2451
2490
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2452
2491
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2453
2492
  });
2454
- getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
2455
- protected processGetPlan(response: Response): Promise<PlannerPlanDto>;
2456
- publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
2457
- protected processPublish(response: Response): Promise<PlannerPlanDto>;
2458
- updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2459
- protected processUpdateSequence(response: Response): Promise<PlannerPlanDto>;
2460
- reset(resourceGroupId: string): Promise<PlannerPlanDto>;
2461
- protected processReset(response: Response): Promise<PlannerPlanDto>;
2462
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2463
- protected processSaveDraft(response: Response): Promise<PlannerPlanDto>;
2464
- discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
2465
- protected processDiscardDraft(response: Response): Promise<PlannerPlanDto>;
2466
- getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
2467
- protected processGetVersions(response: Response): Promise<PlannerPlanEventDto[]>;
2468
- getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
2469
- protected processGetVersion(response: Response): Promise<PlannerPlanDto>;
2470
- setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
2471
- protected processSetProgramStatus(response: Response): Promise<ProgramStatus>;
2493
+ /**
2494
+ * Upload a new attachment (with or without a file)
2495
+ * @param type (optional)
2496
+ * @param description (optional)
2497
+ * @param file (optional)
2498
+ * @param notes (optional)
2499
+ * @param url (optional)
2500
+ */
2501
+ upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2502
+ protected processUpload(response: Response): Promise<FileResponse>;
2503
+ getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2504
+ protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
2505
+ getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
2506
+ protected processGetAttachmentFile(response: Response): Promise<FileResponse>;
2507
+ deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
2508
+ protected processDeleteAttachment(response: Response): Promise<FileResponse>;
2472
2509
  }
2473
2510
  export interface IMesProductionOrderClient {
2474
2511
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -2667,7 +2704,7 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
2667
2704
  }
2668
2705
  export interface IInspectMatchMaterialChecksAdminClient {
2669
2706
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
2670
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto>;
2707
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto>;
2671
2708
  updateMaterialCheckMetadata(id: string, metadataRequest: ImaUpdateMaterialCheckMetadataRequestDto): Promise<ImaMaterialCheckDto>;
2672
2709
  deleteMaterialCheck(id: string): Promise<void>;
2673
2710
  }
@@ -2679,7 +2716,7 @@ export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApi
2679
2716
  });
2680
2717
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
2681
2718
  protected processUpdateMaterialCheckOverrides(response: Response): Promise<ImaMaterialCheckDto>;
2682
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto>;
2719
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto>;
2683
2720
  protected processUpdateMaterialCheckStatus(response: Response): Promise<ImaMaterialCheckDto>;
2684
2721
  updateMaterialCheckMetadata(id: string, metadataRequest: ImaUpdateMaterialCheckMetadataRequestDto): Promise<ImaMaterialCheckDto>;
2685
2722
  protected processUpdateMaterialCheckMetadata(response: Response): Promise<ImaMaterialCheckDto>;
@@ -4213,7 +4250,7 @@ export interface UpdateCalendarSettingsCommand {
4213
4250
  }
4214
4251
  export interface ShiftPlansDto {
4215
4252
  active: ShiftPlanDto[];
4216
- archived: ShiftPlanDto[];
4253
+ archived: ArchivedShiftPlanDto[];
4217
4254
  }
4218
4255
  export interface ShiftPlanDto {
4219
4256
  id: string;
@@ -4225,6 +4262,27 @@ export interface ShiftPlanDto {
4225
4262
  updatedBy?: string | null;
4226
4263
  isArchived?: boolean;
4227
4264
  }
4265
+ export interface ArchivedShiftPlanDto extends ShiftPlanDto {
4266
+ usage: ShiftSettingPeriodsDto[];
4267
+ }
4268
+ export interface ShiftSettingPeriodsDto {
4269
+ resourceExternalId: string;
4270
+ resourceName: string;
4271
+ resourceDescription?: string | null;
4272
+ periods: ShiftSettingsPeriodDto[];
4273
+ }
4274
+ export interface ShiftSettingsPeriodDto {
4275
+ resourceExternalId: string;
4276
+ shiftPlanId: string;
4277
+ shiftPlanName: string;
4278
+ effectiveFrom: string;
4279
+ effectiveTo?: string | null;
4280
+ targetPercent: number;
4281
+ comment?: string | null;
4282
+ hoursPerWeekday: {
4283
+ [key in DayOfWeek]?: number;
4284
+ };
4285
+ }
4228
4286
  export interface CreateShiftPlan {
4229
4287
  name: string;
4230
4288
  hoursPerWeekday: {
@@ -4246,23 +4304,6 @@ export interface ShiftSettingsPeriodGroupDto {
4246
4304
  resourceGroupName: string;
4247
4305
  resources: ShiftSettingPeriodsDto[];
4248
4306
  }
4249
- export interface ShiftSettingPeriodsDto {
4250
- resourceExternalId: string;
4251
- resourceName: string;
4252
- periods: ShiftSettingsPeriodDto[];
4253
- }
4254
- export interface ShiftSettingsPeriodDto {
4255
- resourceExternalId: string;
4256
- shiftPlanId: string;
4257
- shiftPlanName: string;
4258
- effectiveFrom: string;
4259
- effectiveTo?: string | null;
4260
- targetPercent: number;
4261
- comment?: string | null;
4262
- hoursPerWeekday: {
4263
- [key in DayOfWeek]?: number;
4264
- };
4265
- }
4266
4307
  export interface AddShiftSettingPeriods {
4267
4308
  resourceExternalIds: string[];
4268
4309
  shiftPlanId: string;
@@ -4284,8 +4325,11 @@ export interface PeriodKey {
4284
4325
  effectiveFrom: string;
4285
4326
  }
4286
4327
  export interface CopyShiftSettingsPeriodRequest {
4287
- targetResourceExternalId: string;
4288
- effectiveFrom: string;
4328
+ sourceShiftSettingPeriods: SourceShiftSettingPeriod[];
4329
+ }
4330
+ export interface SourceShiftSettingPeriod {
4331
+ sourceResourceExternalId: string;
4332
+ sourceEffectiveFrom: string;
4289
4333
  }
4290
4334
  export interface MigrationResultDto {
4291
4335
  created?: number;
@@ -4956,6 +5000,7 @@ export interface MrbCompanySettingsDto {
4956
5000
  detailedTransactionsMissingInErp: boolean;
4957
5001
  allowMaterialReplacementOnConsumptions: boolean;
4958
5002
  nonSplittableTraceUnits: string[];
5003
+ disableTraceEditing: boolean;
4959
5004
  }
4960
5005
  export interface UpsertMrbCompanySettings {
4961
5006
  stampWithLot: boolean;
@@ -4973,6 +5018,7 @@ export interface UpsertMrbCompanySettings {
4973
5018
  detailedTransactionsMissingInErp: boolean;
4974
5019
  allowMaterialReplacementOnConsumptions: boolean;
4975
5020
  nonSplittableTraceUnits: string[];
5021
+ disableTraceEditing: boolean;
4976
5022
  }
4977
5023
  export interface TraceDto {
4978
5024
  id: string;
@@ -5613,6 +5659,40 @@ export interface CrossCompanyUtilizationSummaryDto {
5613
5659
  crossCompany: FactoryUtilizationDto;
5614
5660
  companies: MachineGroupUtilizationDto[];
5615
5661
  }
5662
+ export interface LiveMachineDataDto {
5663
+ assetId?: number;
5664
+ dataPoints?: LiveMachineDataPointDto[];
5665
+ }
5666
+ export interface LiveMachineDataPointDto {
5667
+ externalId?: string;
5668
+ timestamp?: number | null;
5669
+ numericValue?: number | null;
5670
+ stringValue?: string | null;
5671
+ }
5672
+ export interface TimeseriesGraphDto {
5673
+ assetId?: number;
5674
+ series?: TimeseriesGraphSeriesDto[];
5675
+ }
5676
+ export interface TimeseriesGraphSeriesDto {
5677
+ externalId?: string;
5678
+ isString?: boolean;
5679
+ dataPoints?: TimeseriesGraphDataPointDto[];
5680
+ }
5681
+ export interface TimeseriesGraphDataPointDto {
5682
+ timestamp?: number;
5683
+ numericValue?: number | null;
5684
+ stringValue?: string | null;
5685
+ }
5686
+ export interface ExportTimeseriesGraphRequest {
5687
+ series?: TimeseriesExportSeries[];
5688
+ startTime?: Date;
5689
+ endTime?: Date;
5690
+ }
5691
+ export interface TimeseriesExportSeries {
5692
+ externalId?: string;
5693
+ displayName?: string | null;
5694
+ unit?: string | null;
5695
+ }
5616
5696
  export interface LinkDto {
5617
5697
  id: string;
5618
5698
  uri: string;
@@ -5656,7 +5736,7 @@ export interface ImportDocument {
5656
5736
  lots: string[];
5657
5737
  frontPageDocumentId?: string | null;
5658
5738
  documentSource: DocumentSource;
5659
- uploadKey: string;
5739
+ uploadKey?: string | null;
5660
5740
  created?: Date | null;
5661
5741
  createdBy?: string | null;
5662
5742
  createdById?: string | null;
@@ -5688,7 +5768,8 @@ export interface ImportDocumentRevisionDto {
5688
5768
  approvals: DocumentRevisionApprovalDto[];
5689
5769
  }
5690
5770
  export interface ImportDocumentRevisionContentDto {
5691
- uploadFilename: string;
5771
+ uploadFilename?: string | null;
5772
+ sourceUrl?: string | null;
5692
5773
  originalFilename: string;
5693
5774
  extension: string;
5694
5775
  }
@@ -7215,6 +7296,19 @@ export interface EngineeringChangeOrdersDto {
7215
7296
  mostRecentEngineeringChangeOrder?: Date | null;
7216
7297
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
7217
7298
  }
7299
+ export interface IndirectActivityDto {
7300
+ activityId: string;
7301
+ name: string;
7302
+ companyId: string;
7303
+ }
7304
+ export interface CurrentIndirectActivityDto {
7305
+ activityId?: string | null;
7306
+ personnelNumber?: string | null;
7307
+ startTime?: Date | null;
7308
+ }
7309
+ export interface StartIndirectActivity {
7310
+ activityId: string;
7311
+ }
7218
7312
  export interface AddMesLink {
7219
7313
  uri: string;
7220
7314
  name: string;
@@ -7255,72 +7349,17 @@ export interface LabelId {
7255
7349
  parcelId: string;
7256
7350
  trackingId?: string | null;
7257
7351
  }
7258
- export interface PlannerPlanDto {
7259
- resourceGroupId: string;
7260
- sequence: PlannerOperationDto[];
7261
- lockedCount: number;
7262
- planSavedAt?: Date | null;
7263
- isDraft: boolean;
7264
- publishedETag?: string | null;
7265
- }
7266
- export interface PlannerOperationDto {
7267
- id: string;
7268
- productionOrderNumber: string;
7269
- operation: number;
7270
- operationName: string;
7271
- plannedStart: Date;
7272
- plannedEnd?: Date | null;
7273
- status: OperationStatusDto;
7274
- resourceId: string;
7275
- resourceName: string;
7276
- resourceDepartmentNumber?: string | null;
7277
- resourceDepartmentName?: string | null;
7278
- partNumber: string;
7279
- partName?: string | null;
7280
- partMaterial?: string | null;
7281
- quantity: number;
7282
- producedQuantity: number;
7283
- totalPlannedHours?: number;
7284
- totalUsedHours?: number;
7285
- customerName?: string | null;
7286
- project?: WorkOrderProjectDto | null;
7287
- sequenceNumber: number;
7288
- isManuallyLocked: boolean;
7289
- weekGroup: string;
7290
- programStatus?: ProgramStatus | null;
7291
- }
7292
- export type ProgramStatus = "Blank" | "NotOk" | "Ok";
7293
- export interface PublishPlanRequest {
7294
- /** ETag of the published plan the caller last read, used for optimistic
7295
- concurrency. Null if the caller never observed a published plan. */
7296
- publishedETag?: string | null;
7297
- comment?: string | null;
7298
- /** The caller's unsaved working sequence to publish. When null, the
7299
- persisted active plan (draft, else published) is published instead. */
7300
- sequence?: PlannerSequenceInput | null;
7301
- }
7302
- export interface PlannerSequenceInput {
7303
- orderedOperationKeys: string[];
7304
- lockedCount: number;
7305
- weekGroups?: {
7306
- [key: string]: string;
7307
- } | null;
7308
- }
7309
- export interface PlannerPlanEventDto {
7310
- id: string;
7311
- eventType: PlannerEventType;
7312
- occurredAt: Date;
7313
- by?: string | null;
7314
- comment?: string | null;
7315
- operationCount: number;
7316
- lockedCount: number;
7317
- }
7318
- export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp" | "AutoRollover";
7319
- export interface SetProgramStatus {
7320
- workOrderId?: string;
7321
- operationNumber?: number;
7322
- status?: ProgramStatus;
7323
- resourceId?: string;
7352
+ export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
7353
+ export interface WorkOrderAttachmentDto {
7354
+ createdBy?: UserDto | null;
7355
+ created?: Date | null;
7356
+ modifiedBy?: UserDto | null;
7357
+ modified?: Date | null;
7358
+ attachmentId?: number | null;
7359
+ name?: string | null;
7360
+ fileName?: string | null;
7361
+ notes?: string | null;
7362
+ attachmentType?: string | null;
7324
7363
  }
7325
7364
  export interface ProductionOrderDto {
7326
7365
  id: string;
@@ -7380,15 +7419,6 @@ export interface ProductionOrderOperationDto {
7380
7419
  productionStatus: OperationStatusDto;
7381
7420
  setupStatus?: OperationStatusDto | null;
7382
7421
  }
7383
- export interface WorkOrderAttachmentDto {
7384
- createdBy?: UserDto | null;
7385
- created?: Date | null;
7386
- modifiedBy?: UserDto | null;
7387
- modified?: Date | null;
7388
- name?: string | null;
7389
- notes?: string | null;
7390
- attachmentType?: string | null;
7391
- }
7392
7422
  export interface DrawingDto {
7393
7423
  drawingNumber: string;
7394
7424
  revision: string;
@@ -7594,7 +7624,6 @@ export interface ProductionScheduleOperationDto {
7594
7624
  materialPickStatus: MaterialPickStatus;
7595
7625
  productionStatus: OperationStatusDto;
7596
7626
  setupStatus?: OperationStatusDto | null;
7597
- programStatus?: ProgramStatus | null;
7598
7627
  }
7599
7628
  export interface SurroundingOperationDto {
7600
7629
  id: string;
@@ -7893,34 +7922,31 @@ export interface WeldingIotConfigDto {
7893
7922
  }
7894
7923
  export interface CreateWeldingIotConfig {
7895
7924
  }
7896
- export interface ImaCdfEntityReadBase {
7897
- }
7898
- export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
7899
- companyId: string;
7925
+ export interface ImaCertificateTypeDto {
7900
7926
  certificateTypeId: string;
7901
7927
  version: number;
7902
7928
  allVersions: ImaCertificateTypeVersionDto[];
7903
7929
  name: string;
7904
7930
  revision: string;
7905
- status: ImaCertificateTypeStatus;
7931
+ status: ImaCertificateTypeStatusDto;
7906
7932
  description?: string | null;
7907
7933
  isStandardCertificateType: boolean;
7908
7934
  created: Date;
7909
7935
  createdBy: string;
7910
7936
  createdById: string;
7911
- createdByName: string;
7937
+ createdByName?: string | null;
7912
7938
  updatedBy: string;
7913
7939
  updatedById: string;
7914
- updatedByName: string;
7940
+ updatedByName?: string | null;
7915
7941
  updated: Date;
7916
7942
  isDeleted: boolean;
7917
7943
  requirements: ImaCertificateTypeRequirementsDto;
7918
7944
  }
7919
7945
  export interface ImaCertificateTypeVersionDto {
7920
7946
  version?: number;
7921
- status?: ImaCertificateTypeStatus;
7947
+ status?: ImaCertificateTypeStatusDto;
7922
7948
  }
7923
- export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7949
+ export type ImaCertificateTypeStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7924
7950
  export interface ImaCertificateTypeRequirementsDto {
7925
7951
  manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
7926
7952
  signature: ImaCertificateTypeSignatureRequirementsDto;
@@ -7931,6 +7957,8 @@ export interface ImaCertificateTypeRequirementsDto {
7931
7957
  testResults: ImaCertificateTypeTestResultsRequirementsDto;
7932
7958
  documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
7933
7959
  }
7960
+ export interface ImaCdfEntityReadBase {
7961
+ }
7934
7962
  export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
7935
7963
  manufacturer?: boolean;
7936
7964
  address?: boolean;
@@ -7998,7 +8026,7 @@ export interface ImaCreateOrCopyCertificateTypeRequestDto {
7998
8026
  export interface ImaUpdateImaCertificateTypeRequestDto {
7999
8027
  name?: string | null;
8000
8028
  revision?: string | null;
8001
- status?: ImaCertificateTypeStatus | null;
8029
+ status?: ImaCertificateTypeStatusDto | null;
8002
8030
  description?: string | null;
8003
8031
  requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
8004
8032
  }
@@ -8071,21 +8099,21 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
8071
8099
  microExaminationReport?: boolean | null;
8072
8100
  radiologicalReport?: boolean | null;
8073
8101
  }
8074
- export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
8102
+ export interface ImaCertificateTypeLiteDto {
8075
8103
  certificateTypeId: string;
8076
8104
  version: number;
8077
8105
  name: string;
8078
8106
  revision: string;
8079
- status: ImaCertificateTypeStatus;
8107
+ status: ImaCertificateTypeStatusDto;
8080
8108
  description?: string | null;
8081
8109
  isStandardCertificateType: boolean;
8082
8110
  created: Date;
8083
8111
  createdBy: string;
8084
8112
  createdById: string;
8085
- createdByName: string;
8113
+ createdByName?: string | null;
8086
8114
  updatedBy: string;
8087
8115
  updatedById: string;
8088
- updatedByName: string;
8116
+ updatedByName?: string | null;
8089
8117
  updated: Date;
8090
8118
  isDeleted: boolean;
8091
8119
  }
@@ -8101,27 +8129,29 @@ export interface ImaMaterialCheckDto {
8101
8129
  certificateTypeVersion?: number | null;
8102
8130
  certificateTypeName?: string | null;
8103
8131
  certificateTypeRevision?: string | null;
8132
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
8104
8133
  specificationId: string;
8105
8134
  specificationVersion: number;
8106
8135
  specificationName: string;
8107
- specificationRevision: string;
8108
- specificationStatus: ImaSpecificationStatus;
8109
- certificateTypeStatus: ImaCertificateTypeStatus;
8136
+ specificationRevision?: string | null;
8137
+ specificationStatus: ImaSpecificationStatusDto;
8110
8138
  purchaseOrder?: string | null;
8111
8139
  purchaseOrderLine?: number | null;
8112
8140
  purchaseOrderVendorBatches?: string[] | null;
8113
8141
  purchaseOrderPartName?: string | null;
8114
8142
  purchaseOrderPartNumber?: string | null;
8143
+ purchaseOrderPartRevision?: string | null;
8115
8144
  purchaseOrderDrawing?: string | null;
8145
+ purchaseOrderDrawingRevision?: string | null;
8116
8146
  heatNumber?: string | null;
8117
- status: ImaMaterialCheckStatus;
8147
+ status: ImaMaterialCheckStatusDto;
8118
8148
  created: Date;
8119
8149
  createdBy: string;
8120
8150
  createdById: string;
8121
- createdByName: string;
8151
+ createdByName?: string | null;
8122
8152
  updatedBy: string;
8123
8153
  updatedById: string;
8124
- updatedByName: string;
8154
+ updatedByName?: string | null;
8125
8155
  isDeleted: boolean;
8126
8156
  reportCreatedBy?: string | null;
8127
8157
  reportCreatedById?: string | null;
@@ -8130,8 +8160,8 @@ export interface ImaMaterialCheckDto {
8130
8160
  certificateTypeResults: ImaCertificateTypeResultsDto;
8131
8161
  specificationResults: ImaSpecificationResultsDto;
8132
8162
  }
8133
- export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8134
- export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
8163
+ export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8164
+ export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
8135
8165
  export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
8136
8166
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
8137
8167
  signature: ImaCertificateTypeSignatureResultsDto;
@@ -8238,10 +8268,10 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
8238
8268
  specificationMin?: number | null;
8239
8269
  specificationMax?: number | null;
8240
8270
  readValue?: string | null;
8241
- status: ImaSpecificationResultLineStatus;
8271
+ status: ImaSpecificationResultLineStatusDto;
8242
8272
  override?: ImaResultLineOverrideDto | null;
8243
8273
  }
8244
- export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
8274
+ export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
8245
8275
  export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
8246
8276
  yieldStrength?: ImaSpecificationResultLineDto | null;
8247
8277
  tensileStrength?: ImaSpecificationResultLineDto | null;
@@ -8257,7 +8287,7 @@ export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBa
8257
8287
  specificationMin?: number | null;
8258
8288
  specificationMax?: number | null;
8259
8289
  readValue?: string | null;
8260
- status: ImaSpecificationResultLineStatus;
8290
+ status: ImaSpecificationResultLineStatusDto;
8261
8291
  override?: ImaResultLineOverrideDto | null;
8262
8292
  measurementMethod?: string | null;
8263
8293
  }
@@ -8405,27 +8435,29 @@ export interface ImaMaterialCheckLiteDto {
8405
8435
  certificateTypeVersion?: number | null;
8406
8436
  certificateTypeName?: string | null;
8407
8437
  certificateTypeRevision?: string | null;
8438
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
8408
8439
  specificationId: string;
8409
8440
  specificationVersion: number;
8410
8441
  specificationName: string;
8411
- specificationRevision: string;
8442
+ specificationRevision?: string | null;
8443
+ specificationStatus: ImaSpecificationStatusDto;
8412
8444
  purchaseOrder?: string | null;
8413
8445
  purchaseOrderLine?: number | null;
8414
8446
  purchaseOrderVendorBatches?: string[] | null;
8415
8447
  purchaseOrderPartName?: string | null;
8416
8448
  purchaseOrderPartNumber?: string | null;
8449
+ purchaseOrderPartRevision?: string | null;
8417
8450
  purchaseOrderDrawing?: string | null;
8451
+ purchaseOrderDrawingRevision?: string | null;
8418
8452
  heatNumber?: string | null;
8419
- status: ImaMaterialCheckStatus;
8420
- specificationStatus: ImaSpecificationStatus;
8421
- certificateTypeStatus: ImaCertificateTypeStatus;
8453
+ status: ImaMaterialCheckStatusDto;
8422
8454
  created: Date;
8423
8455
  createdBy: string;
8424
8456
  createdById: string;
8425
- createdByName: string;
8457
+ createdByName?: string | null;
8426
8458
  updatedBy: string;
8427
8459
  updatedById: string;
8428
- updatedByName: string;
8460
+ updatedByName?: string | null;
8429
8461
  isDeleted?: boolean;
8430
8462
  reportCreatedBy?: string | null;
8431
8463
  reportCreatedById?: string | null;
@@ -8451,15 +8483,15 @@ export interface ImaMaterialChecksPageRequestDto {
8451
8483
  purchaseOrderDrawingFilter?: string | null;
8452
8484
  dateFromFilter?: Date | null;
8453
8485
  dateToFilter?: Date | null;
8454
- statusFilter?: ImaMaterialCheckStatus[] | null;
8486
+ statusFilter?: ImaMaterialCheckStatusDto[] | null;
8455
8487
  continuationToken?: string | null;
8456
8488
  }
8457
8489
  export interface ImaMaterialChecksPageOrderRequestDto {
8458
- column?: ImaMaterialChecksOrderByColumn;
8459
- direction?: ImaOrderDirection;
8490
+ column?: ImaMaterialChecksOrderByColumnDto;
8491
+ direction?: ImaOrderDirectionDto;
8460
8492
  }
8461
- export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
8462
- export type ImaOrderDirection = "Asc" | "Desc";
8493
+ export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
8494
+ export type ImaOrderDirectionDto = "Asc" | "Desc";
8463
8495
  export interface ProcessMaterialCertificate {
8464
8496
  files: UploadFileCdfDto[];
8465
8497
  specificationId: string;
@@ -8564,7 +8596,7 @@ export interface ImaUpdateMatchSettingsColumnsDto {
8564
8596
  date: boolean;
8565
8597
  status: boolean;
8566
8598
  }
8567
- export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8599
+ export interface ImaSpecificationDto {
8568
8600
  specificationId: string;
8569
8601
  version: number;
8570
8602
  allVersions: ImaSpecificationVersionDto[];
@@ -8572,16 +8604,16 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8572
8604
  number: string;
8573
8605
  revision: string;
8574
8606
  date: Date;
8575
- status: ImaSpecificationStatus;
8607
+ status: ImaSpecificationStatusDto;
8576
8608
  summary?: string | null;
8577
8609
  relatedStandards: string[];
8578
8610
  created: Date;
8579
8611
  createdBy: string;
8580
8612
  createdById: string;
8581
- createdByName: string;
8613
+ createdByName?: string | null;
8582
8614
  updatedBy: string;
8583
8615
  updatedById: string;
8584
- updatedByName: string;
8616
+ updatedByName?: string | null;
8585
8617
  updated: Date;
8586
8618
  isDeleted: boolean;
8587
8619
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -8591,9 +8623,9 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8591
8623
  }
8592
8624
  export interface ImaSpecificationVersionDto {
8593
8625
  version?: number;
8594
- status?: ImaSpecificationStatus;
8626
+ status?: ImaSpecificationStatusDto;
8595
8627
  }
8596
- export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
8628
+ export interface ImaChemistrySpecificationDto {
8597
8629
  carbon?: ImaSpecificationLineDto | null;
8598
8630
  manganese?: ImaSpecificationLineDto | null;
8599
8631
  silicon?: ImaSpecificationLineDto | null;
@@ -8611,7 +8643,7 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8611
8643
  min?: number | null;
8612
8644
  max?: number | null;
8613
8645
  }
8614
- export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8646
+ export interface ImaMechanicalSpecificationDto {
8615
8647
  yieldStrength?: ImaSpecificationLineDto | null;
8616
8648
  tensileStrength?: ImaSpecificationLineDto | null;
8617
8649
  elongation?: ImaSpecificationLineDto | null;
@@ -8619,26 +8651,26 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8619
8651
  impactEnergy?: ImaSpecificationLineDto | null;
8620
8652
  hardness?: ImaSpecificationLineDto | null;
8621
8653
  }
8622
- export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
8654
+ export interface ImaFerriteSpecificationDto {
8623
8655
  ferriteContent?: ImaSpecificationLineDto | null;
8624
8656
  }
8625
- export interface ImaHeatTreatmentSpecificationDto extends ImaCdfEntityReadBase {
8657
+ export interface ImaHeatTreatmentSpecificationDto {
8626
8658
  step: number;
8627
8659
  cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
8628
8660
  heating?: ImaHeatTreatmentSpecificationHeatingDto | null;
8629
8661
  }
8630
- export interface ImaHeatTreatmentSpecificationCoolingDto extends ImaCdfEntityReadBase {
8631
- coolingMethods: ImaHeatTreatmentCoolingMethod[];
8662
+ export interface ImaHeatTreatmentSpecificationCoolingDto {
8663
+ coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
8632
8664
  temperature?: ImaSpecificationLineDto | null;
8633
8665
  duration?: ImaSpecificationLineDto | null;
8634
8666
  }
8635
- export type ImaHeatTreatmentCoolingMethod = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8636
- export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityReadBase {
8637
- heatingMethod: ImaHeatTreatmentHeatingMethod;
8667
+ export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8668
+ export interface ImaHeatTreatmentSpecificationHeatingDto {
8669
+ heatingMethod: ImaHeatTreatmentHeatingMethodDto;
8638
8670
  temperature?: ImaSpecificationLineDto | null;
8639
8671
  duration?: ImaSpecificationLineDto | null;
8640
8672
  }
8641
- export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
8673
+ export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
8642
8674
  export interface ImaCreateSpecificationRequestDto {
8643
8675
  name: string;
8644
8676
  number: string;
@@ -8655,7 +8687,7 @@ export interface ImaCopySpecificationRequestDto {
8655
8687
  export interface ImaUpdateSpecificationDto {
8656
8688
  name?: string | null;
8657
8689
  number?: string | null;
8658
- status?: ImaSpecificationStatus | null;
8690
+ status?: ImaSpecificationStatusDto | null;
8659
8691
  summary?: string | null;
8660
8692
  relatedStandards?: string[] | null;
8661
8693
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
@@ -8663,23 +8695,24 @@ export interface ImaUpdateSpecificationDto {
8663
8695
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
8664
8696
  heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
8665
8697
  }
8666
- export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
8698
+ export interface ImaSpecificationLiteDto {
8667
8699
  specificationId: string;
8668
8700
  version: number;
8669
8701
  name: string;
8670
8702
  number: string;
8671
8703
  revision: string;
8672
8704
  date: Date;
8673
- status: ImaSpecificationStatus;
8705
+ status: ImaSpecificationStatusDto;
8674
8706
  summary?: string | null;
8675
8707
  relatedStandards: string[];
8676
8708
  created: Date;
8677
8709
  createdBy: string;
8678
8710
  createdById: string;
8679
- createdByName: string;
8711
+ createdByName?: string | null;
8680
8712
  updatedBy: string;
8681
8713
  updatedById: string;
8682
- updatedByName: string;
8714
+ updatedByName?: string | null;
8715
+ updated: Date;
8683
8716
  isDeleted: boolean;
8684
8717
  }
8685
8718
  export interface MeasurementFormSchemaDto {
@@ -9746,20 +9779,17 @@ export interface WorkorderDiscussionMessageDto {
9746
9779
  operationName?: string | null;
9747
9780
  resourceId?: string | null;
9748
9781
  created?: Date;
9749
- visibility?: DiscussionVisibility;
9750
9782
  }
9751
9783
  export interface WorkOrderDiscussionContent {
9752
9784
  type?: WorkOrderDiscussionContentType;
9753
9785
  value?: string;
9754
9786
  }
9755
9787
  export type WorkOrderDiscussionContentType = 0 | 1;
9756
- export type DiscussionVisibility = "Public" | "Planner";
9757
9788
  export interface AddDiscussionMessageRequest {
9758
9789
  message: string;
9759
9790
  operationId?: string | null;
9760
9791
  operationName?: string | null;
9761
9792
  resourceId?: string | null;
9762
- visibility?: DiscussionVisibility;
9763
9793
  }
9764
9794
  export interface WorkorderDiscussionReadStatusDto {
9765
9795
  workorderId: string;