@ignos/api-client 20250806.0.12310-alpha → 20250807.0.12317
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 +38 -102
- package/lib/ignosportal-api.js +207 -417
- package/package.json +1 -1
- package/src/ignosportal-api.ts +235 -508
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -226,6 +226,9 @@ export interface IMeClient {
|
|
|
226
226
|
getCurrentUser(): Promise<UserDetailsDto>;
|
|
227
227
|
setIsBetaTester(request: SetIsBetaTesterRequest): Promise<UserDto>;
|
|
228
228
|
updateCurrentUserLastSeen(): Promise<void>;
|
|
229
|
+
getRoles(): Promise<string[]>;
|
|
230
|
+
setTestRoles(roles: string[]): Promise<void>;
|
|
231
|
+
removeAllTestRoles(): Promise<void>;
|
|
229
232
|
}
|
|
230
233
|
export declare class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
231
234
|
private http;
|
|
@@ -242,6 +245,12 @@ export declare class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
242
245
|
protected processSetIsBetaTester(response: Response): Promise<UserDto>;
|
|
243
246
|
updateCurrentUserLastSeen(): Promise<void>;
|
|
244
247
|
protected processUpdateCurrentUserLastSeen(response: Response): Promise<void>;
|
|
248
|
+
getRoles(): Promise<string[]>;
|
|
249
|
+
protected processGetRoles(response: Response): Promise<string[]>;
|
|
250
|
+
setTestRoles(roles: string[]): Promise<void>;
|
|
251
|
+
protected processSetTestRoles(response: Response): Promise<void>;
|
|
252
|
+
removeAllTestRoles(): Promise<void>;
|
|
253
|
+
protected processRemoveAllTestRoles(response: Response): Promise<void>;
|
|
245
254
|
}
|
|
246
255
|
export interface IUsersClient {
|
|
247
256
|
listUsers(pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfUserDto>;
|
|
@@ -847,6 +856,7 @@ export interface IMachinesClient {
|
|
|
847
856
|
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
848
857
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
849
858
|
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
859
|
+
getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
|
|
850
860
|
getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
851
861
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
|
|
852
862
|
listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -886,6 +896,8 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
886
896
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
887
897
|
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
888
898
|
protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
|
|
899
|
+
getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
|
|
900
|
+
protected processGetWorkOrderTimeline(response: Response): Promise<WorkOrderDatapoint[]>;
|
|
889
901
|
getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
890
902
|
protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
|
|
891
903
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
|
|
@@ -2623,12 +2635,6 @@ export interface IWorkordersClient {
|
|
|
2623
2635
|
* Deleteds existing work order mappings.
|
|
2624
2636
|
*/
|
|
2625
2637
|
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>;
|
|
2632
2638
|
}
|
|
2633
2639
|
export declare class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
|
|
2634
2640
|
private http;
|
|
@@ -2758,18 +2764,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
2758
2764
|
*/
|
|
2759
2765
|
deleteWorkOrderMappings(): Promise<void>;
|
|
2760
2766
|
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>;
|
|
2773
2767
|
}
|
|
2774
2768
|
export declare class AzureRegionDto implements IAzureRegionDto {
|
|
2775
2769
|
displayName: string;
|
|
@@ -6298,6 +6292,32 @@ export interface IWorkOrderProjectDto {
|
|
|
6298
6292
|
name?: string | null;
|
|
6299
6293
|
projectManager?: string | null;
|
|
6300
6294
|
}
|
|
6295
|
+
export declare class WorkOrderDatapoint implements IWorkOrderDatapoint {
|
|
6296
|
+
workOrder: string;
|
|
6297
|
+
id: number;
|
|
6298
|
+
externalId: string;
|
|
6299
|
+
subType?: string | null;
|
|
6300
|
+
startTime: number;
|
|
6301
|
+
endTime?: number | null;
|
|
6302
|
+
metaData?: {
|
|
6303
|
+
[key: string]: string;
|
|
6304
|
+
} | null;
|
|
6305
|
+
constructor(data?: IWorkOrderDatapoint);
|
|
6306
|
+
init(_data?: any): void;
|
|
6307
|
+
static fromJS(data: any): WorkOrderDatapoint;
|
|
6308
|
+
toJSON(data?: any): any;
|
|
6309
|
+
}
|
|
6310
|
+
export interface IWorkOrderDatapoint {
|
|
6311
|
+
workOrder: string;
|
|
6312
|
+
id: number;
|
|
6313
|
+
externalId: string;
|
|
6314
|
+
subType?: string | null;
|
|
6315
|
+
startTime: number;
|
|
6316
|
+
endTime?: number | null;
|
|
6317
|
+
metaData?: {
|
|
6318
|
+
[key: string]: string;
|
|
6319
|
+
} | null;
|
|
6320
|
+
}
|
|
6301
6321
|
export declare class UtilizationSummaryDto implements IUtilizationSummaryDto {
|
|
6302
6322
|
factory: FactoryUtilizationDto;
|
|
6303
6323
|
groups: MachineGroupUtilizationDto[];
|
|
@@ -14428,90 +14448,6 @@ export interface ICreateWorkOrderMapping {
|
|
|
14428
14448
|
existingWorkOrderId: string;
|
|
14429
14449
|
newWorkOrderId: string;
|
|
14430
14450
|
}
|
|
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
14451
|
export interface FileParameter {
|
|
14516
14452
|
data: any;
|
|
14517
14453
|
fileName: string;
|