@ignos/api-client 20250805.0.12279-alpha → 20250806.0.12288

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.
@@ -847,6 +847,7 @@ export interface IMachinesClient {
847
847
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
848
848
  listMachineErpData(): Promise<MachineErpDataListDto>;
849
849
  getMachineErpData(id: number): Promise<MachineErpDataDto>;
850
+ getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
850
851
  getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
851
852
  getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
852
853
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
@@ -886,6 +887,8 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
886
887
  protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
887
888
  getMachineErpData(id: number): Promise<MachineErpDataDto>;
888
889
  protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
890
+ getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
891
+ protected processGetWorkOrderTimeline(response: Response): Promise<WorkOrderDatapoint[]>;
889
892
  getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
890
893
  protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
891
894
  getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
@@ -2623,12 +2626,6 @@ export interface IWorkordersClient {
2623
2626
  * Deleteds existing work order mappings.
2624
2627
  */
2625
2628
  deleteWorkOrderMappings(): Promise<void>;
2626
- getDiscussionMessages(id: string): Promise<WorkorderDiscussionMessageDto[]>;
2627
- addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessageDto>;
2628
- updateMessage(id: string, messageId: string, content: string): Promise<FileResponse>;
2629
- deleteMessage(id: string, messageId: string): Promise<FileResponse>;
2630
- getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined, userUpn: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto>;
2631
- setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
2632
2629
  }
2633
2630
  export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
2634
2631
  private http;
@@ -2758,18 +2755,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
2758
2755
  */
2759
2756
  deleteWorkOrderMappings(): Promise<void>;
2760
2757
  protected processDeleteWorkOrderMappings(response: Response): Promise<void>;
2761
- getDiscussionMessages(id: string): Promise<WorkorderDiscussionMessageDto[]>;
2762
- protected processGetDiscussionMessages(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
2763
- addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessageDto>;
2764
- protected processAddDiscussionMessage(response: Response): Promise<WorkorderDiscussionMessageDto>;
2765
- updateMessage(id: string, messageId: string, content: string): Promise<FileResponse>;
2766
- protected processUpdateMessage(response: Response): Promise<FileResponse>;
2767
- deleteMessage(id: string, messageId: string): Promise<FileResponse>;
2768
- protected processDeleteMessage(response: Response): Promise<FileResponse>;
2769
- getLastRead(id: string, operationId: string | null | undefined, resourceId: string | null | undefined, userUpn: string | null | undefined): Promise<WorkorderDiscussionReadStatusDto>;
2770
- protected processGetLastRead(response: Response): Promise<WorkorderDiscussionReadStatusDto>;
2771
- setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
2772
- protected processSetLastRead(response: Response): Promise<void>;
2773
2758
  }
2774
2759
  export declare class AzureRegionDto implements IAzureRegionDto {
2775
2760
  displayName: string;
@@ -6298,6 +6283,32 @@ export interface IWorkOrderProjectDto {
6298
6283
  name?: string | null;
6299
6284
  projectManager?: string | null;
6300
6285
  }
6286
+ export declare class WorkOrderDatapoint implements IWorkOrderDatapoint {
6287
+ workOrder: string;
6288
+ id: number;
6289
+ externalId: string;
6290
+ subType?: string | null;
6291
+ startTime: number;
6292
+ endTime?: number | null;
6293
+ metaData?: {
6294
+ [key: string]: string;
6295
+ } | null;
6296
+ constructor(data?: IWorkOrderDatapoint);
6297
+ init(_data?: any): void;
6298
+ static fromJS(data: any): WorkOrderDatapoint;
6299
+ toJSON(data?: any): any;
6300
+ }
6301
+ export interface IWorkOrderDatapoint {
6302
+ workOrder: string;
6303
+ id: number;
6304
+ externalId: string;
6305
+ subType?: string | null;
6306
+ startTime: number;
6307
+ endTime?: number | null;
6308
+ metaData?: {
6309
+ [key: string]: string;
6310
+ } | null;
6311
+ }
6301
6312
  export declare class UtilizationSummaryDto implements IUtilizationSummaryDto {
6302
6313
  factory: FactoryUtilizationDto;
6303
6314
  groups: MachineGroupUtilizationDto[];
@@ -14428,90 +14439,6 @@ export interface ICreateWorkOrderMapping {
14428
14439
  existingWorkOrderId: string;
14429
14440
  newWorkOrderId: string;
14430
14441
  }
14431
- export declare class WorkorderDiscussionMessageDto implements IWorkorderDiscussionMessageDto {
14432
- id?: string;
14433
- workorderId?: string;
14434
- companyId?: string;
14435
- content?: string;
14436
- senderUpn?: string;
14437
- senderName?: string;
14438
- operationId?: string | null;
14439
- operationName?: string | null;
14440
- resourceId?: string | null;
14441
- created?: Date;
14442
- constructor(data?: IWorkorderDiscussionMessageDto);
14443
- init(_data?: any): void;
14444
- static fromJS(data: any): WorkorderDiscussionMessageDto;
14445
- toJSON(data?: any): any;
14446
- }
14447
- export interface IWorkorderDiscussionMessageDto {
14448
- id?: string;
14449
- workorderId?: string;
14450
- companyId?: string;
14451
- content?: string;
14452
- senderUpn?: string;
14453
- senderName?: string;
14454
- operationId?: string | null;
14455
- operationName?: string | null;
14456
- resourceId?: string | null;
14457
- created?: Date;
14458
- }
14459
- export declare class AddDiscussionMessageRequest implements IAddDiscussionMessageRequest {
14460
- companyId?: string;
14461
- message?: string;
14462
- senderUpn?: string;
14463
- senderName?: string;
14464
- operationId?: string | null;
14465
- operationName?: string | null;
14466
- resourceId?: string | null;
14467
- constructor(data?: IAddDiscussionMessageRequest);
14468
- init(_data?: any): void;
14469
- static fromJS(data: any): AddDiscussionMessageRequest;
14470
- toJSON(data?: any): any;
14471
- }
14472
- export interface IAddDiscussionMessageRequest {
14473
- companyId?: string;
14474
- message?: string;
14475
- senderUpn?: string;
14476
- senderName?: string;
14477
- operationId?: string | null;
14478
- operationName?: string | null;
14479
- resourceId?: string | null;
14480
- }
14481
- export declare class WorkorderDiscussionReadStatusDto implements IWorkorderDiscussionReadStatusDto {
14482
- workorderId?: string;
14483
- operationId?: string | null;
14484
- resourceId?: string | null;
14485
- userUpn?: string;
14486
- lastRead?: Date;
14487
- constructor(data?: IWorkorderDiscussionReadStatusDto);
14488
- init(_data?: any): void;
14489
- static fromJS(data: any): WorkorderDiscussionReadStatusDto;
14490
- toJSON(data?: any): any;
14491
- }
14492
- export interface IWorkorderDiscussionReadStatusDto {
14493
- workorderId?: string;
14494
- operationId?: string | null;
14495
- resourceId?: string | null;
14496
- userUpn?: string;
14497
- lastRead?: Date;
14498
- }
14499
- export declare class SetDiscussionLastRead implements ISetDiscussionLastRead {
14500
- workorderId?: string;
14501
- operationId?: string | null;
14502
- resourceId?: string | null;
14503
- userUpn?: string;
14504
- constructor(data?: ISetDiscussionLastRead);
14505
- init(_data?: any): void;
14506
- static fromJS(data: any): SetDiscussionLastRead;
14507
- toJSON(data?: any): any;
14508
- }
14509
- export interface ISetDiscussionLastRead {
14510
- workorderId?: string;
14511
- operationId?: string | null;
14512
- resourceId?: string | null;
14513
- userUpn?: string;
14514
- }
14515
14442
  export interface FileParameter {
14516
14443
  data: any;
14517
14444
  fileName: string;