@ignos/api-client 20251022.0.12946-alpha → 20251023.0.12956-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 +24 -20
- package/lib/ignosportal-api.js +96 -36
- package/package.json +1 -1
- package/src/ignosportal-api.ts +116 -56
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1692,6 +1692,7 @@ export interface IMoveBookingClient {
|
|
|
1692
1692
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto[]>;
|
|
1693
1693
|
preBookGeneral(req: PreBookingGeneralRequestDto): Promise<PreBookingResultItemDto[]>;
|
|
1694
1694
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1695
|
+
exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
|
|
1695
1696
|
}
|
|
1696
1697
|
export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
1697
1698
|
private http;
|
|
@@ -1718,6 +1719,8 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
|
|
|
1718
1719
|
protected processPreBookGeneral(response: Response): Promise<PreBookingResultItemDto[]>;
|
|
1719
1720
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1720
1721
|
protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
|
|
1722
|
+
exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
|
|
1723
|
+
protected processExportBookings(response: Response): Promise<DownloadDto>;
|
|
1721
1724
|
}
|
|
1722
1725
|
export interface IMoveLocationsClient {
|
|
1723
1726
|
listLocations(): Promise<LocationZoneGroupDto[]>;
|
|
@@ -1810,6 +1813,7 @@ export interface IMoveTrackingClient {
|
|
|
1810
1813
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1811
1814
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1812
1815
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1816
|
+
exportParcels(): Promise<DownloadDto>;
|
|
1813
1817
|
}
|
|
1814
1818
|
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
1815
1819
|
private http;
|
|
@@ -1834,6 +1838,8 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
|
|
|
1834
1838
|
protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
|
|
1835
1839
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1836
1840
|
protected processDeleteTrackingHistory(response: Response): Promise<void>;
|
|
1841
|
+
exportParcels(): Promise<DownloadDto>;
|
|
1842
|
+
protected processExportParcels(response: Response): Promise<DownloadDto>;
|
|
1837
1843
|
}
|
|
1838
1844
|
export interface IParcelCategoryClient {
|
|
1839
1845
|
getSettings(): Promise<ParcelCategorySettingsDto>;
|
|
@@ -5215,8 +5221,6 @@ export declare class MeasuringToolDto implements IMeasuringToolDto {
|
|
|
5215
5221
|
unit?: string | null;
|
|
5216
5222
|
min?: number | null;
|
|
5217
5223
|
max?: number | null;
|
|
5218
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5219
|
-
lastUsedDate?: Date | null;
|
|
5220
5224
|
lastCalibrationDate?: Date | null;
|
|
5221
5225
|
nextCalibrationDate?: Date | null;
|
|
5222
5226
|
calibrationInterval?: number | null;
|
|
@@ -5244,8 +5248,6 @@ export interface IMeasuringToolDto {
|
|
|
5244
5248
|
unit?: string | null;
|
|
5245
5249
|
min?: number | null;
|
|
5246
5250
|
max?: number | null;
|
|
5247
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5248
|
-
lastUsedDate?: Date | null;
|
|
5249
5251
|
lastCalibrationDate?: Date | null;
|
|
5250
5252
|
nextCalibrationDate?: Date | null;
|
|
5251
5253
|
calibrationInterval?: number | null;
|
|
@@ -5257,20 +5259,6 @@ export interface IMeasuringToolDto {
|
|
|
5257
5259
|
usageSinceLastCalibration?: number | null;
|
|
5258
5260
|
calibrationStatus: CalibrationStatusDto;
|
|
5259
5261
|
}
|
|
5260
|
-
export declare class MeasuringToolLastUsedByDto implements IMeasuringToolLastUsedByDto {
|
|
5261
|
-
objectId?: string;
|
|
5262
|
-
userId?: string;
|
|
5263
|
-
displayName?: string | null;
|
|
5264
|
-
constructor(data?: IMeasuringToolLastUsedByDto);
|
|
5265
|
-
init(_data?: any): void;
|
|
5266
|
-
static fromJS(data: any): MeasuringToolLastUsedByDto;
|
|
5267
|
-
toJSON(data?: any): any;
|
|
5268
|
-
}
|
|
5269
|
-
export interface IMeasuringToolLastUsedByDto {
|
|
5270
|
-
objectId?: string;
|
|
5271
|
-
userId?: string;
|
|
5272
|
-
displayName?: string | null;
|
|
5273
|
-
}
|
|
5274
5262
|
export type CalibrationStatusDto = "Uncalibrated" | "Deprecated" | "Expired" | "SoonDue" | "Valid";
|
|
5275
5263
|
export declare class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
5276
5264
|
id: string;
|
|
@@ -5283,7 +5271,6 @@ export declare class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
|
5283
5271
|
defaultLocation?: string | null;
|
|
5284
5272
|
min?: number | null;
|
|
5285
5273
|
max?: number | null;
|
|
5286
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5287
5274
|
calibrationInterval?: number | null;
|
|
5288
5275
|
serialNumber?: string | null;
|
|
5289
5276
|
precision?: string | null;
|
|
@@ -5310,7 +5297,6 @@ export interface IMeasuringToolDetailDto {
|
|
|
5310
5297
|
defaultLocation?: string | null;
|
|
5311
5298
|
min?: number | null;
|
|
5312
5299
|
max?: number | null;
|
|
5313
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5314
5300
|
calibrationInterval?: number | null;
|
|
5315
5301
|
serialNumber?: string | null;
|
|
5316
5302
|
precision?: string | null;
|
|
@@ -9712,6 +9698,8 @@ export declare class BookingParcelDto implements IBookingParcelDto {
|
|
|
9712
9698
|
parcelKind: ParcelKindDto;
|
|
9713
9699
|
partName?: string | null;
|
|
9714
9700
|
partNumber?: string | null;
|
|
9701
|
+
projectId?: string | null;
|
|
9702
|
+
projectName?: string | null;
|
|
9715
9703
|
quantity?: number | null;
|
|
9716
9704
|
material?: string | null;
|
|
9717
9705
|
materialOperation?: number | null;
|
|
@@ -9732,6 +9720,8 @@ export interface IBookingParcelDto {
|
|
|
9732
9720
|
parcelKind: ParcelKindDto;
|
|
9733
9721
|
partName?: string | null;
|
|
9734
9722
|
partNumber?: string | null;
|
|
9723
|
+
projectId?: string | null;
|
|
9724
|
+
projectName?: string | null;
|
|
9735
9725
|
quantity?: number | null;
|
|
9736
9726
|
material?: string | null;
|
|
9737
9727
|
materialOperation?: number | null;
|
|
@@ -10306,6 +10296,8 @@ export declare class TrackingParcelDto implements ITrackingParcelDto {
|
|
|
10306
10296
|
parcelKind: ParcelKindDto;
|
|
10307
10297
|
partName?: string | null;
|
|
10308
10298
|
partNumber?: string | null;
|
|
10299
|
+
projectId?: string | null;
|
|
10300
|
+
projectName?: string | null;
|
|
10309
10301
|
quantity?: number | null;
|
|
10310
10302
|
material?: string | null;
|
|
10311
10303
|
covered?: MaterialCoveredDto | null;
|
|
@@ -10321,6 +10313,8 @@ export interface ITrackingParcelDto {
|
|
|
10321
10313
|
parcelKind: ParcelKindDto;
|
|
10322
10314
|
partName?: string | null;
|
|
10323
10315
|
partNumber?: string | null;
|
|
10316
|
+
projectId?: string | null;
|
|
10317
|
+
projectName?: string | null;
|
|
10324
10318
|
quantity?: number | null;
|
|
10325
10319
|
material?: string | null;
|
|
10326
10320
|
covered?: MaterialCoveredDto | null;
|
|
@@ -10423,6 +10417,8 @@ export declare class TrackingHistoryFlattenedDto implements ITrackingHistoryFlat
|
|
|
10423
10417
|
parcelKind: ParcelKindDto;
|
|
10424
10418
|
partName?: string | null;
|
|
10425
10419
|
partNumber?: string | null;
|
|
10420
|
+
projectId?: string | null;
|
|
10421
|
+
projectName?: string | null;
|
|
10426
10422
|
quantity?: number | null;
|
|
10427
10423
|
material?: string | null;
|
|
10428
10424
|
covered?: MaterialCoveredDto | null;
|
|
@@ -10446,6 +10442,8 @@ export interface ITrackingHistoryFlattenedDto {
|
|
|
10446
10442
|
parcelKind: ParcelKindDto;
|
|
10447
10443
|
partName?: string | null;
|
|
10448
10444
|
partNumber?: string | null;
|
|
10445
|
+
projectId?: string | null;
|
|
10446
|
+
projectName?: string | null;
|
|
10449
10447
|
quantity?: number | null;
|
|
10450
10448
|
material?: string | null;
|
|
10451
10449
|
covered?: MaterialCoveredDto | null;
|
|
@@ -10761,6 +10759,7 @@ export declare class ProductionOrderOperationDto implements IProductionOrderOper
|
|
|
10761
10759
|
quantity: number;
|
|
10762
10760
|
startedQuantity?: number | null;
|
|
10763
10761
|
ongoingQuantity?: number | null;
|
|
10762
|
+
earlierOperationsScrappedQuantity: number;
|
|
10764
10763
|
availableToStartQuantity: number;
|
|
10765
10764
|
workInstructions?: string | null;
|
|
10766
10765
|
note?: string | null;
|
|
@@ -10798,6 +10797,7 @@ export interface IProductionOrderOperationDto {
|
|
|
10798
10797
|
quantity: number;
|
|
10799
10798
|
startedQuantity?: number | null;
|
|
10800
10799
|
ongoingQuantity?: number | null;
|
|
10800
|
+
earlierOperationsScrappedQuantity: number;
|
|
10801
10801
|
availableToStartQuantity: number;
|
|
10802
10802
|
workInstructions?: string | null;
|
|
10803
10803
|
note?: string | null;
|
|
@@ -11221,6 +11221,7 @@ export declare class ProductionScheduleOperationDto implements IProductionSchedu
|
|
|
11221
11221
|
producedQuantity: number;
|
|
11222
11222
|
scrappedQuantity: number;
|
|
11223
11223
|
availableToStartQuantity: number;
|
|
11224
|
+
earlierOperationsScrappedQuantity: number;
|
|
11224
11225
|
startedQuantity?: number | null;
|
|
11225
11226
|
ongoingQuantity?: number | null;
|
|
11226
11227
|
project?: WorkOrderProjectDto | null;
|
|
@@ -11275,6 +11276,7 @@ export interface IProductionScheduleOperationDto {
|
|
|
11275
11276
|
producedQuantity: number;
|
|
11276
11277
|
scrappedQuantity: number;
|
|
11277
11278
|
availableToStartQuantity: number;
|
|
11279
|
+
earlierOperationsScrappedQuantity: number;
|
|
11278
11280
|
startedQuantity?: number | null;
|
|
11279
11281
|
ongoingQuantity?: number | null;
|
|
11280
11282
|
project?: WorkOrderProjectDto | null;
|
|
@@ -11321,6 +11323,7 @@ export declare class SurroundingOperationDto implements ISurroundingOperationDto
|
|
|
11321
11323
|
resourceDepartmentName?: string | null;
|
|
11322
11324
|
producedQuantity: number;
|
|
11323
11325
|
scrappedQuantity: number;
|
|
11326
|
+
earlierOperationsScrappedQuantity: number;
|
|
11324
11327
|
startedQuantity?: number | null;
|
|
11325
11328
|
constructor(data?: ISurroundingOperationDto);
|
|
11326
11329
|
init(_data?: any): void;
|
|
@@ -11343,6 +11346,7 @@ export interface ISurroundingOperationDto {
|
|
|
11343
11346
|
resourceDepartmentName?: string | null;
|
|
11344
11347
|
producedQuantity: number;
|
|
11345
11348
|
scrappedQuantity: number;
|
|
11349
|
+
earlierOperationsScrappedQuantity: number;
|
|
11346
11350
|
startedQuantity?: number | null;
|
|
11347
11351
|
}
|
|
11348
11352
|
export declare class OperationPrerequisitesDto implements IOperationPrerequisitesDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -14603,6 +14603,47 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
14603
14603
|
}
|
|
14604
14604
|
return Promise.resolve(null);
|
|
14605
14605
|
}
|
|
14606
|
+
exportBookings(includeTracking) {
|
|
14607
|
+
let url_ = this.baseUrl + "/move/booking/export?";
|
|
14608
|
+
if (includeTracking === null)
|
|
14609
|
+
throw new globalThis.Error("The parameter 'includeTracking' cannot be null.");
|
|
14610
|
+
else if (includeTracking !== undefined)
|
|
14611
|
+
url_ += "includeTracking=" + encodeURIComponent("" + includeTracking) + "&";
|
|
14612
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
14613
|
+
let options_ = {
|
|
14614
|
+
method: "POST",
|
|
14615
|
+
headers: {
|
|
14616
|
+
"Accept": "application/json"
|
|
14617
|
+
}
|
|
14618
|
+
};
|
|
14619
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
14620
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
14621
|
+
}).then((_response) => {
|
|
14622
|
+
return this.processExportBookings(_response);
|
|
14623
|
+
});
|
|
14624
|
+
}
|
|
14625
|
+
processExportBookings(response) {
|
|
14626
|
+
const status = response.status;
|
|
14627
|
+
let _headers = {};
|
|
14628
|
+
if (response.headers && response.headers.forEach) {
|
|
14629
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
14630
|
+
}
|
|
14631
|
+
;
|
|
14632
|
+
if (status === 200) {
|
|
14633
|
+
return response.text().then((_responseText) => {
|
|
14634
|
+
let result200 = null;
|
|
14635
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
14636
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
14637
|
+
return result200;
|
|
14638
|
+
});
|
|
14639
|
+
}
|
|
14640
|
+
else if (status !== 200 && status !== 204) {
|
|
14641
|
+
return response.text().then((_responseText) => {
|
|
14642
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
14643
|
+
});
|
|
14644
|
+
}
|
|
14645
|
+
return Promise.resolve(null);
|
|
14646
|
+
}
|
|
14606
14647
|
}
|
|
14607
14648
|
export class MoveLocationsClient extends AuthorizedApiBase {
|
|
14608
14649
|
constructor(configuration, baseUrl, http) {
|
|
@@ -15559,6 +15600,43 @@ export class MoveTrackingClient extends AuthorizedApiBase {
|
|
|
15559
15600
|
}
|
|
15560
15601
|
return Promise.resolve(null);
|
|
15561
15602
|
}
|
|
15603
|
+
exportParcels() {
|
|
15604
|
+
let url_ = this.baseUrl + "/move/tracking/export";
|
|
15605
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
15606
|
+
let options_ = {
|
|
15607
|
+
method: "POST",
|
|
15608
|
+
headers: {
|
|
15609
|
+
"Accept": "application/json"
|
|
15610
|
+
}
|
|
15611
|
+
};
|
|
15612
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
15613
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
15614
|
+
}).then((_response) => {
|
|
15615
|
+
return this.processExportParcels(_response);
|
|
15616
|
+
});
|
|
15617
|
+
}
|
|
15618
|
+
processExportParcels(response) {
|
|
15619
|
+
const status = response.status;
|
|
15620
|
+
let _headers = {};
|
|
15621
|
+
if (response.headers && response.headers.forEach) {
|
|
15622
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
15623
|
+
}
|
|
15624
|
+
;
|
|
15625
|
+
if (status === 200) {
|
|
15626
|
+
return response.text().then((_responseText) => {
|
|
15627
|
+
let result200 = null;
|
|
15628
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
15629
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
15630
|
+
return result200;
|
|
15631
|
+
});
|
|
15632
|
+
}
|
|
15633
|
+
else if (status !== 200 && status !== 204) {
|
|
15634
|
+
return response.text().then((_responseText) => {
|
|
15635
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15636
|
+
});
|
|
15637
|
+
}
|
|
15638
|
+
return Promise.resolve(null);
|
|
15639
|
+
}
|
|
15562
15640
|
}
|
|
15563
15641
|
export class ParcelCategoryClient extends AuthorizedApiBase {
|
|
15564
15642
|
constructor(configuration, baseUrl, http) {
|
|
@@ -28662,8 +28740,6 @@ export class MeasuringToolDto {
|
|
|
28662
28740
|
this.unit = _data["unit"];
|
|
28663
28741
|
this.min = _data["min"];
|
|
28664
28742
|
this.max = _data["max"];
|
|
28665
|
-
this.lastUsedBy = _data["lastUsedBy"] ? MeasuringToolLastUsedByDto.fromJS(_data["lastUsedBy"]) : undefined;
|
|
28666
|
-
this.lastUsedDate = _data["lastUsedDate"] ? new Date(_data["lastUsedDate"].toString()) : undefined;
|
|
28667
28743
|
this.lastCalibrationDate = _data["lastCalibrationDate"] ? new Date(_data["lastCalibrationDate"].toString()) : undefined;
|
|
28668
28744
|
this.nextCalibrationDate = _data["nextCalibrationDate"] ? new Date(_data["nextCalibrationDate"].toString()) : undefined;
|
|
28669
28745
|
this.calibrationInterval = _data["calibrationInterval"];
|
|
@@ -28695,8 +28771,6 @@ export class MeasuringToolDto {
|
|
|
28695
28771
|
data["unit"] = this.unit;
|
|
28696
28772
|
data["min"] = this.min;
|
|
28697
28773
|
data["max"] = this.max;
|
|
28698
|
-
data["lastUsedBy"] = this.lastUsedBy ? this.lastUsedBy.toJSON() : undefined;
|
|
28699
|
-
data["lastUsedDate"] = this.lastUsedDate ? this.lastUsedDate.toISOString() : undefined;
|
|
28700
28774
|
data["lastCalibrationDate"] = this.lastCalibrationDate ? this.lastCalibrationDate.toISOString() : undefined;
|
|
28701
28775
|
data["nextCalibrationDate"] = this.nextCalibrationDate ? this.nextCalibrationDate.toISOString() : undefined;
|
|
28702
28776
|
data["calibrationInterval"] = this.calibrationInterval;
|
|
@@ -28710,36 +28784,6 @@ export class MeasuringToolDto {
|
|
|
28710
28784
|
return data;
|
|
28711
28785
|
}
|
|
28712
28786
|
}
|
|
28713
|
-
export class MeasuringToolLastUsedByDto {
|
|
28714
|
-
constructor(data) {
|
|
28715
|
-
if (data) {
|
|
28716
|
-
for (var property in data) {
|
|
28717
|
-
if (data.hasOwnProperty(property))
|
|
28718
|
-
this[property] = data[property];
|
|
28719
|
-
}
|
|
28720
|
-
}
|
|
28721
|
-
}
|
|
28722
|
-
init(_data) {
|
|
28723
|
-
if (_data) {
|
|
28724
|
-
this.objectId = _data["objectId"];
|
|
28725
|
-
this.userId = _data["userId"];
|
|
28726
|
-
this.displayName = _data["displayName"];
|
|
28727
|
-
}
|
|
28728
|
-
}
|
|
28729
|
-
static fromJS(data) {
|
|
28730
|
-
data = typeof data === 'object' ? data : {};
|
|
28731
|
-
let result = new MeasuringToolLastUsedByDto();
|
|
28732
|
-
result.init(data);
|
|
28733
|
-
return result;
|
|
28734
|
-
}
|
|
28735
|
-
toJSON(data) {
|
|
28736
|
-
data = typeof data === 'object' ? data : {};
|
|
28737
|
-
data["objectId"] = this.objectId;
|
|
28738
|
-
data["userId"] = this.userId;
|
|
28739
|
-
data["displayName"] = this.displayName;
|
|
28740
|
-
return data;
|
|
28741
|
-
}
|
|
28742
|
-
}
|
|
28743
28787
|
export class MeasuringToolDetailDto {
|
|
28744
28788
|
constructor(data) {
|
|
28745
28789
|
if (data) {
|
|
@@ -28765,7 +28809,6 @@ export class MeasuringToolDetailDto {
|
|
|
28765
28809
|
this.defaultLocation = _data["defaultLocation"];
|
|
28766
28810
|
this.min = _data["min"];
|
|
28767
28811
|
this.max = _data["max"];
|
|
28768
|
-
this.lastUsedBy = _data["lastUsedBy"] ? MeasuringToolLastUsedByDto.fromJS(_data["lastUsedBy"]) : undefined;
|
|
28769
28812
|
this.calibrationInterval = _data["calibrationInterval"];
|
|
28770
28813
|
this.serialNumber = _data["serialNumber"];
|
|
28771
28814
|
this.precision = _data["precision"];
|
|
@@ -28796,7 +28839,6 @@ export class MeasuringToolDetailDto {
|
|
|
28796
28839
|
data["defaultLocation"] = this.defaultLocation;
|
|
28797
28840
|
data["min"] = this.min;
|
|
28798
28841
|
data["max"] = this.max;
|
|
28799
|
-
data["lastUsedBy"] = this.lastUsedBy ? this.lastUsedBy.toJSON() : undefined;
|
|
28800
28842
|
data["calibrationInterval"] = this.calibrationInterval;
|
|
28801
28843
|
data["serialNumber"] = this.serialNumber;
|
|
28802
28844
|
data["precision"] = this.precision;
|
|
@@ -37558,6 +37600,8 @@ export class BookingParcelDto {
|
|
|
37558
37600
|
this.parcelKind = _data["parcelKind"];
|
|
37559
37601
|
this.partName = _data["partName"];
|
|
37560
37602
|
this.partNumber = _data["partNumber"];
|
|
37603
|
+
this.projectId = _data["projectId"];
|
|
37604
|
+
this.projectName = _data["projectName"];
|
|
37561
37605
|
this.quantity = _data["quantity"];
|
|
37562
37606
|
this.material = _data["material"];
|
|
37563
37607
|
this.materialOperation = _data["materialOperation"];
|
|
@@ -37582,6 +37626,8 @@ export class BookingParcelDto {
|
|
|
37582
37626
|
data["parcelKind"] = this.parcelKind;
|
|
37583
37627
|
data["partName"] = this.partName;
|
|
37584
37628
|
data["partNumber"] = this.partNumber;
|
|
37629
|
+
data["projectId"] = this.projectId;
|
|
37630
|
+
data["projectName"] = this.projectName;
|
|
37585
37631
|
data["quantity"] = this.quantity;
|
|
37586
37632
|
data["material"] = this.material;
|
|
37587
37633
|
data["materialOperation"] = this.materialOperation;
|
|
@@ -39011,6 +39057,8 @@ export class TrackingParcelDto {
|
|
|
39011
39057
|
this.parcelKind = _data["parcelKind"];
|
|
39012
39058
|
this.partName = _data["partName"];
|
|
39013
39059
|
this.partNumber = _data["partNumber"];
|
|
39060
|
+
this.projectId = _data["projectId"];
|
|
39061
|
+
this.projectName = _data["projectName"];
|
|
39014
39062
|
this.quantity = _data["quantity"];
|
|
39015
39063
|
this.material = _data["material"];
|
|
39016
39064
|
this.covered = _data["covered"];
|
|
@@ -39038,6 +39086,8 @@ export class TrackingParcelDto {
|
|
|
39038
39086
|
data["parcelKind"] = this.parcelKind;
|
|
39039
39087
|
data["partName"] = this.partName;
|
|
39040
39088
|
data["partNumber"] = this.partNumber;
|
|
39089
|
+
data["projectId"] = this.projectId;
|
|
39090
|
+
data["projectName"] = this.projectName;
|
|
39041
39091
|
data["quantity"] = this.quantity;
|
|
39042
39092
|
data["material"] = this.material;
|
|
39043
39093
|
data["covered"] = this.covered;
|
|
@@ -39288,6 +39338,8 @@ export class TrackingHistoryFlattenedDto {
|
|
|
39288
39338
|
this.parcelKind = _data["parcelKind"];
|
|
39289
39339
|
this.partName = _data["partName"];
|
|
39290
39340
|
this.partNumber = _data["partNumber"];
|
|
39341
|
+
this.projectId = _data["projectId"];
|
|
39342
|
+
this.projectName = _data["projectName"];
|
|
39291
39343
|
this.quantity = _data["quantity"];
|
|
39292
39344
|
this.material = _data["material"];
|
|
39293
39345
|
this.covered = _data["covered"];
|
|
@@ -39319,6 +39371,8 @@ export class TrackingHistoryFlattenedDto {
|
|
|
39319
39371
|
data["parcelKind"] = this.parcelKind;
|
|
39320
39372
|
data["partName"] = this.partName;
|
|
39321
39373
|
data["partNumber"] = this.partNumber;
|
|
39374
|
+
data["projectId"] = this.projectId;
|
|
39375
|
+
data["projectName"] = this.projectName;
|
|
39322
39376
|
data["quantity"] = this.quantity;
|
|
39323
39377
|
data["material"] = this.material;
|
|
39324
39378
|
data["covered"] = this.covered;
|
|
@@ -39997,6 +40051,7 @@ export class ProductionOrderOperationDto {
|
|
|
39997
40051
|
this.quantity = _data["quantity"];
|
|
39998
40052
|
this.startedQuantity = _data["startedQuantity"];
|
|
39999
40053
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
40054
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
40000
40055
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
40001
40056
|
this.workInstructions = _data["workInstructions"];
|
|
40002
40057
|
this.note = _data["note"];
|
|
@@ -40038,6 +40093,7 @@ export class ProductionOrderOperationDto {
|
|
|
40038
40093
|
data["quantity"] = this.quantity;
|
|
40039
40094
|
data["startedQuantity"] = this.startedQuantity;
|
|
40040
40095
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
40096
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
40041
40097
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
40042
40098
|
data["workInstructions"] = this.workInstructions;
|
|
40043
40099
|
data["note"] = this.note;
|
|
@@ -40841,6 +40897,7 @@ export class ProductionScheduleOperationDto {
|
|
|
40841
40897
|
this.producedQuantity = _data["producedQuantity"];
|
|
40842
40898
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
40843
40899
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
40900
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
40844
40901
|
this.startedQuantity = _data["startedQuantity"];
|
|
40845
40902
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
40846
40903
|
this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined;
|
|
@@ -40899,6 +40956,7 @@ export class ProductionScheduleOperationDto {
|
|
|
40899
40956
|
data["producedQuantity"] = this.producedQuantity;
|
|
40900
40957
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
40901
40958
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
40959
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
40902
40960
|
data["startedQuantity"] = this.startedQuantity;
|
|
40903
40961
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
40904
40962
|
data["project"] = this.project ? this.project.toJSON() : undefined;
|
|
@@ -40957,6 +41015,7 @@ export class SurroundingOperationDto {
|
|
|
40957
41015
|
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
40958
41016
|
this.producedQuantity = _data["producedQuantity"];
|
|
40959
41017
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
41018
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
40960
41019
|
this.startedQuantity = _data["startedQuantity"];
|
|
40961
41020
|
}
|
|
40962
41021
|
}
|
|
@@ -40983,6 +41042,7 @@ export class SurroundingOperationDto {
|
|
|
40983
41042
|
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
40984
41043
|
data["producedQuantity"] = this.producedQuantity;
|
|
40985
41044
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
41045
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
40986
41046
|
data["startedQuantity"] = this.startedQuantity;
|
|
40987
41047
|
return data;
|
|
40988
41048
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -15179,6 +15179,8 @@ export interface IMoveBookingClient {
|
|
|
15179
15179
|
preBookGeneral(req: PreBookingGeneralRequestDto): Promise<PreBookingResultItemDto[]>;
|
|
15180
15180
|
|
|
15181
15181
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
15182
|
+
|
|
15183
|
+
exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
|
|
15182
15184
|
}
|
|
15183
15185
|
|
|
15184
15186
|
export class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
@@ -15565,6 +15567,46 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
15565
15567
|
}
|
|
15566
15568
|
return Promise.resolve<BookingDto>(null as any);
|
|
15567
15569
|
}
|
|
15570
|
+
|
|
15571
|
+
exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto> {
|
|
15572
|
+
let url_ = this.baseUrl + "/move/booking/export?";
|
|
15573
|
+
if (includeTracking === null)
|
|
15574
|
+
throw new globalThis.Error("The parameter 'includeTracking' cannot be null.");
|
|
15575
|
+
else if (includeTracking !== undefined)
|
|
15576
|
+
url_ += "includeTracking=" + encodeURIComponent("" + includeTracking) + "&";
|
|
15577
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
15578
|
+
|
|
15579
|
+
let options_: RequestInit = {
|
|
15580
|
+
method: "POST",
|
|
15581
|
+
headers: {
|
|
15582
|
+
"Accept": "application/json"
|
|
15583
|
+
}
|
|
15584
|
+
};
|
|
15585
|
+
|
|
15586
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
15587
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
15588
|
+
}).then((_response: Response) => {
|
|
15589
|
+
return this.processExportBookings(_response);
|
|
15590
|
+
});
|
|
15591
|
+
}
|
|
15592
|
+
|
|
15593
|
+
protected processExportBookings(response: Response): Promise<DownloadDto> {
|
|
15594
|
+
const status = response.status;
|
|
15595
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
15596
|
+
if (status === 200) {
|
|
15597
|
+
return response.text().then((_responseText) => {
|
|
15598
|
+
let result200: any = null;
|
|
15599
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
15600
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
15601
|
+
return result200;
|
|
15602
|
+
});
|
|
15603
|
+
} else if (status !== 200 && status !== 204) {
|
|
15604
|
+
return response.text().then((_responseText) => {
|
|
15605
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15606
|
+
});
|
|
15607
|
+
}
|
|
15608
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
15609
|
+
}
|
|
15568
15610
|
}
|
|
15569
15611
|
|
|
15570
15612
|
export interface IMoveLocationsClient {
|
|
@@ -16245,6 +16287,8 @@ export interface IMoveTrackingClient {
|
|
|
16245
16287
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
16246
16288
|
|
|
16247
16289
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
16290
|
+
|
|
16291
|
+
exportParcels(): Promise<DownloadDto>;
|
|
16248
16292
|
}
|
|
16249
16293
|
|
|
16250
16294
|
export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
@@ -16590,6 +16634,42 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
16590
16634
|
}
|
|
16591
16635
|
return Promise.resolve<void>(null as any);
|
|
16592
16636
|
}
|
|
16637
|
+
|
|
16638
|
+
exportParcels(): Promise<DownloadDto> {
|
|
16639
|
+
let url_ = this.baseUrl + "/move/tracking/export";
|
|
16640
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
16641
|
+
|
|
16642
|
+
let options_: RequestInit = {
|
|
16643
|
+
method: "POST",
|
|
16644
|
+
headers: {
|
|
16645
|
+
"Accept": "application/json"
|
|
16646
|
+
}
|
|
16647
|
+
};
|
|
16648
|
+
|
|
16649
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
16650
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
16651
|
+
}).then((_response: Response) => {
|
|
16652
|
+
return this.processExportParcels(_response);
|
|
16653
|
+
});
|
|
16654
|
+
}
|
|
16655
|
+
|
|
16656
|
+
protected processExportParcels(response: Response): Promise<DownloadDto> {
|
|
16657
|
+
const status = response.status;
|
|
16658
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
16659
|
+
if (status === 200) {
|
|
16660
|
+
return response.text().then((_responseText) => {
|
|
16661
|
+
let result200: any = null;
|
|
16662
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16663
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
16664
|
+
return result200;
|
|
16665
|
+
});
|
|
16666
|
+
} else if (status !== 200 && status !== 204) {
|
|
16667
|
+
return response.text().then((_responseText) => {
|
|
16668
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
16669
|
+
});
|
|
16670
|
+
}
|
|
16671
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
16672
|
+
}
|
|
16593
16673
|
}
|
|
16594
16674
|
|
|
16595
16675
|
export interface IParcelCategoryClient {
|
|
@@ -32621,8 +32701,6 @@ export class MeasuringToolDto implements IMeasuringToolDto {
|
|
|
32621
32701
|
unit?: string | null;
|
|
32622
32702
|
min?: number | null;
|
|
32623
32703
|
max?: number | null;
|
|
32624
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
32625
|
-
lastUsedDate?: Date | null;
|
|
32626
32704
|
lastCalibrationDate?: Date | null;
|
|
32627
32705
|
nextCalibrationDate?: Date | null;
|
|
32628
32706
|
calibrationInterval?: number | null;
|
|
@@ -32656,8 +32734,6 @@ export class MeasuringToolDto implements IMeasuringToolDto {
|
|
|
32656
32734
|
this.unit = _data["unit"];
|
|
32657
32735
|
this.min = _data["min"];
|
|
32658
32736
|
this.max = _data["max"];
|
|
32659
|
-
this.lastUsedBy = _data["lastUsedBy"] ? MeasuringToolLastUsedByDto.fromJS(_data["lastUsedBy"]) : undefined as any;
|
|
32660
|
-
this.lastUsedDate = _data["lastUsedDate"] ? new Date(_data["lastUsedDate"].toString()) : undefined as any;
|
|
32661
32737
|
this.lastCalibrationDate = _data["lastCalibrationDate"] ? new Date(_data["lastCalibrationDate"].toString()) : undefined as any;
|
|
32662
32738
|
this.nextCalibrationDate = _data["nextCalibrationDate"] ? new Date(_data["nextCalibrationDate"].toString()) : undefined as any;
|
|
32663
32739
|
this.calibrationInterval = _data["calibrationInterval"];
|
|
@@ -32691,8 +32767,6 @@ export class MeasuringToolDto implements IMeasuringToolDto {
|
|
|
32691
32767
|
data["unit"] = this.unit;
|
|
32692
32768
|
data["min"] = this.min;
|
|
32693
32769
|
data["max"] = this.max;
|
|
32694
|
-
data["lastUsedBy"] = this.lastUsedBy ? this.lastUsedBy.toJSON() : undefined as any;
|
|
32695
|
-
data["lastUsedDate"] = this.lastUsedDate ? this.lastUsedDate.toISOString() : undefined as any;
|
|
32696
32770
|
data["lastCalibrationDate"] = this.lastCalibrationDate ? this.lastCalibrationDate.toISOString() : undefined as any;
|
|
32697
32771
|
data["nextCalibrationDate"] = this.nextCalibrationDate ? this.nextCalibrationDate.toISOString() : undefined as any;
|
|
32698
32772
|
data["calibrationInterval"] = this.calibrationInterval;
|
|
@@ -32719,8 +32793,6 @@ export interface IMeasuringToolDto {
|
|
|
32719
32793
|
unit?: string | null;
|
|
32720
32794
|
min?: number | null;
|
|
32721
32795
|
max?: number | null;
|
|
32722
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
32723
|
-
lastUsedDate?: Date | null;
|
|
32724
32796
|
lastCalibrationDate?: Date | null;
|
|
32725
32797
|
nextCalibrationDate?: Date | null;
|
|
32726
32798
|
calibrationInterval?: number | null;
|
|
@@ -32733,50 +32805,6 @@ export interface IMeasuringToolDto {
|
|
|
32733
32805
|
calibrationStatus: CalibrationStatusDto;
|
|
32734
32806
|
}
|
|
32735
32807
|
|
|
32736
|
-
export class MeasuringToolLastUsedByDto implements IMeasuringToolLastUsedByDto {
|
|
32737
|
-
objectId?: string;
|
|
32738
|
-
userId?: string;
|
|
32739
|
-
displayName?: string | null;
|
|
32740
|
-
|
|
32741
|
-
constructor(data?: IMeasuringToolLastUsedByDto) {
|
|
32742
|
-
if (data) {
|
|
32743
|
-
for (var property in data) {
|
|
32744
|
-
if (data.hasOwnProperty(property))
|
|
32745
|
-
(this as any)[property] = (data as any)[property];
|
|
32746
|
-
}
|
|
32747
|
-
}
|
|
32748
|
-
}
|
|
32749
|
-
|
|
32750
|
-
init(_data?: any) {
|
|
32751
|
-
if (_data) {
|
|
32752
|
-
this.objectId = _data["objectId"];
|
|
32753
|
-
this.userId = _data["userId"];
|
|
32754
|
-
this.displayName = _data["displayName"];
|
|
32755
|
-
}
|
|
32756
|
-
}
|
|
32757
|
-
|
|
32758
|
-
static fromJS(data: any): MeasuringToolLastUsedByDto {
|
|
32759
|
-
data = typeof data === 'object' ? data : {};
|
|
32760
|
-
let result = new MeasuringToolLastUsedByDto();
|
|
32761
|
-
result.init(data);
|
|
32762
|
-
return result;
|
|
32763
|
-
}
|
|
32764
|
-
|
|
32765
|
-
toJSON(data?: any) {
|
|
32766
|
-
data = typeof data === 'object' ? data : {};
|
|
32767
|
-
data["objectId"] = this.objectId;
|
|
32768
|
-
data["userId"] = this.userId;
|
|
32769
|
-
data["displayName"] = this.displayName;
|
|
32770
|
-
return data;
|
|
32771
|
-
}
|
|
32772
|
-
}
|
|
32773
|
-
|
|
32774
|
-
export interface IMeasuringToolLastUsedByDto {
|
|
32775
|
-
objectId?: string;
|
|
32776
|
-
userId?: string;
|
|
32777
|
-
displayName?: string | null;
|
|
32778
|
-
}
|
|
32779
|
-
|
|
32780
32808
|
export type CalibrationStatusDto = "Uncalibrated" | "Deprecated" | "Expired" | "SoonDue" | "Valid";
|
|
32781
32809
|
|
|
32782
32810
|
export class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
@@ -32790,7 +32818,6 @@ export class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
|
32790
32818
|
defaultLocation?: string | null;
|
|
32791
32819
|
min?: number | null;
|
|
32792
32820
|
max?: number | null;
|
|
32793
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
32794
32821
|
calibrationInterval?: number | null;
|
|
32795
32822
|
serialNumber?: string | null;
|
|
32796
32823
|
precision?: string | null;
|
|
@@ -32827,7 +32854,6 @@ export class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
|
32827
32854
|
this.defaultLocation = _data["defaultLocation"];
|
|
32828
32855
|
this.min = _data["min"];
|
|
32829
32856
|
this.max = _data["max"];
|
|
32830
|
-
this.lastUsedBy = _data["lastUsedBy"] ? MeasuringToolLastUsedByDto.fromJS(_data["lastUsedBy"]) : undefined as any;
|
|
32831
32857
|
this.calibrationInterval = _data["calibrationInterval"];
|
|
32832
32858
|
this.serialNumber = _data["serialNumber"];
|
|
32833
32859
|
this.precision = _data["precision"];
|
|
@@ -32860,7 +32886,6 @@ export class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
|
32860
32886
|
data["defaultLocation"] = this.defaultLocation;
|
|
32861
32887
|
data["min"] = this.min;
|
|
32862
32888
|
data["max"] = this.max;
|
|
32863
|
-
data["lastUsedBy"] = this.lastUsedBy ? this.lastUsedBy.toJSON() : undefined as any;
|
|
32864
32889
|
data["calibrationInterval"] = this.calibrationInterval;
|
|
32865
32890
|
data["serialNumber"] = this.serialNumber;
|
|
32866
32891
|
data["precision"] = this.precision;
|
|
@@ -32886,7 +32911,6 @@ export interface IMeasuringToolDetailDto {
|
|
|
32886
32911
|
defaultLocation?: string | null;
|
|
32887
32912
|
min?: number | null;
|
|
32888
32913
|
max?: number | null;
|
|
32889
|
-
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
32890
32914
|
calibrationInterval?: number | null;
|
|
32891
32915
|
serialNumber?: string | null;
|
|
32892
32916
|
precision?: string | null;
|
|
@@ -46031,6 +46055,8 @@ export class BookingParcelDto implements IBookingParcelDto {
|
|
|
46031
46055
|
parcelKind!: ParcelKindDto;
|
|
46032
46056
|
partName?: string | null;
|
|
46033
46057
|
partNumber?: string | null;
|
|
46058
|
+
projectId?: string | null;
|
|
46059
|
+
projectName?: string | null;
|
|
46034
46060
|
quantity?: number | null;
|
|
46035
46061
|
material?: string | null;
|
|
46036
46062
|
materialOperation?: number | null;
|
|
@@ -46057,6 +46083,8 @@ export class BookingParcelDto implements IBookingParcelDto {
|
|
|
46057
46083
|
this.parcelKind = _data["parcelKind"];
|
|
46058
46084
|
this.partName = _data["partName"];
|
|
46059
46085
|
this.partNumber = _data["partNumber"];
|
|
46086
|
+
this.projectId = _data["projectId"];
|
|
46087
|
+
this.projectName = _data["projectName"];
|
|
46060
46088
|
this.quantity = _data["quantity"];
|
|
46061
46089
|
this.material = _data["material"];
|
|
46062
46090
|
this.materialOperation = _data["materialOperation"];
|
|
@@ -46083,6 +46111,8 @@ export class BookingParcelDto implements IBookingParcelDto {
|
|
|
46083
46111
|
data["parcelKind"] = this.parcelKind;
|
|
46084
46112
|
data["partName"] = this.partName;
|
|
46085
46113
|
data["partNumber"] = this.partNumber;
|
|
46114
|
+
data["projectId"] = this.projectId;
|
|
46115
|
+
data["projectName"] = this.projectName;
|
|
46086
46116
|
data["quantity"] = this.quantity;
|
|
46087
46117
|
data["material"] = this.material;
|
|
46088
46118
|
data["materialOperation"] = this.materialOperation;
|
|
@@ -46102,6 +46132,8 @@ export interface IBookingParcelDto {
|
|
|
46102
46132
|
parcelKind: ParcelKindDto;
|
|
46103
46133
|
partName?: string | null;
|
|
46104
46134
|
partNumber?: string | null;
|
|
46135
|
+
projectId?: string | null;
|
|
46136
|
+
projectName?: string | null;
|
|
46105
46137
|
quantity?: number | null;
|
|
46106
46138
|
material?: string | null;
|
|
46107
46139
|
materialOperation?: number | null;
|
|
@@ -48078,6 +48110,8 @@ export class TrackingParcelDto implements ITrackingParcelDto {
|
|
|
48078
48110
|
parcelKind!: ParcelKindDto;
|
|
48079
48111
|
partName?: string | null;
|
|
48080
48112
|
partNumber?: string | null;
|
|
48113
|
+
projectId?: string | null;
|
|
48114
|
+
projectName?: string | null;
|
|
48081
48115
|
quantity?: number | null;
|
|
48082
48116
|
material?: string | null;
|
|
48083
48117
|
covered?: MaterialCoveredDto | null;
|
|
@@ -48103,6 +48137,8 @@ export class TrackingParcelDto implements ITrackingParcelDto {
|
|
|
48103
48137
|
this.parcelKind = _data["parcelKind"];
|
|
48104
48138
|
this.partName = _data["partName"];
|
|
48105
48139
|
this.partNumber = _data["partNumber"];
|
|
48140
|
+
this.projectId = _data["projectId"];
|
|
48141
|
+
this.projectName = _data["projectName"];
|
|
48106
48142
|
this.quantity = _data["quantity"];
|
|
48107
48143
|
this.material = _data["material"];
|
|
48108
48144
|
this.covered = _data["covered"];
|
|
@@ -48132,6 +48168,8 @@ export class TrackingParcelDto implements ITrackingParcelDto {
|
|
|
48132
48168
|
data["parcelKind"] = this.parcelKind;
|
|
48133
48169
|
data["partName"] = this.partName;
|
|
48134
48170
|
data["partNumber"] = this.partNumber;
|
|
48171
|
+
data["projectId"] = this.projectId;
|
|
48172
|
+
data["projectName"] = this.projectName;
|
|
48135
48173
|
data["quantity"] = this.quantity;
|
|
48136
48174
|
data["material"] = this.material;
|
|
48137
48175
|
data["covered"] = this.covered;
|
|
@@ -48154,6 +48192,8 @@ export interface ITrackingParcelDto {
|
|
|
48154
48192
|
parcelKind: ParcelKindDto;
|
|
48155
48193
|
partName?: string | null;
|
|
48156
48194
|
partNumber?: string | null;
|
|
48195
|
+
projectId?: string | null;
|
|
48196
|
+
projectName?: string | null;
|
|
48157
48197
|
quantity?: number | null;
|
|
48158
48198
|
material?: string | null;
|
|
48159
48199
|
covered?: MaterialCoveredDto | null;
|
|
@@ -48474,6 +48514,8 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
|
|
|
48474
48514
|
parcelKind!: ParcelKindDto;
|
|
48475
48515
|
partName?: string | null;
|
|
48476
48516
|
partNumber?: string | null;
|
|
48517
|
+
projectId?: string | null;
|
|
48518
|
+
projectName?: string | null;
|
|
48477
48519
|
quantity?: number | null;
|
|
48478
48520
|
material?: string | null;
|
|
48479
48521
|
covered?: MaterialCoveredDto | null;
|
|
@@ -48506,6 +48548,8 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
|
|
|
48506
48548
|
this.parcelKind = _data["parcelKind"];
|
|
48507
48549
|
this.partName = _data["partName"];
|
|
48508
48550
|
this.partNumber = _data["partNumber"];
|
|
48551
|
+
this.projectId = _data["projectId"];
|
|
48552
|
+
this.projectName = _data["projectName"];
|
|
48509
48553
|
this.quantity = _data["quantity"];
|
|
48510
48554
|
this.material = _data["material"];
|
|
48511
48555
|
this.covered = _data["covered"];
|
|
@@ -48539,6 +48583,8 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
|
|
|
48539
48583
|
data["parcelKind"] = this.parcelKind;
|
|
48540
48584
|
data["partName"] = this.partName;
|
|
48541
48585
|
data["partNumber"] = this.partNumber;
|
|
48586
|
+
data["projectId"] = this.projectId;
|
|
48587
|
+
data["projectName"] = this.projectName;
|
|
48542
48588
|
data["quantity"] = this.quantity;
|
|
48543
48589
|
data["material"] = this.material;
|
|
48544
48590
|
data["covered"] = this.covered;
|
|
@@ -48565,6 +48611,8 @@ export interface ITrackingHistoryFlattenedDto {
|
|
|
48565
48611
|
parcelKind: ParcelKindDto;
|
|
48566
48612
|
partName?: string | null;
|
|
48567
48613
|
partNumber?: string | null;
|
|
48614
|
+
projectId?: string | null;
|
|
48615
|
+
projectName?: string | null;
|
|
48568
48616
|
quantity?: number | null;
|
|
48569
48617
|
material?: string | null;
|
|
48570
48618
|
covered?: MaterialCoveredDto | null;
|
|
@@ -49504,6 +49552,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49504
49552
|
quantity!: number;
|
|
49505
49553
|
startedQuantity?: number | null;
|
|
49506
49554
|
ongoingQuantity?: number | null;
|
|
49555
|
+
earlierOperationsScrappedQuantity!: number;
|
|
49507
49556
|
availableToStartQuantity!: number;
|
|
49508
49557
|
workInstructions?: string | null;
|
|
49509
49558
|
note?: string | null;
|
|
@@ -49547,6 +49596,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49547
49596
|
this.quantity = _data["quantity"];
|
|
49548
49597
|
this.startedQuantity = _data["startedQuantity"];
|
|
49549
49598
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
49599
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
49550
49600
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
49551
49601
|
this.workInstructions = _data["workInstructions"];
|
|
49552
49602
|
this.note = _data["note"];
|
|
@@ -49590,6 +49640,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49590
49640
|
data["quantity"] = this.quantity;
|
|
49591
49641
|
data["startedQuantity"] = this.startedQuantity;
|
|
49592
49642
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
49643
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
49593
49644
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
49594
49645
|
data["workInstructions"] = this.workInstructions;
|
|
49595
49646
|
data["note"] = this.note;
|
|
@@ -49626,6 +49677,7 @@ export interface IProductionOrderOperationDto {
|
|
|
49626
49677
|
quantity: number;
|
|
49627
49678
|
startedQuantity?: number | null;
|
|
49628
49679
|
ongoingQuantity?: number | null;
|
|
49680
|
+
earlierOperationsScrappedQuantity: number;
|
|
49629
49681
|
availableToStartQuantity: number;
|
|
49630
49682
|
workInstructions?: string | null;
|
|
49631
49683
|
note?: string | null;
|
|
@@ -50811,6 +50863,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50811
50863
|
producedQuantity!: number;
|
|
50812
50864
|
scrappedQuantity!: number;
|
|
50813
50865
|
availableToStartQuantity!: number;
|
|
50866
|
+
earlierOperationsScrappedQuantity!: number;
|
|
50814
50867
|
startedQuantity?: number | null;
|
|
50815
50868
|
ongoingQuantity?: number | null;
|
|
50816
50869
|
project?: WorkOrderProjectDto | null;
|
|
@@ -50874,6 +50927,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50874
50927
|
this.producedQuantity = _data["producedQuantity"];
|
|
50875
50928
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
50876
50929
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
50930
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
50877
50931
|
this.startedQuantity = _data["startedQuantity"];
|
|
50878
50932
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
50879
50933
|
this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined as any;
|
|
@@ -50934,6 +50988,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50934
50988
|
data["producedQuantity"] = this.producedQuantity;
|
|
50935
50989
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
50936
50990
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
50991
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
50937
50992
|
data["startedQuantity"] = this.startedQuantity;
|
|
50938
50993
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
50939
50994
|
data["project"] = this.project ? this.project.toJSON() : undefined as any;
|
|
@@ -50987,6 +51042,7 @@ export interface IProductionScheduleOperationDto {
|
|
|
50987
51042
|
producedQuantity: number;
|
|
50988
51043
|
scrappedQuantity: number;
|
|
50989
51044
|
availableToStartQuantity: number;
|
|
51045
|
+
earlierOperationsScrappedQuantity: number;
|
|
50990
51046
|
startedQuantity?: number | null;
|
|
50991
51047
|
ongoingQuantity?: number | null;
|
|
50992
51048
|
project?: WorkOrderProjectDto | null;
|
|
@@ -51034,6 +51090,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51034
51090
|
resourceDepartmentName?: string | null;
|
|
51035
51091
|
producedQuantity!: number;
|
|
51036
51092
|
scrappedQuantity!: number;
|
|
51093
|
+
earlierOperationsScrappedQuantity!: number;
|
|
51037
51094
|
startedQuantity?: number | null;
|
|
51038
51095
|
|
|
51039
51096
|
constructor(data?: ISurroundingOperationDto) {
|
|
@@ -51062,6 +51119,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51062
51119
|
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
51063
51120
|
this.producedQuantity = _data["producedQuantity"];
|
|
51064
51121
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
51122
|
+
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
51065
51123
|
this.startedQuantity = _data["startedQuantity"];
|
|
51066
51124
|
}
|
|
51067
51125
|
}
|
|
@@ -51090,6 +51148,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51090
51148
|
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
51091
51149
|
data["producedQuantity"] = this.producedQuantity;
|
|
51092
51150
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
51151
|
+
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
51093
51152
|
data["startedQuantity"] = this.startedQuantity;
|
|
51094
51153
|
return data;
|
|
51095
51154
|
}
|
|
@@ -51111,6 +51170,7 @@ export interface ISurroundingOperationDto {
|
|
|
51111
51170
|
resourceDepartmentName?: string | null;
|
|
51112
51171
|
producedQuantity: number;
|
|
51113
51172
|
scrappedQuantity: number;
|
|
51173
|
+
earlierOperationsScrappedQuantity: number;
|
|
51114
51174
|
startedQuantity?: number | null;
|
|
51115
51175
|
}
|
|
51116
51176
|
|