@ignos/api-client 20250109.0.10927 → 20250116.0.10988

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.
@@ -373,6 +373,22 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
373
373
  getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
374
374
  protected processGetMachineAlarmDetails(response: Response): Promise<MachineAlarmDetailsDto>;
375
375
  }
376
+ export interface IPulseClient {
377
+ getPulseSettings(): Promise<PulseSettingsDto>;
378
+ updatePulseSettings(request: UpdatePulseSettings): Promise<PulseSettingsDto>;
379
+ }
380
+ export declare class PulseClient extends AuthorizedApiBase implements IPulseClient {
381
+ private http;
382
+ private baseUrl;
383
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
384
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
385
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
386
+ });
387
+ getPulseSettings(): Promise<PulseSettingsDto>;
388
+ protected processGetPulseSettings(response: Response): Promise<PulseSettingsDto>;
389
+ updatePulseSettings(request: UpdatePulseSettings): Promise<PulseSettingsDto>;
390
+ protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
391
+ }
376
392
  export interface IMrbClient {
377
393
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
378
394
  createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
@@ -718,6 +734,7 @@ export interface IDowntimeReasonsClient {
718
734
  deleteDowntimeReason(id: number): Promise<void>;
719
735
  listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
720
736
  listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
737
+ createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
721
738
  }
722
739
  export declare class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntimeReasonsClient {
723
740
  private http;
@@ -736,6 +753,30 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
736
753
  protected processListDowntimeReasonsForMachine(response: Response): Promise<DowntimeReasonDto[]>;
737
754
  listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
738
755
  protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
756
+ createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
757
+ protected processCreateReport(response: Response): Promise<DowntimeReasonsReportDto>;
758
+ }
759
+ export interface IKpiAdminClient {
760
+ getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
761
+ updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
762
+ getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]>;
763
+ updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
764
+ }
765
+ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
766
+ private http;
767
+ private baseUrl;
768
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
769
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
770
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
771
+ });
772
+ getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
773
+ protected processGetMachineCapacityAdmin(response: Response): Promise<MachineGroupCapacityDto[]>;
774
+ updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
775
+ protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
776
+ getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]>;
777
+ protected processGetCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto[]>;
778
+ updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
779
+ protected processUpdateCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto>;
739
780
  }
740
781
  export interface IMachinesClient {
741
782
  listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
@@ -1509,6 +1550,7 @@ export interface IMoveLocationsClient {
1509
1550
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
1510
1551
  suggestionsParcel(parcelId: string[] | undefined): Promise<SuggestionsResponseDto>;
1511
1552
  suggestionsGeneral(suggestionType: SuggestionTypeDto | undefined): Promise<SuggestionsItemDto>;
1553
+ suggestionsMaterial(parcelId: string | undefined, operation: number | null | undefined): Promise<SuggestionsMaterialItemDto[]>;
1512
1554
  }
1513
1555
  export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
1514
1556
  private http;
@@ -1527,6 +1569,8 @@ export declare class MoveLocationsClient extends AuthorizedApiBase implements IM
1527
1569
  protected processSuggestionsParcel(response: Response): Promise<SuggestionsResponseDto>;
1528
1570
  suggestionsGeneral(suggestionType: SuggestionTypeDto | undefined): Promise<SuggestionsItemDto>;
1529
1571
  protected processSuggestionsGeneral(response: Response): Promise<SuggestionsItemDto>;
1572
+ suggestionsMaterial(parcelId: string | undefined, operation: number | null | undefined): Promise<SuggestionsMaterialItemDto[]>;
1573
+ protected processSuggestionsMaterial(response: Response): Promise<SuggestionsMaterialItemDto[]>;
1530
1574
  }
1531
1575
  export interface IMoveMaterialsClient {
1532
1576
  listMaterials(): Promise<MaterialDesciptionDto[]>;
@@ -3417,6 +3461,49 @@ export interface ICncProgramInfoDto {
3417
3461
  sequence?: string | null;
3418
3462
  line?: string | null;
3419
3463
  }
3464
+ export declare class PulseSettingsDto implements IPulseSettingsDto {
3465
+ defaultUtilizationType: UtilizationTypeDto;
3466
+ utilizationTypeEnabling: UtilizationTypeEnablingDto;
3467
+ constructor(data?: IPulseSettingsDto);
3468
+ init(_data?: any): void;
3469
+ static fromJS(data: any): PulseSettingsDto;
3470
+ toJSON(data?: any): any;
3471
+ }
3472
+ export interface IPulseSettingsDto {
3473
+ defaultUtilizationType: UtilizationTypeDto;
3474
+ utilizationTypeEnabling: UtilizationTypeEnablingDto;
3475
+ }
3476
+ export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder";
3477
+ export declare class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
3478
+ powerOnEnabled: boolean;
3479
+ twentyFourSevenEnabled: boolean;
3480
+ activeOrderEnabled: boolean;
3481
+ constructor(data?: IUtilizationTypeEnablingDto);
3482
+ init(_data?: any): void;
3483
+ static fromJS(data: any): UtilizationTypeEnablingDto;
3484
+ toJSON(data?: any): any;
3485
+ }
3486
+ export interface IUtilizationTypeEnablingDto {
3487
+ powerOnEnabled: boolean;
3488
+ twentyFourSevenEnabled: boolean;
3489
+ activeOrderEnabled: boolean;
3490
+ }
3491
+ export declare class UpdatePulseSettings implements IUpdatePulseSettings {
3492
+ defaultUtilizationType: UtilizationTypeDto;
3493
+ powerOnEnabled: boolean;
3494
+ twentyfourSevenEnabled: boolean;
3495
+ activeOrderEnabled: boolean;
3496
+ constructor(data?: IUpdatePulseSettings);
3497
+ init(_data?: any): void;
3498
+ static fromJS(data: any): UpdatePulseSettings;
3499
+ toJSON(data?: any): any;
3500
+ }
3501
+ export interface IUpdatePulseSettings {
3502
+ defaultUtilizationType: UtilizationTypeDto;
3503
+ powerOnEnabled: boolean;
3504
+ twentyfourSevenEnabled: boolean;
3505
+ activeOrderEnabled: boolean;
3506
+ }
3420
3507
  export declare class MrbInstanceDto implements IMrbInstanceDto {
3421
3508
  id: string;
3422
3509
  title?: string | null;
@@ -5182,6 +5269,153 @@ export interface IDowntimeReasonCountDto {
5182
5269
  count: number;
5183
5270
  reason: string;
5184
5271
  }
5272
+ export declare class DowntimeReasonsReportDto implements IDowntimeReasonsReportDto {
5273
+ companyId?: string | null;
5274
+ totalDowntimeDurationMilliseconds?: number;
5275
+ downtimeReasons?: DowntimeReasonReport[];
5276
+ constructor(data?: IDowntimeReasonsReportDto);
5277
+ init(_data?: any): void;
5278
+ static fromJS(data: any): DowntimeReasonsReportDto;
5279
+ toJSON(data?: any): any;
5280
+ }
5281
+ export interface IDowntimeReasonsReportDto {
5282
+ companyId?: string | null;
5283
+ totalDowntimeDurationMilliseconds?: number;
5284
+ downtimeReasons?: DowntimeReasonReport[];
5285
+ }
5286
+ export declare class DowntimeReasonReport implements IDowntimeReasonReport {
5287
+ reasonId: string;
5288
+ reasonType: DowntimeReasonTypeDto;
5289
+ reason: string;
5290
+ totalDurationMilliseconds: number;
5291
+ count: number;
5292
+ details: DowntimeReasonInformation[];
5293
+ constructor(data?: IDowntimeReasonReport);
5294
+ init(_data?: any): void;
5295
+ static fromJS(data: any): DowntimeReasonReport;
5296
+ toJSON(data?: any): any;
5297
+ }
5298
+ export interface IDowntimeReasonReport {
5299
+ reasonId: string;
5300
+ reasonType: DowntimeReasonTypeDto;
5301
+ reason: string;
5302
+ totalDurationMilliseconds: number;
5303
+ count: number;
5304
+ details: DowntimeReasonInformation[];
5305
+ }
5306
+ export declare class DowntimeReasonInformation implements IDowntimeReasonInformation {
5307
+ downtimeReason: DowntimePeriodReasonDto;
5308
+ machine: string;
5309
+ constructor(data?: IDowntimeReasonInformation);
5310
+ init(_data?: any): void;
5311
+ static fromJS(data: any): DowntimeReasonInformation;
5312
+ toJSON(data?: any): any;
5313
+ }
5314
+ export interface IDowntimeReasonInformation {
5315
+ downtimeReason: DowntimePeriodReasonDto;
5316
+ machine: string;
5317
+ }
5318
+ export declare class CreateDowntimeReasonsReportRequest implements ICreateDowntimeReasonsReportRequest {
5319
+ machineExternalIds?: string[] | null;
5320
+ machineGroupNames?: string[] | null;
5321
+ startTime?: Date | null;
5322
+ endTime?: Date | null;
5323
+ constructor(data?: ICreateDowntimeReasonsReportRequest);
5324
+ init(_data?: any): void;
5325
+ static fromJS(data: any): CreateDowntimeReasonsReportRequest;
5326
+ toJSON(data?: any): any;
5327
+ }
5328
+ export interface ICreateDowntimeReasonsReportRequest {
5329
+ machineExternalIds?: string[] | null;
5330
+ machineGroupNames?: string[] | null;
5331
+ startTime?: Date | null;
5332
+ endTime?: Date | null;
5333
+ }
5334
+ export declare class MachineGroupCapacityDto implements IMachineGroupCapacityDto {
5335
+ machineGroupName: string;
5336
+ machine: MachineCapacityDto[];
5337
+ constructor(data?: IMachineGroupCapacityDto);
5338
+ init(_data?: any): void;
5339
+ static fromJS(data: any): MachineGroupCapacityDto;
5340
+ toJSON(data?: any): any;
5341
+ }
5342
+ export interface IMachineGroupCapacityDto {
5343
+ machineGroupName: string;
5344
+ machine: MachineCapacityDto[];
5345
+ }
5346
+ export declare class MachineCapacityDto implements IMachineCapacityDto {
5347
+ machineExternalId: string;
5348
+ name: string;
5349
+ comment?: string | null;
5350
+ capacity?: MachineCapacitySettingsDto[] | null;
5351
+ created?: Date | null;
5352
+ updatedBy?: string | null;
5353
+ updatedById?: string | null;
5354
+ constructor(data?: IMachineCapacityDto);
5355
+ init(_data?: any): void;
5356
+ static fromJS(data: any): MachineCapacityDto;
5357
+ toJSON(data?: any): any;
5358
+ }
5359
+ export interface IMachineCapacityDto {
5360
+ machineExternalId: string;
5361
+ name: string;
5362
+ comment?: string | null;
5363
+ capacity?: MachineCapacitySettingsDto[] | null;
5364
+ created?: Date | null;
5365
+ updatedBy?: string | null;
5366
+ updatedById?: string | null;
5367
+ }
5368
+ export declare class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
5369
+ capacityHours: number;
5370
+ utilizationPercent: number;
5371
+ constructor(data?: IMachineCapacitySettingsDto);
5372
+ init(_data?: any): void;
5373
+ static fromJS(data: any): MachineCapacitySettingsDto;
5374
+ toJSON(data?: any): any;
5375
+ }
5376
+ export interface IMachineCapacitySettingsDto {
5377
+ capacityHours: number;
5378
+ utilizationPercent: number;
5379
+ }
5380
+ export declare class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
5381
+ machineExternalId: string;
5382
+ comment?: string | null;
5383
+ capacity: MachineCapacitySettingsDto[];
5384
+ constructor(data?: IUpdateMachinesCapacity);
5385
+ init(_data?: any): void;
5386
+ static fromJS(data: any): UpdateMachinesCapacity;
5387
+ toJSON(data?: any): any;
5388
+ }
5389
+ export interface IUpdateMachinesCapacity {
5390
+ machineExternalId: string;
5391
+ comment?: string | null;
5392
+ capacity: MachineCapacitySettingsDto[];
5393
+ }
5394
+ export declare class CalenderCapacityDto implements ICalenderCapacityDto {
5395
+ date?: Date;
5396
+ dayCapacity?: CalenderDayCapacityDto;
5397
+ constructor(data?: ICalenderCapacityDto);
5398
+ init(_data?: any): void;
5399
+ static fromJS(data: any): CalenderCapacityDto;
5400
+ toJSON(data?: any): any;
5401
+ }
5402
+ export interface ICalenderCapacityDto {
5403
+ date?: Date;
5404
+ dayCapacity?: CalenderDayCapacityDto;
5405
+ }
5406
+ export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
5407
+ export declare class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
5408
+ date: Date;
5409
+ dayCapacity: CalenderDayCapacityDto;
5410
+ constructor(data?: IUpdateCalenderCapacity);
5411
+ init(_data?: any): void;
5412
+ static fromJS(data: any): UpdateCalenderCapacity;
5413
+ toJSON(data?: any): any;
5414
+ }
5415
+ export interface IUpdateCalenderCapacity {
5416
+ date: Date;
5417
+ dayCapacity: CalenderDayCapacityDto;
5418
+ }
5185
5419
  export declare class MachineDto implements IMachineDto {
5186
5420
  id: number;
5187
5421
  externalId: string;
@@ -8464,6 +8698,46 @@ export interface ISuggestionsItemDto {
8464
8698
  toSuggestions: LocationDto[];
8465
8699
  }
8466
8700
  export type SuggestionTypeDto = "Other" | "ChipDisposal" | "Garbage";
8701
+ export declare class SuggestionsMaterialItemDto implements ISuggestionsMaterialItemDto {
8702
+ lineNumber: number;
8703
+ fromAutoFill?: LocationMaterialDto | null;
8704
+ toAutoFill?: LocationDto | null;
8705
+ fromSuggestions: LocationMaterialDto[];
8706
+ toSuggestions: LocationDto[];
8707
+ constructor(data?: ISuggestionsMaterialItemDto);
8708
+ init(_data?: any): void;
8709
+ static fromJS(data: any): SuggestionsMaterialItemDto;
8710
+ toJSON(data?: any): any;
8711
+ }
8712
+ export interface ISuggestionsMaterialItemDto {
8713
+ lineNumber: number;
8714
+ fromAutoFill?: LocationMaterialDto | null;
8715
+ toAutoFill?: LocationDto | null;
8716
+ fromSuggestions: LocationMaterialDto[];
8717
+ toSuggestions: LocationDto[];
8718
+ }
8719
+ export declare class LocationMaterialDto implements ILocationMaterialDto {
8720
+ locationId: string;
8721
+ locationName: string;
8722
+ zoneId?: string | null;
8723
+ zoneName?: string | null;
8724
+ kind: LocationKindDto;
8725
+ profile?: string | null;
8726
+ materialAvailable: number;
8727
+ constructor(data?: ILocationMaterialDto);
8728
+ init(_data?: any): void;
8729
+ static fromJS(data: any): LocationMaterialDto;
8730
+ toJSON(data?: any): any;
8731
+ }
8732
+ export interface ILocationMaterialDto {
8733
+ locationId: string;
8734
+ locationName: string;
8735
+ zoneId?: string | null;
8736
+ zoneName?: string | null;
8737
+ kind: LocationKindDto;
8738
+ profile?: string | null;
8739
+ materialAvailable: number;
8740
+ }
8467
8741
  export declare class MaterialDesciptionDto implements IMaterialDesciptionDto {
8468
8742
  materialId: string;
8469
8743
  materialName: string;
@@ -9116,6 +9390,7 @@ export declare class ProductionOrderBomDto implements IProductionOrderBomDto {
9116
9390
  status: MaterialStatus;
9117
9391
  availabilityDetails: InventoryDto[];
9118
9392
  traceType: TraceType;
9393
+ resourceGroupId?: string | null;
9119
9394
  constructor(data?: IProductionOrderBomDto);
9120
9395
  init(_data?: any): void;
9121
9396
  static fromJS(data: any): ProductionOrderBomDto;
@@ -9141,6 +9416,7 @@ export interface IProductionOrderBomDto {
9141
9416
  status: MaterialStatus;
9142
9417
  availabilityDetails: InventoryDto[];
9143
9418
  traceType: TraceType;
9419
+ resourceGroupId?: string | null;
9144
9420
  }
9145
9421
  export declare class InventoryDto implements IInventoryDto {
9146
9422
  siteId: string;