@ignos/api-client 20240515.0.9279 → 20240524.0.9327
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 +75 -26
- package/lib/ignosportal-api.js +193 -49
- package/package.json +1 -1
- package/src/ignosportal-api.ts +264 -73
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -738,9 +738,11 @@ export declare class LocateLocationsClient extends AuthorizedApiBase implements
|
|
|
738
738
|
protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
|
|
739
739
|
}
|
|
740
740
|
export interface ILocateTrackingClient {
|
|
741
|
-
listTrackingHistory(
|
|
742
|
-
|
|
743
|
-
|
|
741
|
+
listTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
|
|
742
|
+
listWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
|
|
743
|
+
createTrackingEvents(locateTrackingUpdates: TrackingUpdateDto[]): Promise<void>;
|
|
744
|
+
createTrackingHistory(locateTrackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
745
|
+
deleteTrackingHistory(locateTrackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
744
746
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
745
747
|
}
|
|
746
748
|
export declare class LocateTrackingClient extends AuthorizedApiBase implements ILocateTrackingClient {
|
|
@@ -750,12 +752,16 @@ export declare class LocateTrackingClient extends AuthorizedApiBase implements I
|
|
|
750
752
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
751
753
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
752
754
|
});
|
|
753
|
-
listTrackingHistory(
|
|
755
|
+
listTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
|
|
754
756
|
protected processListTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
|
|
755
|
-
|
|
756
|
-
protected
|
|
757
|
-
|
|
758
|
-
protected
|
|
757
|
+
listWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
|
|
758
|
+
protected processListWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto>;
|
|
759
|
+
createTrackingEvents(locateTrackingUpdates: TrackingUpdateDto[]): Promise<void>;
|
|
760
|
+
protected processCreateTrackingEvents(response: Response): Promise<void>;
|
|
761
|
+
createTrackingHistory(locateTrackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
762
|
+
protected processCreateTrackingHistory(response: Response): Promise<void>;
|
|
763
|
+
deleteTrackingHistory(locateTrackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
764
|
+
protected processDeleteTrackingHistory(response: Response): Promise<void>;
|
|
759
765
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
760
766
|
protected processCreateLabel(response: Response): Promise<FileResponse>;
|
|
761
767
|
}
|
|
@@ -1999,7 +2005,7 @@ export interface IWorkordersClient {
|
|
|
1999
2005
|
* @param request Trace details
|
|
2000
2006
|
*/
|
|
2001
2007
|
upsertWorkorderTraces(id: string, request: UpsertWorkOrderTracesRequest): Promise<void>;
|
|
2002
|
-
setWorkorderCustomerOrderReference(id: string, request: WorkorderCustomerOrderReferenceDto): Promise<void>;
|
|
2008
|
+
setWorkorderCustomerOrderReference(id: string, request: WorkorderCustomerOrderReferenceDto | undefined): Promise<void>;
|
|
2003
2009
|
checkResourceStatus(id: string): Promise<ResourceExistDto>;
|
|
2004
2010
|
/**
|
|
2005
2011
|
* Register start work or setup on a workorder operation.
|
|
@@ -2101,7 +2107,7 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
2101
2107
|
*/
|
|
2102
2108
|
upsertWorkorderTraces(id: string, request: UpsertWorkOrderTracesRequest): Promise<void>;
|
|
2103
2109
|
protected processUpsertWorkorderTraces(response: Response): Promise<void>;
|
|
2104
|
-
setWorkorderCustomerOrderReference(id: string, request: WorkorderCustomerOrderReferenceDto): Promise<void>;
|
|
2110
|
+
setWorkorderCustomerOrderReference(id: string, request: WorkorderCustomerOrderReferenceDto | undefined): Promise<void>;
|
|
2105
2111
|
protected processSetWorkorderCustomerOrderReference(response: Response): Promise<void>;
|
|
2106
2112
|
checkResourceStatus(id: string): Promise<ResourceExistDto>;
|
|
2107
2113
|
protected processCheckResourceStatus(response: Response): Promise<ResourceExistDto>;
|
|
@@ -4250,6 +4256,7 @@ export declare class CreateMeasuringToolRequest implements ICreateMeasuringToolR
|
|
|
4250
4256
|
precision?: string | null;
|
|
4251
4257
|
uploadKey?: string | null;
|
|
4252
4258
|
filename?: string | null;
|
|
4259
|
+
initialCalibrationDate?: Date | null;
|
|
4253
4260
|
constructor(data?: ICreateMeasuringToolRequest);
|
|
4254
4261
|
init(_data?: any): void;
|
|
4255
4262
|
static fromJS(data: any): CreateMeasuringToolRequest;
|
|
@@ -4271,6 +4278,7 @@ export interface ICreateMeasuringToolRequest {
|
|
|
4271
4278
|
precision?: string | null;
|
|
4272
4279
|
uploadKey?: string | null;
|
|
4273
4280
|
filename?: string | null;
|
|
4281
|
+
initialCalibrationDate?: Date | null;
|
|
4274
4282
|
}
|
|
4275
4283
|
export declare class UpdateMeasuringToolRequest implements IUpdateMeasuringToolRequest {
|
|
4276
4284
|
name: string;
|
|
@@ -5008,6 +5016,7 @@ export interface IMachineGroupUtilizationDto {
|
|
|
5008
5016
|
machines: MachineUtilizationV2Dto[];
|
|
5009
5017
|
}
|
|
5010
5018
|
export declare class MachineUtilizationV2Dto implements IMachineUtilizationV2Dto {
|
|
5019
|
+
id?: number;
|
|
5011
5020
|
name: string;
|
|
5012
5021
|
description?: string | null;
|
|
5013
5022
|
utilization: UtilizationDto;
|
|
@@ -5017,6 +5026,7 @@ export declare class MachineUtilizationV2Dto implements IMachineUtilizationV2Dto
|
|
|
5017
5026
|
toJSON(data?: any): any;
|
|
5018
5027
|
}
|
|
5019
5028
|
export interface IMachineUtilizationV2Dto {
|
|
5029
|
+
id?: number;
|
|
5020
5030
|
name: string;
|
|
5021
5031
|
description?: string | null;
|
|
5022
5032
|
utilization: UtilizationDto;
|
|
@@ -5249,29 +5259,29 @@ export interface ILocationDto {
|
|
|
5249
5259
|
}
|
|
5250
5260
|
export type LocationKindDto = "Warehouse" | "Zone" | "Location";
|
|
5251
5261
|
export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
5262
|
+
trackingId: string;
|
|
5263
|
+
palletNumber: number;
|
|
5252
5264
|
workOrderId: string;
|
|
5253
5265
|
trackingEvents: TrackingEventDto[];
|
|
5254
|
-
part: PartDto;
|
|
5255
5266
|
constructor(data?: ITrackingHistoryDto);
|
|
5256
5267
|
init(_data?: any): void;
|
|
5257
5268
|
static fromJS(data: any): TrackingHistoryDto;
|
|
5258
5269
|
toJSON(data?: any): any;
|
|
5259
5270
|
}
|
|
5260
5271
|
export interface ITrackingHistoryDto {
|
|
5272
|
+
trackingId: string;
|
|
5273
|
+
palletNumber: number;
|
|
5261
5274
|
workOrderId: string;
|
|
5262
5275
|
trackingEvents: TrackingEventDto[];
|
|
5263
|
-
part: PartDto;
|
|
5264
5276
|
}
|
|
5265
5277
|
export declare class TrackingEventDto implements ITrackingEventDto {
|
|
5266
5278
|
id: number;
|
|
5267
5279
|
created: Date;
|
|
5268
5280
|
createdBy: string;
|
|
5269
|
-
updated: Date;
|
|
5270
|
-
updatedBy: string;
|
|
5271
5281
|
location: LocationDto;
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5282
|
+
status: TrackingStatusDto;
|
|
5283
|
+
bookingId?: string | null;
|
|
5284
|
+
comment?: string | null;
|
|
5275
5285
|
constructor(data?: ITrackingEventDto);
|
|
5276
5286
|
init(_data?: any): void;
|
|
5277
5287
|
static fromJS(data: any): TrackingEventDto;
|
|
@@ -5281,26 +5291,53 @@ export interface ITrackingEventDto {
|
|
|
5281
5291
|
id: number;
|
|
5282
5292
|
created: Date;
|
|
5283
5293
|
createdBy: string;
|
|
5284
|
-
updated: Date;
|
|
5285
|
-
updatedBy: string;
|
|
5286
5294
|
location: LocationDto;
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5295
|
+
status: TrackingStatusDto;
|
|
5296
|
+
bookingId?: string | null;
|
|
5297
|
+
comment?: string | null;
|
|
5298
|
+
}
|
|
5299
|
+
export type TrackingStatusDto = "Manual" | "BookingPending" | "BookingCancelled" | "BookingInProgress" | "BookingComplete";
|
|
5300
|
+
export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
|
|
5301
|
+
workOrderId: string;
|
|
5302
|
+
part: PartDto;
|
|
5303
|
+
trackingHistory: TrackingHistoryDto[];
|
|
5304
|
+
constructor(data?: ITrackingWorkOrderDto);
|
|
5305
|
+
init(_data?: any): void;
|
|
5306
|
+
static fromJS(data: any): TrackingWorkOrderDto;
|
|
5307
|
+
toJSON(data?: any): any;
|
|
5308
|
+
}
|
|
5309
|
+
export interface ITrackingWorkOrderDto {
|
|
5310
|
+
workOrderId: string;
|
|
5311
|
+
part: PartDto;
|
|
5312
|
+
trackingHistory: TrackingHistoryDto[];
|
|
5290
5313
|
}
|
|
5291
5314
|
export declare class TrackingUpdateDto implements ITrackingUpdateDto {
|
|
5315
|
+
trackingId: string;
|
|
5292
5316
|
locationId: string;
|
|
5293
|
-
|
|
5294
|
-
pallets?: number | null;
|
|
5317
|
+
comment?: string | null;
|
|
5295
5318
|
constructor(data?: ITrackingUpdateDto);
|
|
5296
5319
|
init(_data?: any): void;
|
|
5297
5320
|
static fromJS(data: any): TrackingUpdateDto;
|
|
5298
5321
|
toJSON(data?: any): any;
|
|
5299
5322
|
}
|
|
5300
5323
|
export interface ITrackingUpdateDto {
|
|
5324
|
+
trackingId: string;
|
|
5301
5325
|
locationId: string;
|
|
5302
|
-
|
|
5303
|
-
|
|
5326
|
+
comment?: string | null;
|
|
5327
|
+
}
|
|
5328
|
+
export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateDto {
|
|
5329
|
+
workOrderId: string;
|
|
5330
|
+
locationId: string;
|
|
5331
|
+
comment?: string | null;
|
|
5332
|
+
constructor(data?: ITrackingHistoryUpdateDto);
|
|
5333
|
+
init(_data?: any): void;
|
|
5334
|
+
static fromJS(data: any): TrackingHistoryUpdateDto;
|
|
5335
|
+
toJSON(data?: any): any;
|
|
5336
|
+
}
|
|
5337
|
+
export interface ITrackingHistoryUpdateDto {
|
|
5338
|
+
workOrderId: string;
|
|
5339
|
+
locationId: string;
|
|
5340
|
+
comment?: string | null;
|
|
5304
5341
|
}
|
|
5305
5342
|
export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
5306
5343
|
workOrderId: string;
|
|
@@ -6597,6 +6634,7 @@ export declare class CncToolDto implements ICncToolDto {
|
|
|
6597
6634
|
diameter?: number | null;
|
|
6598
6635
|
grade?: string | null;
|
|
6599
6636
|
radius?: number | null;
|
|
6637
|
+
chamfer?: number | null;
|
|
6600
6638
|
width?: number | null;
|
|
6601
6639
|
pitch?: string | null;
|
|
6602
6640
|
length?: number | null;
|
|
@@ -6627,6 +6665,7 @@ export interface ICncToolDto {
|
|
|
6627
6665
|
diameter?: number | null;
|
|
6628
6666
|
grade?: string | null;
|
|
6629
6667
|
radius?: number | null;
|
|
6668
|
+
chamfer?: number | null;
|
|
6630
6669
|
width?: number | null;
|
|
6631
6670
|
pitch?: string | null;
|
|
6632
6671
|
length?: number | null;
|
|
@@ -6753,6 +6792,8 @@ export declare class CncToolSubTypeDto implements ICncToolSubTypeDto {
|
|
|
6753
6792
|
gradeHelperText: string;
|
|
6754
6793
|
radius: boolean;
|
|
6755
6794
|
radiusHelperText: string;
|
|
6795
|
+
chamfer: boolean;
|
|
6796
|
+
chamferHelperText: string;
|
|
6756
6797
|
width: boolean;
|
|
6757
6798
|
widthHelperText: string;
|
|
6758
6799
|
pitch: boolean;
|
|
@@ -6792,6 +6833,8 @@ export interface ICncToolSubTypeDto {
|
|
|
6792
6833
|
gradeHelperText: string;
|
|
6793
6834
|
radius: boolean;
|
|
6794
6835
|
radiusHelperText: string;
|
|
6836
|
+
chamfer: boolean;
|
|
6837
|
+
chamferHelperText: string;
|
|
6795
6838
|
width: boolean;
|
|
6796
6839
|
widthHelperText: string;
|
|
6797
6840
|
pitch: boolean;
|
|
@@ -6823,6 +6866,7 @@ export declare class CreateCncMachineOperationToolRequest implements ICreateCncM
|
|
|
6823
6866
|
diameter?: number | null;
|
|
6824
6867
|
grade?: string | null;
|
|
6825
6868
|
radius?: number | null;
|
|
6869
|
+
chamfer?: number | null;
|
|
6826
6870
|
width?: number | null;
|
|
6827
6871
|
pitch?: string | null;
|
|
6828
6872
|
length?: number | null;
|
|
@@ -6848,6 +6892,7 @@ export interface ICreateCncMachineOperationToolRequest {
|
|
|
6848
6892
|
diameter?: number | null;
|
|
6849
6893
|
grade?: string | null;
|
|
6850
6894
|
radius?: number | null;
|
|
6895
|
+
chamfer?: number | null;
|
|
6851
6896
|
width?: number | null;
|
|
6852
6897
|
pitch?: string | null;
|
|
6853
6898
|
length?: number | null;
|
|
@@ -6869,6 +6914,7 @@ export declare class UpdateCncMachineOperationToolRequest implements IUpdateCncM
|
|
|
6869
6914
|
diameter?: number | null;
|
|
6870
6915
|
grade?: string | null;
|
|
6871
6916
|
radius?: number | null;
|
|
6917
|
+
chamfer?: number | null;
|
|
6872
6918
|
width?: number | null;
|
|
6873
6919
|
pitch?: string | null;
|
|
6874
6920
|
length?: number | null;
|
|
@@ -6894,6 +6940,7 @@ export interface IUpdateCncMachineOperationToolRequest {
|
|
|
6894
6940
|
diameter?: number | null;
|
|
6895
6941
|
grade?: string | null;
|
|
6896
6942
|
radius?: number | null;
|
|
6943
|
+
chamfer?: number | null;
|
|
6897
6944
|
width?: number | null;
|
|
6898
6945
|
pitch?: string | null;
|
|
6899
6946
|
length?: number | null;
|
|
@@ -6927,6 +6974,7 @@ export declare class UpdateCncMachineToolRequest implements IUpdateCncMachineToo
|
|
|
6927
6974
|
diameter?: number | null;
|
|
6928
6975
|
grade?: string | null;
|
|
6929
6976
|
radius?: number | null;
|
|
6977
|
+
chamfer?: number | null;
|
|
6930
6978
|
width?: number | null;
|
|
6931
6979
|
pitch?: string | null;
|
|
6932
6980
|
length?: number | null;
|
|
@@ -6952,6 +7000,7 @@ export interface IUpdateCncMachineToolRequest {
|
|
|
6952
7000
|
diameter?: number | null;
|
|
6953
7001
|
grade?: string | null;
|
|
6954
7002
|
radius?: number | null;
|
|
7003
|
+
chamfer?: number | null;
|
|
6955
7004
|
width?: number | null;
|
|
6956
7005
|
pitch?: string | null;
|
|
6957
7006
|
length?: number | null;
|