@ignos/api-client 20260715.186.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,44 +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
- getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]>;
2445
- getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
2446
- getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
2447
- setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
2448
- }
2449
- 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 {
2450
2488
  private http;
2451
2489
  private baseUrl;
2452
2490
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2453
2491
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2454
2492
  });
2455
- getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
2456
- protected processGetPlan(response: Response): Promise<PlannerPlanDto>;
2457
- publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
2458
- protected processPublish(response: Response): Promise<PlannerPlanDto>;
2459
- updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2460
- protected processUpdateSequence(response: Response): Promise<PlannerPlanDto>;
2461
- reset(resourceGroupId: string): Promise<PlannerPlanDto>;
2462
- protected processReset(response: Response): Promise<PlannerPlanDto>;
2463
- saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
2464
- protected processSaveDraft(response: Response): Promise<PlannerPlanDto>;
2465
- discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
2466
- protected processDiscardDraft(response: Response): Promise<PlannerPlanDto>;
2467
- getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]>;
2468
- protected processGetCapacity(response: Response): Promise<WeekCapacityDto[]>;
2469
- getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
2470
- protected processGetVersions(response: Response): Promise<PlannerPlanEventDto[]>;
2471
- getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
2472
- protected processGetVersion(response: Response): Promise<PlannerPlanDto>;
2473
- setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
2474
- 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>;
2475
2509
  }
2476
2510
  export interface IMesProductionOrderClient {
2477
2511
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -2670,7 +2704,7 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
2670
2704
  }
2671
2705
  export interface IInspectMatchMaterialChecksAdminClient {
2672
2706
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
2673
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto>;
2707
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto>;
2674
2708
  updateMaterialCheckMetadata(id: string, metadataRequest: ImaUpdateMaterialCheckMetadataRequestDto): Promise<ImaMaterialCheckDto>;
2675
2709
  deleteMaterialCheck(id: string): Promise<void>;
2676
2710
  }
@@ -2682,7 +2716,7 @@ export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApi
2682
2716
  });
2683
2717
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
2684
2718
  protected processUpdateMaterialCheckOverrides(response: Response): Promise<ImaMaterialCheckDto>;
2685
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto>;
2719
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto>;
2686
2720
  protected processUpdateMaterialCheckStatus(response: Response): Promise<ImaMaterialCheckDto>;
2687
2721
  updateMaterialCheckMetadata(id: string, metadataRequest: ImaUpdateMaterialCheckMetadataRequestDto): Promise<ImaMaterialCheckDto>;
2688
2722
  protected processUpdateMaterialCheckMetadata(response: Response): Promise<ImaMaterialCheckDto>;
@@ -4216,7 +4250,7 @@ export interface UpdateCalendarSettingsCommand {
4216
4250
  }
4217
4251
  export interface ShiftPlansDto {
4218
4252
  active: ShiftPlanDto[];
4219
- archived: ShiftPlanDto[];
4253
+ archived: ArchivedShiftPlanDto[];
4220
4254
  }
4221
4255
  export interface ShiftPlanDto {
4222
4256
  id: string;
@@ -4228,6 +4262,27 @@ export interface ShiftPlanDto {
4228
4262
  updatedBy?: string | null;
4229
4263
  isArchived?: boolean;
4230
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
+ }
4231
4286
  export interface CreateShiftPlan {
4232
4287
  name: string;
4233
4288
  hoursPerWeekday: {
@@ -4249,23 +4304,6 @@ export interface ShiftSettingsPeriodGroupDto {
4249
4304
  resourceGroupName: string;
4250
4305
  resources: ShiftSettingPeriodsDto[];
4251
4306
  }
4252
- export interface ShiftSettingPeriodsDto {
4253
- resourceExternalId: string;
4254
- resourceName: string;
4255
- periods: ShiftSettingsPeriodDto[];
4256
- }
4257
- export interface ShiftSettingsPeriodDto {
4258
- resourceExternalId: string;
4259
- shiftPlanId: string;
4260
- shiftPlanName: string;
4261
- effectiveFrom: string;
4262
- effectiveTo?: string | null;
4263
- targetPercent: number;
4264
- comment?: string | null;
4265
- hoursPerWeekday: {
4266
- [key in DayOfWeek]?: number;
4267
- };
4268
- }
4269
4307
  export interface AddShiftSettingPeriods {
4270
4308
  resourceExternalIds: string[];
4271
4309
  shiftPlanId: string;
@@ -4287,8 +4325,11 @@ export interface PeriodKey {
4287
4325
  effectiveFrom: string;
4288
4326
  }
4289
4327
  export interface CopyShiftSettingsPeriodRequest {
4290
- targetResourceExternalId: string;
4291
- effectiveFrom: string;
4328
+ sourceShiftSettingPeriods: SourceShiftSettingPeriod[];
4329
+ }
4330
+ export interface SourceShiftSettingPeriod {
4331
+ sourceResourceExternalId: string;
4332
+ sourceEffectiveFrom: string;
4292
4333
  }
4293
4334
  export interface MigrationResultDto {
4294
4335
  created?: number;
@@ -4959,6 +5000,7 @@ export interface MrbCompanySettingsDto {
4959
5000
  detailedTransactionsMissingInErp: boolean;
4960
5001
  allowMaterialReplacementOnConsumptions: boolean;
4961
5002
  nonSplittableTraceUnits: string[];
5003
+ disableTraceEditing: boolean;
4962
5004
  }
4963
5005
  export interface UpsertMrbCompanySettings {
4964
5006
  stampWithLot: boolean;
@@ -4976,6 +5018,7 @@ export interface UpsertMrbCompanySettings {
4976
5018
  detailedTransactionsMissingInErp: boolean;
4977
5019
  allowMaterialReplacementOnConsumptions: boolean;
4978
5020
  nonSplittableTraceUnits: string[];
5021
+ disableTraceEditing: boolean;
4979
5022
  }
4980
5023
  export interface TraceDto {
4981
5024
  id: string;
@@ -5616,6 +5659,40 @@ export interface CrossCompanyUtilizationSummaryDto {
5616
5659
  crossCompany: FactoryUtilizationDto;
5617
5660
  companies: MachineGroupUtilizationDto[];
5618
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
+ }
5619
5696
  export interface LinkDto {
5620
5697
  id: string;
5621
5698
  uri: string;
@@ -5659,7 +5736,7 @@ export interface ImportDocument {
5659
5736
  lots: string[];
5660
5737
  frontPageDocumentId?: string | null;
5661
5738
  documentSource: DocumentSource;
5662
- uploadKey: string;
5739
+ uploadKey?: string | null;
5663
5740
  created?: Date | null;
5664
5741
  createdBy?: string | null;
5665
5742
  createdById?: string | null;
@@ -5691,7 +5768,8 @@ export interface ImportDocumentRevisionDto {
5691
5768
  approvals: DocumentRevisionApprovalDto[];
5692
5769
  }
5693
5770
  export interface ImportDocumentRevisionContentDto {
5694
- uploadFilename: string;
5771
+ uploadFilename?: string | null;
5772
+ sourceUrl?: string | null;
5695
5773
  originalFilename: string;
5696
5774
  extension: string;
5697
5775
  }
@@ -7218,6 +7296,19 @@ export interface EngineeringChangeOrdersDto {
7218
7296
  mostRecentEngineeringChangeOrder?: Date | null;
7219
7297
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
7220
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
+ }
7221
7312
  export interface AddMesLink {
7222
7313
  uri: string;
7223
7314
  name: string;
@@ -7258,77 +7349,17 @@ export interface LabelId {
7258
7349
  parcelId: string;
7259
7350
  trackingId?: string | null;
7260
7351
  }
7261
- export interface PlannerPlanDto {
7262
- resourceGroupId: string;
7263
- sequence: PlannerOperationDto[];
7264
- lockedCount: number;
7265
- planSavedAt?: Date | null;
7266
- isDraft: boolean;
7267
- publishedETag?: string | null;
7268
- }
7269
- export interface PlannerOperationDto {
7270
- id: string;
7271
- productionOrderNumber: string;
7272
- operation: number;
7273
- operationName: string;
7274
- plannedStart: Date;
7275
- plannedEnd?: Date | null;
7276
- status: OperationStatusDto;
7277
- resourceId: string;
7278
- resourceName: string;
7279
- resourceDepartmentNumber?: string | null;
7280
- resourceDepartmentName?: string | null;
7281
- partNumber: string;
7282
- partName?: string | null;
7283
- partMaterial?: string | null;
7284
- quantity: number;
7285
- producedQuantity: number;
7286
- totalPlannedHours?: number;
7287
- totalUsedHours?: number;
7288
- customerName?: string | null;
7289
- project?: WorkOrderProjectDto | null;
7290
- sequenceNumber: number;
7291
- isManuallyLocked: boolean;
7292
- weekGroup: string;
7293
- programStatus?: ProgramStatus | null;
7294
- }
7295
- export type ProgramStatus = "Blank" | "NotOk" | "Ok";
7296
- export interface PublishPlanRequest {
7297
- /** ETag of the published plan the caller last read, used for optimistic
7298
- concurrency. Null if the caller never observed a published plan. */
7299
- publishedETag?: string | null;
7300
- comment?: string | null;
7301
- /** The caller's unsaved working sequence to publish. When null, the
7302
- persisted active plan (draft, else published) is published instead. */
7303
- sequence?: PlannerSequenceInput | null;
7304
- }
7305
- export interface PlannerSequenceInput {
7306
- orderedOperationKeys: string[];
7307
- lockedCount: number;
7308
- weekGroups?: {
7309
- [key: string]: string;
7310
- } | null;
7311
- }
7312
- export interface WeekCapacityDto {
7313
- weekGroup: string;
7314
- weekStart: Date;
7315
- capacityHours: number;
7316
- }
7317
- export interface PlannerPlanEventDto {
7318
- id: string;
7319
- eventType: PlannerEventType;
7320
- occurredAt: Date;
7321
- by?: string | null;
7322
- comment?: string | null;
7323
- operationCount: number;
7324
- lockedCount: number;
7325
- }
7326
- export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp" | "AutoRollover";
7327
- export interface SetProgramStatus {
7328
- workOrderId?: string;
7329
- operationNumber?: number;
7330
- status?: ProgramStatus;
7331
- 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;
7332
7363
  }
7333
7364
  export interface ProductionOrderDto {
7334
7365
  id: string;
@@ -7388,15 +7419,6 @@ export interface ProductionOrderOperationDto {
7388
7419
  productionStatus: OperationStatusDto;
7389
7420
  setupStatus?: OperationStatusDto | null;
7390
7421
  }
7391
- export interface WorkOrderAttachmentDto {
7392
- createdBy?: UserDto | null;
7393
- created?: Date | null;
7394
- modifiedBy?: UserDto | null;
7395
- modified?: Date | null;
7396
- name?: string | null;
7397
- notes?: string | null;
7398
- attachmentType?: string | null;
7399
- }
7400
7422
  export interface DrawingDto {
7401
7423
  drawingNumber: string;
7402
7424
  revision: string;
@@ -7602,7 +7624,6 @@ export interface ProductionScheduleOperationDto {
7602
7624
  materialPickStatus: MaterialPickStatus;
7603
7625
  productionStatus: OperationStatusDto;
7604
7626
  setupStatus?: OperationStatusDto | null;
7605
- programStatus?: ProgramStatus | null;
7606
7627
  }
7607
7628
  export interface SurroundingOperationDto {
7608
7629
  id: string;
@@ -7901,34 +7922,31 @@ export interface WeldingIotConfigDto {
7901
7922
  }
7902
7923
  export interface CreateWeldingIotConfig {
7903
7924
  }
7904
- export interface ImaCdfEntityReadBase {
7905
- }
7906
- export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
7907
- companyId: string;
7925
+ export interface ImaCertificateTypeDto {
7908
7926
  certificateTypeId: string;
7909
7927
  version: number;
7910
7928
  allVersions: ImaCertificateTypeVersionDto[];
7911
7929
  name: string;
7912
7930
  revision: string;
7913
- status: ImaCertificateTypeStatus;
7931
+ status: ImaCertificateTypeStatusDto;
7914
7932
  description?: string | null;
7915
7933
  isStandardCertificateType: boolean;
7916
7934
  created: Date;
7917
7935
  createdBy: string;
7918
7936
  createdById: string;
7919
- createdByName: string;
7937
+ createdByName?: string | null;
7920
7938
  updatedBy: string;
7921
7939
  updatedById: string;
7922
- updatedByName: string;
7940
+ updatedByName?: string | null;
7923
7941
  updated: Date;
7924
7942
  isDeleted: boolean;
7925
7943
  requirements: ImaCertificateTypeRequirementsDto;
7926
7944
  }
7927
7945
  export interface ImaCertificateTypeVersionDto {
7928
7946
  version?: number;
7929
- status?: ImaCertificateTypeStatus;
7947
+ status?: ImaCertificateTypeStatusDto;
7930
7948
  }
7931
- export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7949
+ export type ImaCertificateTypeStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7932
7950
  export interface ImaCertificateTypeRequirementsDto {
7933
7951
  manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
7934
7952
  signature: ImaCertificateTypeSignatureRequirementsDto;
@@ -7939,6 +7957,8 @@ export interface ImaCertificateTypeRequirementsDto {
7939
7957
  testResults: ImaCertificateTypeTestResultsRequirementsDto;
7940
7958
  documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
7941
7959
  }
7960
+ export interface ImaCdfEntityReadBase {
7961
+ }
7942
7962
  export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
7943
7963
  manufacturer?: boolean;
7944
7964
  address?: boolean;
@@ -8006,7 +8026,7 @@ export interface ImaCreateOrCopyCertificateTypeRequestDto {
8006
8026
  export interface ImaUpdateImaCertificateTypeRequestDto {
8007
8027
  name?: string | null;
8008
8028
  revision?: string | null;
8009
- status?: ImaCertificateTypeStatus | null;
8029
+ status?: ImaCertificateTypeStatusDto | null;
8010
8030
  description?: string | null;
8011
8031
  requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
8012
8032
  }
@@ -8079,21 +8099,21 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
8079
8099
  microExaminationReport?: boolean | null;
8080
8100
  radiologicalReport?: boolean | null;
8081
8101
  }
8082
- export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
8102
+ export interface ImaCertificateTypeLiteDto {
8083
8103
  certificateTypeId: string;
8084
8104
  version: number;
8085
8105
  name: string;
8086
8106
  revision: string;
8087
- status: ImaCertificateTypeStatus;
8107
+ status: ImaCertificateTypeStatusDto;
8088
8108
  description?: string | null;
8089
8109
  isStandardCertificateType: boolean;
8090
8110
  created: Date;
8091
8111
  createdBy: string;
8092
8112
  createdById: string;
8093
- createdByName: string;
8113
+ createdByName?: string | null;
8094
8114
  updatedBy: string;
8095
8115
  updatedById: string;
8096
- updatedByName: string;
8116
+ updatedByName?: string | null;
8097
8117
  updated: Date;
8098
8118
  isDeleted: boolean;
8099
8119
  }
@@ -8109,27 +8129,29 @@ export interface ImaMaterialCheckDto {
8109
8129
  certificateTypeVersion?: number | null;
8110
8130
  certificateTypeName?: string | null;
8111
8131
  certificateTypeRevision?: string | null;
8132
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
8112
8133
  specificationId: string;
8113
8134
  specificationVersion: number;
8114
8135
  specificationName: string;
8115
- specificationRevision: string;
8116
- specificationStatus: ImaSpecificationStatus;
8117
- certificateTypeStatus: ImaCertificateTypeStatus;
8136
+ specificationRevision?: string | null;
8137
+ specificationStatus: ImaSpecificationStatusDto;
8118
8138
  purchaseOrder?: string | null;
8119
8139
  purchaseOrderLine?: number | null;
8120
8140
  purchaseOrderVendorBatches?: string[] | null;
8121
8141
  purchaseOrderPartName?: string | null;
8122
8142
  purchaseOrderPartNumber?: string | null;
8143
+ purchaseOrderPartRevision?: string | null;
8123
8144
  purchaseOrderDrawing?: string | null;
8145
+ purchaseOrderDrawingRevision?: string | null;
8124
8146
  heatNumber?: string | null;
8125
- status: ImaMaterialCheckStatus;
8147
+ status: ImaMaterialCheckStatusDto;
8126
8148
  created: Date;
8127
8149
  createdBy: string;
8128
8150
  createdById: string;
8129
- createdByName: string;
8151
+ createdByName?: string | null;
8130
8152
  updatedBy: string;
8131
8153
  updatedById: string;
8132
- updatedByName: string;
8154
+ updatedByName?: string | null;
8133
8155
  isDeleted: boolean;
8134
8156
  reportCreatedBy?: string | null;
8135
8157
  reportCreatedById?: string | null;
@@ -8138,8 +8160,8 @@ export interface ImaMaterialCheckDto {
8138
8160
  certificateTypeResults: ImaCertificateTypeResultsDto;
8139
8161
  specificationResults: ImaSpecificationResultsDto;
8140
8162
  }
8141
- export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8142
- 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";
8143
8165
  export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
8144
8166
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
8145
8167
  signature: ImaCertificateTypeSignatureResultsDto;
@@ -8246,10 +8268,10 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
8246
8268
  specificationMin?: number | null;
8247
8269
  specificationMax?: number | null;
8248
8270
  readValue?: string | null;
8249
- status: ImaSpecificationResultLineStatus;
8271
+ status: ImaSpecificationResultLineStatusDto;
8250
8272
  override?: ImaResultLineOverrideDto | null;
8251
8273
  }
8252
- export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
8274
+ export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
8253
8275
  export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
8254
8276
  yieldStrength?: ImaSpecificationResultLineDto | null;
8255
8277
  tensileStrength?: ImaSpecificationResultLineDto | null;
@@ -8265,7 +8287,7 @@ export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBa
8265
8287
  specificationMin?: number | null;
8266
8288
  specificationMax?: number | null;
8267
8289
  readValue?: string | null;
8268
- status: ImaSpecificationResultLineStatus;
8290
+ status: ImaSpecificationResultLineStatusDto;
8269
8291
  override?: ImaResultLineOverrideDto | null;
8270
8292
  measurementMethod?: string | null;
8271
8293
  }
@@ -8413,27 +8435,29 @@ export interface ImaMaterialCheckLiteDto {
8413
8435
  certificateTypeVersion?: number | null;
8414
8436
  certificateTypeName?: string | null;
8415
8437
  certificateTypeRevision?: string | null;
8438
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
8416
8439
  specificationId: string;
8417
8440
  specificationVersion: number;
8418
8441
  specificationName: string;
8419
- specificationRevision: string;
8442
+ specificationRevision?: string | null;
8443
+ specificationStatus: ImaSpecificationStatusDto;
8420
8444
  purchaseOrder?: string | null;
8421
8445
  purchaseOrderLine?: number | null;
8422
8446
  purchaseOrderVendorBatches?: string[] | null;
8423
8447
  purchaseOrderPartName?: string | null;
8424
8448
  purchaseOrderPartNumber?: string | null;
8449
+ purchaseOrderPartRevision?: string | null;
8425
8450
  purchaseOrderDrawing?: string | null;
8451
+ purchaseOrderDrawingRevision?: string | null;
8426
8452
  heatNumber?: string | null;
8427
- status: ImaMaterialCheckStatus;
8428
- specificationStatus: ImaSpecificationStatus;
8429
- certificateTypeStatus: ImaCertificateTypeStatus;
8453
+ status: ImaMaterialCheckStatusDto;
8430
8454
  created: Date;
8431
8455
  createdBy: string;
8432
8456
  createdById: string;
8433
- createdByName: string;
8457
+ createdByName?: string | null;
8434
8458
  updatedBy: string;
8435
8459
  updatedById: string;
8436
- updatedByName: string;
8460
+ updatedByName?: string | null;
8437
8461
  isDeleted?: boolean;
8438
8462
  reportCreatedBy?: string | null;
8439
8463
  reportCreatedById?: string | null;
@@ -8459,15 +8483,15 @@ export interface ImaMaterialChecksPageRequestDto {
8459
8483
  purchaseOrderDrawingFilter?: string | null;
8460
8484
  dateFromFilter?: Date | null;
8461
8485
  dateToFilter?: Date | null;
8462
- statusFilter?: ImaMaterialCheckStatus[] | null;
8486
+ statusFilter?: ImaMaterialCheckStatusDto[] | null;
8463
8487
  continuationToken?: string | null;
8464
8488
  }
8465
8489
  export interface ImaMaterialChecksPageOrderRequestDto {
8466
- column?: ImaMaterialChecksOrderByColumn;
8467
- direction?: ImaOrderDirection;
8490
+ column?: ImaMaterialChecksOrderByColumnDto;
8491
+ direction?: ImaOrderDirectionDto;
8468
8492
  }
8469
- export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
8470
- 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";
8471
8495
  export interface ProcessMaterialCertificate {
8472
8496
  files: UploadFileCdfDto[];
8473
8497
  specificationId: string;
@@ -8572,7 +8596,7 @@ export interface ImaUpdateMatchSettingsColumnsDto {
8572
8596
  date: boolean;
8573
8597
  status: boolean;
8574
8598
  }
8575
- export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8599
+ export interface ImaSpecificationDto {
8576
8600
  specificationId: string;
8577
8601
  version: number;
8578
8602
  allVersions: ImaSpecificationVersionDto[];
@@ -8580,16 +8604,16 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8580
8604
  number: string;
8581
8605
  revision: string;
8582
8606
  date: Date;
8583
- status: ImaSpecificationStatus;
8607
+ status: ImaSpecificationStatusDto;
8584
8608
  summary?: string | null;
8585
8609
  relatedStandards: string[];
8586
8610
  created: Date;
8587
8611
  createdBy: string;
8588
8612
  createdById: string;
8589
- createdByName: string;
8613
+ createdByName?: string | null;
8590
8614
  updatedBy: string;
8591
8615
  updatedById: string;
8592
- updatedByName: string;
8616
+ updatedByName?: string | null;
8593
8617
  updated: Date;
8594
8618
  isDeleted: boolean;
8595
8619
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -8599,9 +8623,9 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8599
8623
  }
8600
8624
  export interface ImaSpecificationVersionDto {
8601
8625
  version?: number;
8602
- status?: ImaSpecificationStatus;
8626
+ status?: ImaSpecificationStatusDto;
8603
8627
  }
8604
- export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
8628
+ export interface ImaChemistrySpecificationDto {
8605
8629
  carbon?: ImaSpecificationLineDto | null;
8606
8630
  manganese?: ImaSpecificationLineDto | null;
8607
8631
  silicon?: ImaSpecificationLineDto | null;
@@ -8619,7 +8643,7 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8619
8643
  min?: number | null;
8620
8644
  max?: number | null;
8621
8645
  }
8622
- export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8646
+ export interface ImaMechanicalSpecificationDto {
8623
8647
  yieldStrength?: ImaSpecificationLineDto | null;
8624
8648
  tensileStrength?: ImaSpecificationLineDto | null;
8625
8649
  elongation?: ImaSpecificationLineDto | null;
@@ -8627,26 +8651,26 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8627
8651
  impactEnergy?: ImaSpecificationLineDto | null;
8628
8652
  hardness?: ImaSpecificationLineDto | null;
8629
8653
  }
8630
- export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
8654
+ export interface ImaFerriteSpecificationDto {
8631
8655
  ferriteContent?: ImaSpecificationLineDto | null;
8632
8656
  }
8633
- export interface ImaHeatTreatmentSpecificationDto extends ImaCdfEntityReadBase {
8657
+ export interface ImaHeatTreatmentSpecificationDto {
8634
8658
  step: number;
8635
8659
  cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
8636
8660
  heating?: ImaHeatTreatmentSpecificationHeatingDto | null;
8637
8661
  }
8638
- export interface ImaHeatTreatmentSpecificationCoolingDto extends ImaCdfEntityReadBase {
8639
- coolingMethods: ImaHeatTreatmentCoolingMethod[];
8662
+ export interface ImaHeatTreatmentSpecificationCoolingDto {
8663
+ coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
8640
8664
  temperature?: ImaSpecificationLineDto | null;
8641
8665
  duration?: ImaSpecificationLineDto | null;
8642
8666
  }
8643
- export type ImaHeatTreatmentCoolingMethod = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8644
- export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityReadBase {
8645
- heatingMethod: ImaHeatTreatmentHeatingMethod;
8667
+ export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8668
+ export interface ImaHeatTreatmentSpecificationHeatingDto {
8669
+ heatingMethod: ImaHeatTreatmentHeatingMethodDto;
8646
8670
  temperature?: ImaSpecificationLineDto | null;
8647
8671
  duration?: ImaSpecificationLineDto | null;
8648
8672
  }
8649
- export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
8673
+ export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
8650
8674
  export interface ImaCreateSpecificationRequestDto {
8651
8675
  name: string;
8652
8676
  number: string;
@@ -8663,7 +8687,7 @@ export interface ImaCopySpecificationRequestDto {
8663
8687
  export interface ImaUpdateSpecificationDto {
8664
8688
  name?: string | null;
8665
8689
  number?: string | null;
8666
- status?: ImaSpecificationStatus | null;
8690
+ status?: ImaSpecificationStatusDto | null;
8667
8691
  summary?: string | null;
8668
8692
  relatedStandards?: string[] | null;
8669
8693
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
@@ -8671,23 +8695,24 @@ export interface ImaUpdateSpecificationDto {
8671
8695
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
8672
8696
  heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
8673
8697
  }
8674
- export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
8698
+ export interface ImaSpecificationLiteDto {
8675
8699
  specificationId: string;
8676
8700
  version: number;
8677
8701
  name: string;
8678
8702
  number: string;
8679
8703
  revision: string;
8680
8704
  date: Date;
8681
- status: ImaSpecificationStatus;
8705
+ status: ImaSpecificationStatusDto;
8682
8706
  summary?: string | null;
8683
8707
  relatedStandards: string[];
8684
8708
  created: Date;
8685
8709
  createdBy: string;
8686
8710
  createdById: string;
8687
- createdByName: string;
8711
+ createdByName?: string | null;
8688
8712
  updatedBy: string;
8689
8713
  updatedById: string;
8690
- updatedByName: string;
8714
+ updatedByName?: string | null;
8715
+ updated: Date;
8691
8716
  isDeleted: boolean;
8692
8717
  }
8693
8718
  export interface MeasurementFormSchemaDto {
@@ -9754,20 +9779,17 @@ export interface WorkorderDiscussionMessageDto {
9754
9779
  operationName?: string | null;
9755
9780
  resourceId?: string | null;
9756
9781
  created?: Date;
9757
- visibility?: DiscussionVisibility;
9758
9782
  }
9759
9783
  export interface WorkOrderDiscussionContent {
9760
9784
  type?: WorkOrderDiscussionContentType;
9761
9785
  value?: string;
9762
9786
  }
9763
9787
  export type WorkOrderDiscussionContentType = 0 | 1;
9764
- export type DiscussionVisibility = "Public" | "Planner";
9765
9788
  export interface AddDiscussionMessageRequest {
9766
9789
  message: string;
9767
9790
  operationId?: string | null;
9768
9791
  operationName?: string | null;
9769
9792
  resourceId?: string | null;
9770
- visibility?: DiscussionVisibility;
9771
9793
  }
9772
9794
  export interface WorkorderDiscussionReadStatusDto {
9773
9795
  workorderId: string;