@ignos/api-client 20240823.0.10114 → 20240828.0.10156
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 +99 -53
- package/lib/ignosportal-api.js +254 -75
- package/package.json +1 -1
- package/src/ignosportal-api.ts +351 -129
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1041,6 +1041,8 @@ export interface ICncSetupClient {
|
|
|
1041
1041
|
deleteCncMachineOperationProgramVersion(id: string, filename: string, versionId: number): Promise<ProgramFileDto[]>;
|
|
1042
1042
|
createUploadAttachmentInfo(id: string, request: UploadFileRequest): Promise<UploadFileDto[]>;
|
|
1043
1043
|
listCncMachineOperationsAttachments(id: string): Promise<FileDto[]>;
|
|
1044
|
+
getCncMachineOperationNotes(id: string): Promise<MarkdownNotesDto>;
|
|
1045
|
+
saveCncMachineOperationNotes(id: string, request: SaveMarkdownNotes): Promise<MarkdownNotesDto>;
|
|
1044
1046
|
deleteCncMachineOperationAttachment(operationId: string, filename: string): Promise<void>;
|
|
1045
1047
|
listCncMachineOperationsByPart(id: string): Promise<CncMachineOperationDto[]>;
|
|
1046
1048
|
listCncToolTypes(): Promise<CncToolTypeDto[]>;
|
|
@@ -1133,6 +1135,10 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
|
|
|
1133
1135
|
protected processCreateUploadAttachmentInfo(response: Response): Promise<UploadFileDto[]>;
|
|
1134
1136
|
listCncMachineOperationsAttachments(id: string): Promise<FileDto[]>;
|
|
1135
1137
|
protected processListCncMachineOperationsAttachments(response: Response): Promise<FileDto[]>;
|
|
1138
|
+
getCncMachineOperationNotes(id: string): Promise<MarkdownNotesDto>;
|
|
1139
|
+
protected processGetCncMachineOperationNotes(response: Response): Promise<MarkdownNotesDto>;
|
|
1140
|
+
saveCncMachineOperationNotes(id: string, request: SaveMarkdownNotes): Promise<MarkdownNotesDto>;
|
|
1141
|
+
protected processSaveCncMachineOperationNotes(response: Response): Promise<MarkdownNotesDto>;
|
|
1136
1142
|
deleteCncMachineOperationAttachment(operationId: string, filename: string): Promise<void>;
|
|
1137
1143
|
protected processDeleteCncMachineOperationAttachment(response: Response): Promise<void>;
|
|
1138
1144
|
listCncMachineOperationsByPart(id: string): Promise<CncMachineOperationDto[]>;
|
|
@@ -1497,10 +1503,10 @@ export declare class MoveParcelsClient extends AuthorizedApiBase implements IMov
|
|
|
1497
1503
|
protected processSearchParcels(response: Response): Promise<SearchParcelDto[]>;
|
|
1498
1504
|
}
|
|
1499
1505
|
export interface IMoveTrackingClient {
|
|
1500
|
-
listTrackingHistory(request: TrackingRequestListDto): Promise<
|
|
1501
|
-
getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<
|
|
1506
|
+
listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
|
|
1507
|
+
getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingParcelDto>;
|
|
1502
1508
|
getParcelTrackingHistory(parcelId: string, includeActiveBookings: boolean | undefined): Promise<TrackingParcelDto>;
|
|
1503
|
-
listParcelTrackingHistory(trackingParcelList:
|
|
1509
|
+
listParcelTrackingHistory(trackingParcelList: TrackingParcelRequestListDto): Promise<TrackingParcelDto[]>;
|
|
1504
1510
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1505
1511
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1506
1512
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
@@ -1513,13 +1519,13 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
|
|
|
1513
1519
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1514
1520
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1515
1521
|
});
|
|
1516
|
-
listTrackingHistory(request: TrackingRequestListDto): Promise<
|
|
1517
|
-
protected processListTrackingHistory(response: Response): Promise<
|
|
1518
|
-
getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<
|
|
1519
|
-
protected processGetTrackingHistory(response: Response): Promise<
|
|
1522
|
+
listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
|
|
1523
|
+
protected processListTrackingHistory(response: Response): Promise<TrackingParcelListDto>;
|
|
1524
|
+
getTrackingHistory(trackingId: string, includeActiveBookings: boolean | undefined): Promise<TrackingParcelDto>;
|
|
1525
|
+
protected processGetTrackingHistory(response: Response): Promise<TrackingParcelDto>;
|
|
1520
1526
|
getParcelTrackingHistory(parcelId: string, includeActiveBookings: boolean | undefined): Promise<TrackingParcelDto>;
|
|
1521
1527
|
protected processGetParcelTrackingHistory(response: Response): Promise<TrackingParcelDto>;
|
|
1522
|
-
listParcelTrackingHistory(trackingParcelList:
|
|
1528
|
+
listParcelTrackingHistory(trackingParcelList: TrackingParcelRequestListDto): Promise<TrackingParcelDto[]>;
|
|
1523
1529
|
protected processListParcelTrackingHistory(response: Response): Promise<TrackingParcelDto[]>;
|
|
1524
1530
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1525
1531
|
protected processCreateTrackingEvents(response: Response): Promise<TrackingHistoryDto[]>;
|
|
@@ -6939,6 +6945,28 @@ export declare class UpdateProgramFileRequest implements IUpdateProgramFileReque
|
|
|
6939
6945
|
export interface IUpdateProgramFileRequest {
|
|
6940
6946
|
deleted: boolean;
|
|
6941
6947
|
}
|
|
6948
|
+
export declare class MarkdownNotesDto implements IMarkdownNotesDto {
|
|
6949
|
+
content: string;
|
|
6950
|
+
constructor(data?: IMarkdownNotesDto);
|
|
6951
|
+
init(_data?: any): void;
|
|
6952
|
+
static fromJS(data: any): MarkdownNotesDto;
|
|
6953
|
+
toJSON(data?: any): any;
|
|
6954
|
+
}
|
|
6955
|
+
export interface IMarkdownNotesDto {
|
|
6956
|
+
content: string;
|
|
6957
|
+
}
|
|
6958
|
+
export declare class SaveMarkdownNotes implements ISaveMarkdownNotes {
|
|
6959
|
+
id: string;
|
|
6960
|
+
markdown: string;
|
|
6961
|
+
constructor(data?: ISaveMarkdownNotes);
|
|
6962
|
+
init(_data?: any): void;
|
|
6963
|
+
static fromJS(data: any): SaveMarkdownNotes;
|
|
6964
|
+
toJSON(data?: any): any;
|
|
6965
|
+
}
|
|
6966
|
+
export interface ISaveMarkdownNotes {
|
|
6967
|
+
id: string;
|
|
6968
|
+
markdown: string;
|
|
6969
|
+
}
|
|
6942
6970
|
export declare class CncToolTypeDto implements ICncToolTypeDto {
|
|
6943
6971
|
id: string;
|
|
6944
6972
|
name: string;
|
|
@@ -7873,7 +7901,7 @@ export declare class BookingDto implements IBookingDto {
|
|
|
7873
7901
|
parcelKind: ParcelKindDto;
|
|
7874
7902
|
transportKind: TransportKindDto;
|
|
7875
7903
|
status: BookingStatusDto;
|
|
7876
|
-
|
|
7904
|
+
parcels: BookingParcelDto[];
|
|
7877
7905
|
fromLocation: LocationDto;
|
|
7878
7906
|
toLocation: LocationDto;
|
|
7879
7907
|
created: Date;
|
|
@@ -7894,7 +7922,7 @@ export interface IBookingDto {
|
|
|
7894
7922
|
parcelKind: ParcelKindDto;
|
|
7895
7923
|
transportKind: TransportKindDto;
|
|
7896
7924
|
status: BookingStatusDto;
|
|
7897
|
-
|
|
7925
|
+
parcels: BookingParcelDto[];
|
|
7898
7926
|
fromLocation: LocationDto;
|
|
7899
7927
|
toLocation: LocationDto;
|
|
7900
7928
|
created: Date;
|
|
@@ -7909,14 +7937,35 @@ export interface IBookingDto {
|
|
|
7909
7937
|
export type ParcelKindDto = "Standard" | "OtherInquiries" | "ChipDisposal" | "Garbage";
|
|
7910
7938
|
export type TransportKindDto = "NormalForklift" | "LargeForklift" | "SideLoadingForklift";
|
|
7911
7939
|
export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Completed";
|
|
7912
|
-
export declare class
|
|
7913
|
-
trackingId: string;
|
|
7914
|
-
palletNumber: number;
|
|
7940
|
+
export declare class BookingParcelDto implements IBookingParcelDto {
|
|
7915
7941
|
parcelId: string;
|
|
7916
7942
|
parcelKind: ParcelKindDto;
|
|
7943
|
+
partName?: string | null;
|
|
7944
|
+
partNumber?: string | null;
|
|
7945
|
+
quantity?: number | null;
|
|
7946
|
+
material?: string | null;
|
|
7947
|
+
covered: MaterialCoveredDto;
|
|
7948
|
+
items?: BookingItemDto[];
|
|
7949
|
+
constructor(data?: IBookingParcelDto);
|
|
7950
|
+
init(_data?: any): void;
|
|
7951
|
+
static fromJS(data: any): BookingParcelDto;
|
|
7952
|
+
toJSON(data?: any): any;
|
|
7953
|
+
}
|
|
7954
|
+
export interface IBookingParcelDto {
|
|
7955
|
+
parcelId: string;
|
|
7956
|
+
parcelKind: ParcelKindDto;
|
|
7957
|
+
partName?: string | null;
|
|
7958
|
+
partNumber?: string | null;
|
|
7959
|
+
quantity?: number | null;
|
|
7917
7960
|
material?: string | null;
|
|
7918
|
-
comment?: string | null;
|
|
7919
7961
|
covered: MaterialCoveredDto;
|
|
7962
|
+
items?: BookingItemDto[];
|
|
7963
|
+
}
|
|
7964
|
+
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
7965
|
+
export declare class BookingItemDto implements IBookingItemDto {
|
|
7966
|
+
trackingId: string;
|
|
7967
|
+
palletNumber: number;
|
|
7968
|
+
comment?: string | null;
|
|
7920
7969
|
toLocationOverride?: LocationDto | null;
|
|
7921
7970
|
constructor(data?: IBookingItemDto);
|
|
7922
7971
|
init(_data?: any): void;
|
|
@@ -7926,14 +7975,9 @@ export declare class BookingItemDto implements IBookingItemDto {
|
|
|
7926
7975
|
export interface IBookingItemDto {
|
|
7927
7976
|
trackingId: string;
|
|
7928
7977
|
palletNumber: number;
|
|
7929
|
-
parcelId: string;
|
|
7930
|
-
parcelKind: ParcelKindDto;
|
|
7931
|
-
material?: string | null;
|
|
7932
7978
|
comment?: string | null;
|
|
7933
|
-
covered: MaterialCoveredDto;
|
|
7934
7979
|
toLocationOverride?: LocationDto | null;
|
|
7935
7980
|
}
|
|
7936
|
-
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
7937
7981
|
export declare class LocationDto implements ILocationDto {
|
|
7938
7982
|
locationId: string;
|
|
7939
7983
|
locationName: string;
|
|
@@ -8171,27 +8215,48 @@ export interface ISearchParcelItemDto {
|
|
|
8171
8215
|
trackingId: string;
|
|
8172
8216
|
selected: boolean;
|
|
8173
8217
|
}
|
|
8174
|
-
export declare class
|
|
8175
|
-
results:
|
|
8218
|
+
export declare class TrackingParcelListDto implements ITrackingParcelListDto {
|
|
8219
|
+
results: TrackingParcelDto[];
|
|
8176
8220
|
continuationToken?: string | null;
|
|
8177
|
-
constructor(data?:
|
|
8221
|
+
constructor(data?: ITrackingParcelListDto);
|
|
8178
8222
|
init(_data?: any): void;
|
|
8179
|
-
static fromJS(data: any):
|
|
8223
|
+
static fromJS(data: any): TrackingParcelListDto;
|
|
8180
8224
|
toJSON(data?: any): any;
|
|
8181
8225
|
}
|
|
8182
|
-
export interface
|
|
8183
|
-
results:
|
|
8226
|
+
export interface ITrackingParcelListDto {
|
|
8227
|
+
results: TrackingParcelDto[];
|
|
8184
8228
|
continuationToken?: string | null;
|
|
8185
8229
|
}
|
|
8230
|
+
export declare class TrackingParcelDto implements ITrackingParcelDto {
|
|
8231
|
+
parcelId: string;
|
|
8232
|
+
parcelKind: ParcelKindDto;
|
|
8233
|
+
partName?: string | null;
|
|
8234
|
+
partNumber?: string | null;
|
|
8235
|
+
quantity?: number | null;
|
|
8236
|
+
material?: string | null;
|
|
8237
|
+
covered?: MaterialCoveredDto | null;
|
|
8238
|
+
items: TrackingHistoryDto[];
|
|
8239
|
+
constructor(data?: ITrackingParcelDto);
|
|
8240
|
+
init(_data?: any): void;
|
|
8241
|
+
static fromJS(data: any): TrackingParcelDto;
|
|
8242
|
+
toJSON(data?: any): any;
|
|
8243
|
+
}
|
|
8244
|
+
export interface ITrackingParcelDto {
|
|
8245
|
+
parcelId: string;
|
|
8246
|
+
parcelKind: ParcelKindDto;
|
|
8247
|
+
partName?: string | null;
|
|
8248
|
+
partNumber?: string | null;
|
|
8249
|
+
quantity?: number | null;
|
|
8250
|
+
material?: string | null;
|
|
8251
|
+
covered?: MaterialCoveredDto | null;
|
|
8252
|
+
items: TrackingHistoryDto[];
|
|
8253
|
+
}
|
|
8186
8254
|
export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
8187
8255
|
trackingId: string;
|
|
8188
8256
|
palletNumber: number;
|
|
8189
|
-
|
|
8190
|
-
parcelId: string;
|
|
8257
|
+
activeBooking?: boolean | null;
|
|
8191
8258
|
currentTracking?: TrackingEventDto | null;
|
|
8192
8259
|
trackingEvents: TrackingEventDto[];
|
|
8193
|
-
material?: string | null;
|
|
8194
|
-
activeBooking?: boolean | null;
|
|
8195
8260
|
constructor(data?: ITrackingHistoryDto);
|
|
8196
8261
|
init(_data?: any): void;
|
|
8197
8262
|
static fromJS(data: any): TrackingHistoryDto;
|
|
@@ -8200,12 +8265,9 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
8200
8265
|
export interface ITrackingHistoryDto {
|
|
8201
8266
|
trackingId: string;
|
|
8202
8267
|
palletNumber: number;
|
|
8203
|
-
|
|
8204
|
-
parcelId: string;
|
|
8268
|
+
activeBooking?: boolean | null;
|
|
8205
8269
|
currentTracking?: TrackingEventDto | null;
|
|
8206
8270
|
trackingEvents: TrackingEventDto[];
|
|
8207
|
-
material?: string | null;
|
|
8208
|
-
activeBooking?: boolean | null;
|
|
8209
8271
|
}
|
|
8210
8272
|
export declare class TrackingEventDto implements ITrackingEventDto {
|
|
8211
8273
|
id: number;
|
|
@@ -8256,31 +8318,15 @@ export interface ITrackingRequestListDto {
|
|
|
8256
8318
|
includeActiveBookings?: boolean;
|
|
8257
8319
|
continuationToken?: string | null;
|
|
8258
8320
|
}
|
|
8259
|
-
export declare class
|
|
8260
|
-
parcelId: string;
|
|
8261
|
-
part?: PartDto | null;
|
|
8262
|
-
trackingHistory: TrackingHistoryDto[];
|
|
8263
|
-
covered: MaterialCoveredDto;
|
|
8264
|
-
constructor(data?: ITrackingParcelDto);
|
|
8265
|
-
init(_data?: any): void;
|
|
8266
|
-
static fromJS(data: any): TrackingParcelDto;
|
|
8267
|
-
toJSON(data?: any): any;
|
|
8268
|
-
}
|
|
8269
|
-
export interface ITrackingParcelDto {
|
|
8270
|
-
parcelId: string;
|
|
8271
|
-
part?: PartDto | null;
|
|
8272
|
-
trackingHistory: TrackingHistoryDto[];
|
|
8273
|
-
covered: MaterialCoveredDto;
|
|
8274
|
-
}
|
|
8275
|
-
export declare class TrackingParcelListDto implements ITrackingParcelListDto {
|
|
8321
|
+
export declare class TrackingParcelRequestListDto implements ITrackingParcelRequestListDto {
|
|
8276
8322
|
parcelIds: string[];
|
|
8277
8323
|
includeActiveBookings: boolean;
|
|
8278
|
-
constructor(data?:
|
|
8324
|
+
constructor(data?: ITrackingParcelRequestListDto);
|
|
8279
8325
|
init(_data?: any): void;
|
|
8280
|
-
static fromJS(data: any):
|
|
8326
|
+
static fromJS(data: any): TrackingParcelRequestListDto;
|
|
8281
8327
|
toJSON(data?: any): any;
|
|
8282
8328
|
}
|
|
8283
|
-
export interface
|
|
8329
|
+
export interface ITrackingParcelRequestListDto {
|
|
8284
8330
|
parcelIds: string[];
|
|
8285
8331
|
includeActiveBookings: boolean;
|
|
8286
8332
|
}
|