@ignos/api-client 20250806.0.12288 → 20250806.0.12310-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.
- package/lib/ignosportal-api.d.ts +102 -29
- package/lib/ignosportal-api.js +417 -98
- package/package.json +1 -1
- package/src/ignosportal-api.ts +508 -121
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -847,7 +847,6 @@ 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[]>;
|
|
851
850
|
getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
852
851
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
|
|
853
852
|
listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -887,8 +886,6 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
887
886
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
888
887
|
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
889
888
|
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[]>;
|
|
892
889
|
getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
893
890
|
protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
|
|
894
891
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
|
|
@@ -2626,6 +2623,12 @@ export interface IWorkordersClient {
|
|
|
2626
2623
|
* Deleteds existing work order mappings.
|
|
2627
2624
|
*/
|
|
2628
2625
|
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): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2631
|
+
setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
|
|
2629
2632
|
}
|
|
2630
2633
|
export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
|
|
2631
2634
|
private http;
|
|
@@ -2755,6 +2758,18 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
2755
2758
|
*/
|
|
2756
2759
|
deleteWorkOrderMappings(): Promise<void>;
|
|
2757
2760
|
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): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2770
|
+
protected processGetLastRead(response: Response): Promise<WorkorderDiscussionReadStatusDto>;
|
|
2771
|
+
setLastRead(id: string, request: SetDiscussionLastRead): Promise<void>;
|
|
2772
|
+
protected processSetLastRead(response: Response): Promise<void>;
|
|
2758
2773
|
}
|
|
2759
2774
|
export declare class AzureRegionDto implements IAzureRegionDto {
|
|
2760
2775
|
displayName: string;
|
|
@@ -6283,32 +6298,6 @@ export interface IWorkOrderProjectDto {
|
|
|
6283
6298
|
name?: string | null;
|
|
6284
6299
|
projectManager?: string | null;
|
|
6285
6300
|
}
|
|
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
|
-
}
|
|
6312
6301
|
export declare class UtilizationSummaryDto implements IUtilizationSummaryDto {
|
|
6313
6302
|
factory: FactoryUtilizationDto;
|
|
6314
6303
|
groups: MachineGroupUtilizationDto[];
|
|
@@ -14439,6 +14428,90 @@ export interface ICreateWorkOrderMapping {
|
|
|
14439
14428
|
existingWorkOrderId: string;
|
|
14440
14429
|
newWorkOrderId: string;
|
|
14441
14430
|
}
|
|
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
|
+
}
|
|
14442
14515
|
export interface FileParameter {
|
|
14443
14516
|
data: any;
|
|
14444
14517
|
fileName: string;
|