@ignos/api-client 20251023.0.12963 → 20251023.0.12986

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.
@@ -1692,7 +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<FileResponse>;
1695
+ exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
1696
1696
  }
1697
1697
  export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
1698
1698
  private http;
@@ -1719,8 +1719,8 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
1719
1719
  protected processPreBookGeneral(response: Response): Promise<PreBookingResultItemDto[]>;
1720
1720
  updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
1721
1721
  protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
1722
- exportBookings(includeTracking: boolean | undefined): Promise<FileResponse>;
1723
- protected processExportBookings(response: Response): Promise<FileResponse>;
1722
+ exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
1723
+ protected processExportBookings(response: Response): Promise<DownloadDto>;
1724
1724
  }
1725
1725
  export interface IMoveLocationsClient {
1726
1726
  listLocations(): Promise<LocationZoneGroupDto[]>;
@@ -1813,7 +1813,7 @@ export interface IMoveTrackingClient {
1813
1813
  createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
1814
1814
  createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
1815
1815
  deleteTrackingHistory(trackingId: string): Promise<void>;
1816
- exportParcels(): Promise<FileResponse>;
1816
+ exportParcels(): Promise<DownloadDto>;
1817
1817
  }
1818
1818
  export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
1819
1819
  private http;
@@ -1838,8 +1838,8 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
1838
1838
  protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
1839
1839
  deleteTrackingHistory(trackingId: string): Promise<void>;
1840
1840
  protected processDeleteTrackingHistory(response: Response): Promise<void>;
1841
- exportParcels(): Promise<FileResponse>;
1842
- protected processExportParcels(response: Response): Promise<FileResponse>;
1841
+ exportParcels(): Promise<DownloadDto>;
1842
+ protected processExportParcels(response: Response): Promise<DownloadDto>;
1843
1843
  }
1844
1844
  export interface IParcelCategoryClient {
1845
1845
  getSettings(): Promise<ParcelCategorySettingsDto>;
@@ -9706,6 +9706,7 @@ export declare class BookingParcelDto implements IBookingParcelDto {
9706
9706
  partNumber?: string | null;
9707
9707
  projectId?: string | null;
9708
9708
  projectName?: string | null;
9709
+ projectBomPosition?: string | null;
9709
9710
  quantity?: number | null;
9710
9711
  material?: string | null;
9711
9712
  materialOperation?: number | null;
@@ -9728,6 +9729,7 @@ export interface IBookingParcelDto {
9728
9729
  partNumber?: string | null;
9729
9730
  projectId?: string | null;
9730
9731
  projectName?: string | null;
9732
+ projectBomPosition?: string | null;
9731
9733
  quantity?: number | null;
9732
9734
  material?: string | null;
9733
9735
  materialOperation?: number | null;
@@ -10304,6 +10306,7 @@ export declare class TrackingParcelDto implements ITrackingParcelDto {
10304
10306
  partNumber?: string | null;
10305
10307
  projectId?: string | null;
10306
10308
  projectName?: string | null;
10309
+ projectBomPosition?: string | null;
10307
10310
  quantity?: number | null;
10308
10311
  material?: string | null;
10309
10312
  covered?: MaterialCoveredDto | null;
@@ -10321,6 +10324,7 @@ export interface ITrackingParcelDto {
10321
10324
  partNumber?: string | null;
10322
10325
  projectId?: string | null;
10323
10326
  projectName?: string | null;
10327
+ projectBomPosition?: string | null;
10324
10328
  quantity?: number | null;
10325
10329
  material?: string | null;
10326
10330
  covered?: MaterialCoveredDto | null;
@@ -10425,6 +10429,7 @@ export declare class TrackingHistoryFlattenedDto implements ITrackingHistoryFlat
10425
10429
  partNumber?: string | null;
10426
10430
  projectId?: string | null;
10427
10431
  projectName?: string | null;
10432
+ projectBomPosition?: string | null;
10428
10433
  quantity?: number | null;
10429
10434
  material?: string | null;
10430
10435
  covered?: MaterialCoveredDto | null;
@@ -10450,6 +10455,7 @@ export interface ITrackingHistoryFlattenedDto {
10450
10455
  partNumber?: string | null;
10451
10456
  projectId?: string | null;
10452
10457
  projectName?: string | null;
10458
+ projectBomPosition?: string | null;
10453
10459
  quantity?: number | null;
10454
10460
  material?: string | null;
10455
10461
  covered?: MaterialCoveredDto | null;
@@ -10765,6 +10771,7 @@ export declare class ProductionOrderOperationDto implements IProductionOrderOper
10765
10771
  quantity: number;
10766
10772
  startedQuantity?: number | null;
10767
10773
  ongoingQuantity?: number | null;
10774
+ earlierOperationsScrappedQuantity: number;
10768
10775
  availableToStartQuantity: number;
10769
10776
  workInstructions?: string | null;
10770
10777
  note?: string | null;
@@ -10802,6 +10809,7 @@ export interface IProductionOrderOperationDto {
10802
10809
  quantity: number;
10803
10810
  startedQuantity?: number | null;
10804
10811
  ongoingQuantity?: number | null;
10812
+ earlierOperationsScrappedQuantity: number;
10805
10813
  availableToStartQuantity: number;
10806
10814
  workInstructions?: string | null;
10807
10815
  note?: string | null;
@@ -11225,6 +11233,7 @@ export declare class ProductionScheduleOperationDto implements IProductionSchedu
11225
11233
  producedQuantity: number;
11226
11234
  scrappedQuantity: number;
11227
11235
  availableToStartQuantity: number;
11236
+ earlierOperationsScrappedQuantity: number;
11228
11237
  startedQuantity?: number | null;
11229
11238
  ongoingQuantity?: number | null;
11230
11239
  project?: WorkOrderProjectDto | null;
@@ -11279,6 +11288,7 @@ export interface IProductionScheduleOperationDto {
11279
11288
  producedQuantity: number;
11280
11289
  scrappedQuantity: number;
11281
11290
  availableToStartQuantity: number;
11291
+ earlierOperationsScrappedQuantity: number;
11282
11292
  startedQuantity?: number | null;
11283
11293
  ongoingQuantity?: number | null;
11284
11294
  project?: WorkOrderProjectDto | null;
@@ -11325,6 +11335,7 @@ export declare class SurroundingOperationDto implements ISurroundingOperationDto
11325
11335
  resourceDepartmentName?: string | null;
11326
11336
  producedQuantity: number;
11327
11337
  scrappedQuantity: number;
11338
+ earlierOperationsScrappedQuantity: number;
11328
11339
  startedQuantity?: number | null;
11329
11340
  constructor(data?: ISurroundingOperationDto);
11330
11341
  init(_data?: any): void;
@@ -11347,6 +11358,7 @@ export interface ISurroundingOperationDto {
11347
11358
  resourceDepartmentName?: string | null;
11348
11359
  producedQuantity: number;
11349
11360
  scrappedQuantity: number;
11361
+ earlierOperationsScrappedQuantity: number;
11350
11362
  startedQuantity?: number | null;
11351
11363
  }
11352
11364
  export declare class OperationPrerequisitesDto implements IOperationPrerequisitesDto {
@@ -14613,7 +14613,7 @@ export class MoveBookingClient extends AuthorizedApiBase {
14613
14613
  let options_ = {
14614
14614
  method: "POST",
14615
14615
  headers: {
14616
- "Accept": "application/octet-stream"
14616
+ "Accept": "application/json"
14617
14617
  }
14618
14618
  };
14619
14619
  return this.transformOptions(options_).then(transformedOptions_ => {
@@ -14629,18 +14629,13 @@ export class MoveBookingClient extends AuthorizedApiBase {
14629
14629
  response.headers.forEach((v, k) => _headers[k] = v);
14630
14630
  }
14631
14631
  ;
14632
- if (status === 200 || status === 206) {
14633
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
14634
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
14635
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
14636
- if (fileName) {
14637
- fileName = decodeURIComponent(fileName);
14638
- }
14639
- else {
14640
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
14641
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
14642
- }
14643
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
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
+ });
14644
14639
  }
14645
14640
  else if (status !== 200 && status !== 204) {
14646
14641
  return response.text().then((_responseText) => {
@@ -15611,7 +15606,7 @@ export class MoveTrackingClient extends AuthorizedApiBase {
15611
15606
  let options_ = {
15612
15607
  method: "POST",
15613
15608
  headers: {
15614
- "Accept": "application/octet-stream"
15609
+ "Accept": "application/json"
15615
15610
  }
15616
15611
  };
15617
15612
  return this.transformOptions(options_).then(transformedOptions_ => {
@@ -15627,18 +15622,13 @@ export class MoveTrackingClient extends AuthorizedApiBase {
15627
15622
  response.headers.forEach((v, k) => _headers[k] = v);
15628
15623
  }
15629
15624
  ;
15630
- if (status === 200 || status === 206) {
15631
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
15632
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
15633
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
15634
- if (fileName) {
15635
- fileName = decodeURIComponent(fileName);
15636
- }
15637
- else {
15638
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
15639
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
15640
- }
15641
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
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
+ });
15642
15632
  }
15643
15633
  else if (status !== 200 && status !== 204) {
15644
15634
  return response.text().then((_responseText) => {
@@ -37616,6 +37606,7 @@ export class BookingParcelDto {
37616
37606
  this.partNumber = _data["partNumber"];
37617
37607
  this.projectId = _data["projectId"];
37618
37608
  this.projectName = _data["projectName"];
37609
+ this.projectBomPosition = _data["projectBomPosition"];
37619
37610
  this.quantity = _data["quantity"];
37620
37611
  this.material = _data["material"];
37621
37612
  this.materialOperation = _data["materialOperation"];
@@ -37642,6 +37633,7 @@ export class BookingParcelDto {
37642
37633
  data["partNumber"] = this.partNumber;
37643
37634
  data["projectId"] = this.projectId;
37644
37635
  data["projectName"] = this.projectName;
37636
+ data["projectBomPosition"] = this.projectBomPosition;
37645
37637
  data["quantity"] = this.quantity;
37646
37638
  data["material"] = this.material;
37647
37639
  data["materialOperation"] = this.materialOperation;
@@ -39073,6 +39065,7 @@ export class TrackingParcelDto {
39073
39065
  this.partNumber = _data["partNumber"];
39074
39066
  this.projectId = _data["projectId"];
39075
39067
  this.projectName = _data["projectName"];
39068
+ this.projectBomPosition = _data["projectBomPosition"];
39076
39069
  this.quantity = _data["quantity"];
39077
39070
  this.material = _data["material"];
39078
39071
  this.covered = _data["covered"];
@@ -39102,6 +39095,7 @@ export class TrackingParcelDto {
39102
39095
  data["partNumber"] = this.partNumber;
39103
39096
  data["projectId"] = this.projectId;
39104
39097
  data["projectName"] = this.projectName;
39098
+ data["projectBomPosition"] = this.projectBomPosition;
39105
39099
  data["quantity"] = this.quantity;
39106
39100
  data["material"] = this.material;
39107
39101
  data["covered"] = this.covered;
@@ -39354,6 +39348,7 @@ export class TrackingHistoryFlattenedDto {
39354
39348
  this.partNumber = _data["partNumber"];
39355
39349
  this.projectId = _data["projectId"];
39356
39350
  this.projectName = _data["projectName"];
39351
+ this.projectBomPosition = _data["projectBomPosition"];
39357
39352
  this.quantity = _data["quantity"];
39358
39353
  this.material = _data["material"];
39359
39354
  this.covered = _data["covered"];
@@ -39387,6 +39382,7 @@ export class TrackingHistoryFlattenedDto {
39387
39382
  data["partNumber"] = this.partNumber;
39388
39383
  data["projectId"] = this.projectId;
39389
39384
  data["projectName"] = this.projectName;
39385
+ data["projectBomPosition"] = this.projectBomPosition;
39390
39386
  data["quantity"] = this.quantity;
39391
39387
  data["material"] = this.material;
39392
39388
  data["covered"] = this.covered;
@@ -40065,6 +40061,7 @@ export class ProductionOrderOperationDto {
40065
40061
  this.quantity = _data["quantity"];
40066
40062
  this.startedQuantity = _data["startedQuantity"];
40067
40063
  this.ongoingQuantity = _data["ongoingQuantity"];
40064
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
40068
40065
  this.availableToStartQuantity = _data["availableToStartQuantity"];
40069
40066
  this.workInstructions = _data["workInstructions"];
40070
40067
  this.note = _data["note"];
@@ -40106,6 +40103,7 @@ export class ProductionOrderOperationDto {
40106
40103
  data["quantity"] = this.quantity;
40107
40104
  data["startedQuantity"] = this.startedQuantity;
40108
40105
  data["ongoingQuantity"] = this.ongoingQuantity;
40106
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
40109
40107
  data["availableToStartQuantity"] = this.availableToStartQuantity;
40110
40108
  data["workInstructions"] = this.workInstructions;
40111
40109
  data["note"] = this.note;
@@ -40909,6 +40907,7 @@ export class ProductionScheduleOperationDto {
40909
40907
  this.producedQuantity = _data["producedQuantity"];
40910
40908
  this.scrappedQuantity = _data["scrappedQuantity"];
40911
40909
  this.availableToStartQuantity = _data["availableToStartQuantity"];
40910
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
40912
40911
  this.startedQuantity = _data["startedQuantity"];
40913
40912
  this.ongoingQuantity = _data["ongoingQuantity"];
40914
40913
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined;
@@ -40967,6 +40966,7 @@ export class ProductionScheduleOperationDto {
40967
40966
  data["producedQuantity"] = this.producedQuantity;
40968
40967
  data["scrappedQuantity"] = this.scrappedQuantity;
40969
40968
  data["availableToStartQuantity"] = this.availableToStartQuantity;
40969
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
40970
40970
  data["startedQuantity"] = this.startedQuantity;
40971
40971
  data["ongoingQuantity"] = this.ongoingQuantity;
40972
40972
  data["project"] = this.project ? this.project.toJSON() : undefined;
@@ -41025,6 +41025,7 @@ export class SurroundingOperationDto {
41025
41025
  this.resourceDepartmentName = _data["resourceDepartmentName"];
41026
41026
  this.producedQuantity = _data["producedQuantity"];
41027
41027
  this.scrappedQuantity = _data["scrappedQuantity"];
41028
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
41028
41029
  this.startedQuantity = _data["startedQuantity"];
41029
41030
  }
41030
41031
  }
@@ -41051,6 +41052,7 @@ export class SurroundingOperationDto {
41051
41052
  data["resourceDepartmentName"] = this.resourceDepartmentName;
41052
41053
  data["producedQuantity"] = this.producedQuantity;
41053
41054
  data["scrappedQuantity"] = this.scrappedQuantity;
41055
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
41054
41056
  data["startedQuantity"] = this.startedQuantity;
41055
41057
  return data;
41056
41058
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20251023.0.12963",
3
+ "version": "20251023.0.12986",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -15180,7 +15180,7 @@ export interface IMoveBookingClient {
15180
15180
 
15181
15181
  updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
15182
15182
 
15183
- exportBookings(includeTracking: boolean | undefined): Promise<FileResponse>;
15183
+ exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
15184
15184
  }
15185
15185
 
15186
15186
  export class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
@@ -15568,7 +15568,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
15568
15568
  return Promise.resolve<BookingDto>(null as any);
15569
15569
  }
15570
15570
 
15571
- exportBookings(includeTracking: boolean | undefined): Promise<FileResponse> {
15571
+ exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto> {
15572
15572
  let url_ = this.baseUrl + "/move/booking/export?";
15573
15573
  if (includeTracking === null)
15574
15574
  throw new globalThis.Error("The parameter 'includeTracking' cannot be null.");
@@ -15579,7 +15579,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
15579
15579
  let options_: RequestInit = {
15580
15580
  method: "POST",
15581
15581
  headers: {
15582
- "Accept": "application/octet-stream"
15582
+ "Accept": "application/json"
15583
15583
  }
15584
15584
  };
15585
15585
 
@@ -15590,26 +15590,22 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
15590
15590
  });
15591
15591
  }
15592
15592
 
15593
- protected processExportBookings(response: Response): Promise<FileResponse> {
15593
+ protected processExportBookings(response: Response): Promise<DownloadDto> {
15594
15594
  const status = response.status;
15595
15595
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
15596
- if (status === 200 || status === 206) {
15597
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
15598
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
15599
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
15600
- if (fileName) {
15601
- fileName = decodeURIComponent(fileName);
15602
- } else {
15603
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
15604
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
15605
- }
15606
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
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
+ });
15607
15603
  } else if (status !== 200 && status !== 204) {
15608
15604
  return response.text().then((_responseText) => {
15609
15605
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15610
15606
  });
15611
15607
  }
15612
- return Promise.resolve<FileResponse>(null as any);
15608
+ return Promise.resolve<DownloadDto>(null as any);
15613
15609
  }
15614
15610
  }
15615
15611
 
@@ -16292,7 +16288,7 @@ export interface IMoveTrackingClient {
16292
16288
 
16293
16289
  deleteTrackingHistory(trackingId: string): Promise<void>;
16294
16290
 
16295
- exportParcels(): Promise<FileResponse>;
16291
+ exportParcels(): Promise<DownloadDto>;
16296
16292
  }
16297
16293
 
16298
16294
  export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
@@ -16639,14 +16635,14 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
16639
16635
  return Promise.resolve<void>(null as any);
16640
16636
  }
16641
16637
 
16642
- exportParcels(): Promise<FileResponse> {
16638
+ exportParcels(): Promise<DownloadDto> {
16643
16639
  let url_ = this.baseUrl + "/move/tracking/export";
16644
16640
  url_ = url_.replace(/[?&]$/, "");
16645
16641
 
16646
16642
  let options_: RequestInit = {
16647
16643
  method: "POST",
16648
16644
  headers: {
16649
- "Accept": "application/octet-stream"
16645
+ "Accept": "application/json"
16650
16646
  }
16651
16647
  };
16652
16648
 
@@ -16657,26 +16653,22 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
16657
16653
  });
16658
16654
  }
16659
16655
 
16660
- protected processExportParcels(response: Response): Promise<FileResponse> {
16656
+ protected processExportParcels(response: Response): Promise<DownloadDto> {
16661
16657
  const status = response.status;
16662
16658
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
16663
- if (status === 200 || status === 206) {
16664
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
16665
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
16666
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
16667
- if (fileName) {
16668
- fileName = decodeURIComponent(fileName);
16669
- } else {
16670
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
16671
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
16672
- }
16673
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
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
+ });
16674
16666
  } else if (status !== 200 && status !== 204) {
16675
16667
  return response.text().then((_responseText) => {
16676
16668
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
16677
16669
  });
16678
16670
  }
16679
- return Promise.resolve<FileResponse>(null as any);
16671
+ return Promise.resolve<DownloadDto>(null as any);
16680
16672
  }
16681
16673
  }
16682
16674
 
@@ -46077,6 +46069,7 @@ export class BookingParcelDto implements IBookingParcelDto {
46077
46069
  partNumber?: string | null;
46078
46070
  projectId?: string | null;
46079
46071
  projectName?: string | null;
46072
+ projectBomPosition?: string | null;
46080
46073
  quantity?: number | null;
46081
46074
  material?: string | null;
46082
46075
  materialOperation?: number | null;
@@ -46105,6 +46098,7 @@ export class BookingParcelDto implements IBookingParcelDto {
46105
46098
  this.partNumber = _data["partNumber"];
46106
46099
  this.projectId = _data["projectId"];
46107
46100
  this.projectName = _data["projectName"];
46101
+ this.projectBomPosition = _data["projectBomPosition"];
46108
46102
  this.quantity = _data["quantity"];
46109
46103
  this.material = _data["material"];
46110
46104
  this.materialOperation = _data["materialOperation"];
@@ -46133,6 +46127,7 @@ export class BookingParcelDto implements IBookingParcelDto {
46133
46127
  data["partNumber"] = this.partNumber;
46134
46128
  data["projectId"] = this.projectId;
46135
46129
  data["projectName"] = this.projectName;
46130
+ data["projectBomPosition"] = this.projectBomPosition;
46136
46131
  data["quantity"] = this.quantity;
46137
46132
  data["material"] = this.material;
46138
46133
  data["materialOperation"] = this.materialOperation;
@@ -46154,6 +46149,7 @@ export interface IBookingParcelDto {
46154
46149
  partNumber?: string | null;
46155
46150
  projectId?: string | null;
46156
46151
  projectName?: string | null;
46152
+ projectBomPosition?: string | null;
46157
46153
  quantity?: number | null;
46158
46154
  material?: string | null;
46159
46155
  materialOperation?: number | null;
@@ -48132,6 +48128,7 @@ export class TrackingParcelDto implements ITrackingParcelDto {
48132
48128
  partNumber?: string | null;
48133
48129
  projectId?: string | null;
48134
48130
  projectName?: string | null;
48131
+ projectBomPosition?: string | null;
48135
48132
  quantity?: number | null;
48136
48133
  material?: string | null;
48137
48134
  covered?: MaterialCoveredDto | null;
@@ -48159,6 +48156,7 @@ export class TrackingParcelDto implements ITrackingParcelDto {
48159
48156
  this.partNumber = _data["partNumber"];
48160
48157
  this.projectId = _data["projectId"];
48161
48158
  this.projectName = _data["projectName"];
48159
+ this.projectBomPosition = _data["projectBomPosition"];
48162
48160
  this.quantity = _data["quantity"];
48163
48161
  this.material = _data["material"];
48164
48162
  this.covered = _data["covered"];
@@ -48190,6 +48188,7 @@ export class TrackingParcelDto implements ITrackingParcelDto {
48190
48188
  data["partNumber"] = this.partNumber;
48191
48189
  data["projectId"] = this.projectId;
48192
48190
  data["projectName"] = this.projectName;
48191
+ data["projectBomPosition"] = this.projectBomPosition;
48193
48192
  data["quantity"] = this.quantity;
48194
48193
  data["material"] = this.material;
48195
48194
  data["covered"] = this.covered;
@@ -48214,6 +48213,7 @@ export interface ITrackingParcelDto {
48214
48213
  partNumber?: string | null;
48215
48214
  projectId?: string | null;
48216
48215
  projectName?: string | null;
48216
+ projectBomPosition?: string | null;
48217
48217
  quantity?: number | null;
48218
48218
  material?: string | null;
48219
48219
  covered?: MaterialCoveredDto | null;
@@ -48536,6 +48536,7 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
48536
48536
  partNumber?: string | null;
48537
48537
  projectId?: string | null;
48538
48538
  projectName?: string | null;
48539
+ projectBomPosition?: string | null;
48539
48540
  quantity?: number | null;
48540
48541
  material?: string | null;
48541
48542
  covered?: MaterialCoveredDto | null;
@@ -48570,6 +48571,7 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
48570
48571
  this.partNumber = _data["partNumber"];
48571
48572
  this.projectId = _data["projectId"];
48572
48573
  this.projectName = _data["projectName"];
48574
+ this.projectBomPosition = _data["projectBomPosition"];
48573
48575
  this.quantity = _data["quantity"];
48574
48576
  this.material = _data["material"];
48575
48577
  this.covered = _data["covered"];
@@ -48605,6 +48607,7 @@ export class TrackingHistoryFlattenedDto implements ITrackingHistoryFlattenedDto
48605
48607
  data["partNumber"] = this.partNumber;
48606
48608
  data["projectId"] = this.projectId;
48607
48609
  data["projectName"] = this.projectName;
48610
+ data["projectBomPosition"] = this.projectBomPosition;
48608
48611
  data["quantity"] = this.quantity;
48609
48612
  data["material"] = this.material;
48610
48613
  data["covered"] = this.covered;
@@ -48633,6 +48636,7 @@ export interface ITrackingHistoryFlattenedDto {
48633
48636
  partNumber?: string | null;
48634
48637
  projectId?: string | null;
48635
48638
  projectName?: string | null;
48639
+ projectBomPosition?: string | null;
48636
48640
  quantity?: number | null;
48637
48641
  material?: string | null;
48638
48642
  covered?: MaterialCoveredDto | null;
@@ -49572,6 +49576,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49572
49576
  quantity!: number;
49573
49577
  startedQuantity?: number | null;
49574
49578
  ongoingQuantity?: number | null;
49579
+ earlierOperationsScrappedQuantity!: number;
49575
49580
  availableToStartQuantity!: number;
49576
49581
  workInstructions?: string | null;
49577
49582
  note?: string | null;
@@ -49615,6 +49620,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49615
49620
  this.quantity = _data["quantity"];
49616
49621
  this.startedQuantity = _data["startedQuantity"];
49617
49622
  this.ongoingQuantity = _data["ongoingQuantity"];
49623
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
49618
49624
  this.availableToStartQuantity = _data["availableToStartQuantity"];
49619
49625
  this.workInstructions = _data["workInstructions"];
49620
49626
  this.note = _data["note"];
@@ -49658,6 +49664,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49658
49664
  data["quantity"] = this.quantity;
49659
49665
  data["startedQuantity"] = this.startedQuantity;
49660
49666
  data["ongoingQuantity"] = this.ongoingQuantity;
49667
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
49661
49668
  data["availableToStartQuantity"] = this.availableToStartQuantity;
49662
49669
  data["workInstructions"] = this.workInstructions;
49663
49670
  data["note"] = this.note;
@@ -49694,6 +49701,7 @@ export interface IProductionOrderOperationDto {
49694
49701
  quantity: number;
49695
49702
  startedQuantity?: number | null;
49696
49703
  ongoingQuantity?: number | null;
49704
+ earlierOperationsScrappedQuantity: number;
49697
49705
  availableToStartQuantity: number;
49698
49706
  workInstructions?: string | null;
49699
49707
  note?: string | null;
@@ -50879,6 +50887,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
50879
50887
  producedQuantity!: number;
50880
50888
  scrappedQuantity!: number;
50881
50889
  availableToStartQuantity!: number;
50890
+ earlierOperationsScrappedQuantity!: number;
50882
50891
  startedQuantity?: number | null;
50883
50892
  ongoingQuantity?: number | null;
50884
50893
  project?: WorkOrderProjectDto | null;
@@ -50942,6 +50951,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
50942
50951
  this.producedQuantity = _data["producedQuantity"];
50943
50952
  this.scrappedQuantity = _data["scrappedQuantity"];
50944
50953
  this.availableToStartQuantity = _data["availableToStartQuantity"];
50954
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
50945
50955
  this.startedQuantity = _data["startedQuantity"];
50946
50956
  this.ongoingQuantity = _data["ongoingQuantity"];
50947
50957
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined as any;
@@ -51002,6 +51012,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
51002
51012
  data["producedQuantity"] = this.producedQuantity;
51003
51013
  data["scrappedQuantity"] = this.scrappedQuantity;
51004
51014
  data["availableToStartQuantity"] = this.availableToStartQuantity;
51015
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
51005
51016
  data["startedQuantity"] = this.startedQuantity;
51006
51017
  data["ongoingQuantity"] = this.ongoingQuantity;
51007
51018
  data["project"] = this.project ? this.project.toJSON() : undefined as any;
@@ -51055,6 +51066,7 @@ export interface IProductionScheduleOperationDto {
51055
51066
  producedQuantity: number;
51056
51067
  scrappedQuantity: number;
51057
51068
  availableToStartQuantity: number;
51069
+ earlierOperationsScrappedQuantity: number;
51058
51070
  startedQuantity?: number | null;
51059
51071
  ongoingQuantity?: number | null;
51060
51072
  project?: WorkOrderProjectDto | null;
@@ -51102,6 +51114,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
51102
51114
  resourceDepartmentName?: string | null;
51103
51115
  producedQuantity!: number;
51104
51116
  scrappedQuantity!: number;
51117
+ earlierOperationsScrappedQuantity!: number;
51105
51118
  startedQuantity?: number | null;
51106
51119
 
51107
51120
  constructor(data?: ISurroundingOperationDto) {
@@ -51130,6 +51143,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
51130
51143
  this.resourceDepartmentName = _data["resourceDepartmentName"];
51131
51144
  this.producedQuantity = _data["producedQuantity"];
51132
51145
  this.scrappedQuantity = _data["scrappedQuantity"];
51146
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
51133
51147
  this.startedQuantity = _data["startedQuantity"];
51134
51148
  }
51135
51149
  }
@@ -51158,6 +51172,7 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
51158
51172
  data["resourceDepartmentName"] = this.resourceDepartmentName;
51159
51173
  data["producedQuantity"] = this.producedQuantity;
51160
51174
  data["scrappedQuantity"] = this.scrappedQuantity;
51175
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
51161
51176
  data["startedQuantity"] = this.startedQuantity;
51162
51177
  return data;
51163
51178
  }
@@ -51179,6 +51194,7 @@ export interface ISurroundingOperationDto {
51179
51194
  resourceDepartmentName?: string | null;
51180
51195
  producedQuantity: number;
51181
51196
  scrappedQuantity: number;
51197
+ earlierOperationsScrappedQuantity: number;
51182
51198
  startedQuantity?: number | null;
51183
51199
  }
51184
51200