@ignos/api-client 20260811.216.1 → 20260811.218.1

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.
@@ -2289,6 +2289,7 @@ export declare class MoveNotificationsClient extends AuthorizedApiBase implement
2289
2289
  }
2290
2290
  export interface IMoveParcelsClient {
2291
2291
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2292
+ searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2292
2293
  }
2293
2294
  export declare class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
2294
2295
  private http;
@@ -2298,6 +2299,8 @@ export declare class MoveParcelsClient extends AuthorizedApiBase implements IMov
2298
2299
  });
2299
2300
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2300
2301
  protected processSearchParcels(response: Response): Promise<SearchParcelDto[]>;
2302
+ searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
2303
+ protected processSearchParcelsV2(response: Response): Promise<SearchParcelDto[]>;
2301
2304
  }
2302
2305
  export interface IMoveTrackingClient {
2303
2306
  listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingParcelListDto>;
@@ -2460,7 +2463,6 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
2460
2463
  }
2461
2464
  export interface IMesOrMoveClient {
2462
2465
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2463
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2464
2466
  }
2465
2467
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2466
2468
  private http;
@@ -2470,8 +2472,6 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2470
2472
  });
2471
2473
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2472
2474
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2473
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2474
- protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2475
2475
  }
2476
2476
  export interface IMesPlannerClient {
2477
2477
  getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
@@ -2559,6 +2559,7 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2559
2559
  protected processDeleteAttachment(response: Response): Promise<void>;
2560
2560
  }
2561
2561
  export interface IMesProductionOrderClient {
2562
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2562
2563
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2563
2564
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
2564
2565
  getProductionOrderPickListSuggestion(id: string, operation: number | undefined): Promise<PickListSuggestionDto[]>;
@@ -2575,6 +2576,8 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2575
2576
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2576
2577
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2577
2578
  });
2579
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2580
+ protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2578
2581
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2579
2582
  protected processGetProductionOrder(response: Response): Promise<ProductionOrderDto>;
2580
2583
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -7209,6 +7212,10 @@ export interface SearchParcelDto {
7209
7212
  items: SearchParcelItemDto[];
7210
7213
  partName?: string | null;
7211
7214
  partNumber?: string | null;
7215
+ status?: WorkorderStatus | null;
7216
+ startDate?: Date | null;
7217
+ endDate?: Date | null;
7218
+ deliveryDate?: Date | null;
7212
7219
  }
7213
7220
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
7214
7221
  export interface SearchParcelItemDto {
@@ -7401,37 +7408,6 @@ export interface LabelId {
7401
7408
  parcelId: string;
7402
7409
  trackingId?: string | null;
7403
7410
  }
7404
- export interface ProductionOrderListDto {
7405
- id: string;
7406
- companyId?: string | null;
7407
- part?: PartDto | null;
7408
- quantity: number;
7409
- unit?: string | null;
7410
- status: WorkorderStatus;
7411
- plannedStart?: Date | null;
7412
- plannedEnd?: Date | null;
7413
- producedQuantity: number;
7414
- scrappedQuantity: number;
7415
- deliveryLocation?: WarehouseLocationDto | null;
7416
- project?: WorkOrderProjectDto | null;
7417
- startDate?: Date | null;
7418
- endDate?: Date | null;
7419
- deliveryDate?: Date | null;
7420
- bomPosition?: string | null;
7421
- orderReference?: OrderReferenceDto | null;
7422
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7423
- }
7424
- export interface OrderReferenceDto {
7425
- orderReferenceType?: OrderReferenceTypeDto;
7426
- orderNumber?: string;
7427
- orderLineNumber?: number | null;
7428
- }
7429
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7430
- export interface ListProductionOrdersRequest {
7431
- search: string;
7432
- searchType: SearchTypeDto;
7433
- maxResults?: number | null;
7434
- }
7435
7411
  export interface PlannerPlanDto {
7436
7412
  resourceGroupId: string;
7437
7413
  sequence: PlannerOperationDto[];
@@ -7447,7 +7423,11 @@ export interface PlannerOperationDto {
7447
7423
  operationName: string;
7448
7424
  plannedStart: Date;
7449
7425
  plannedEnd?: Date | null;
7426
+ actualStart?: Date | null;
7427
+ actualEnd?: Date | null;
7450
7428
  status: OperationStatusDto;
7429
+ productionStatus: OperationStatusDto;
7430
+ setupStatus?: OperationStatusDto | null;
7451
7431
  resourceId: string;
7452
7432
  resourceName: string;
7453
7433
  resourceDepartmentNumber?: string | null;
@@ -7459,13 +7439,11 @@ export interface PlannerOperationDto {
7459
7439
  producedQuantity: number;
7460
7440
  totalPlannedHours?: number;
7461
7441
  totalUsedHours?: number;
7442
+ usedSetupHours?: number | null;
7443
+ plannedSetupHours?: number | null;
7444
+ usedProductionHours?: number;
7462
7445
  customerName?: string | null;
7463
7446
  project?: WorkOrderProjectDto | null;
7464
- sequenceNumber: number;
7465
- isManuallyLocked: boolean;
7466
- lockType: PlannerLockType;
7467
- isNewOperation: boolean;
7468
- weekGroup: string;
7469
7447
  programStatus?: ProgramStatus | null;
7470
7448
  hasNotes?: boolean;
7471
7449
  notesUnread?: boolean;
@@ -7476,8 +7454,13 @@ export interface PlannerOperationDto {
7476
7454
  drawing?: DrawingDto | null;
7477
7455
  drawingNumber?: string | null;
7478
7456
  description?: string | null;
7457
+ disableSetupRegistration?: boolean;
7458
+ sequenceNumber: number;
7459
+ isManuallyLocked: boolean;
7460
+ lockType: PlannerLockType;
7461
+ isNewOperation: boolean;
7462
+ weekGroup: string;
7479
7463
  }
7480
- export type PlannerLockType = "None" | "Manual" | "Auto";
7481
7464
  export type ProgramStatus = "Blank" | "NotOk" | "Ok";
7482
7465
  export interface OperationPrerequisitesDto {
7483
7466
  drawing?: boolean | null;
@@ -7500,6 +7483,7 @@ export interface DrawingFileDto {
7500
7483
  name: string;
7501
7484
  comment?: string;
7502
7485
  }
7486
+ export type PlannerLockType = "None" | "Manual" | "Auto";
7503
7487
  export interface WeekCapacityDto {
7504
7488
  weekGroup: string;
7505
7489
  weekStart: Date;
@@ -7550,6 +7534,37 @@ export interface ProductionOrderAttachmentDto {
7550
7534
  addedBy?: string | null;
7551
7535
  canDelete: boolean;
7552
7536
  }
7537
+ export interface ProductionOrderListDto {
7538
+ id: string;
7539
+ companyId?: string | null;
7540
+ part?: PartDto | null;
7541
+ quantity: number;
7542
+ unit?: string | null;
7543
+ status: WorkorderStatus;
7544
+ plannedStart?: Date | null;
7545
+ plannedEnd?: Date | null;
7546
+ producedQuantity: number;
7547
+ scrappedQuantity: number;
7548
+ deliveryLocation?: WarehouseLocationDto | null;
7549
+ project?: WorkOrderProjectDto | null;
7550
+ startDate?: Date | null;
7551
+ endDate?: Date | null;
7552
+ deliveryDate?: Date | null;
7553
+ bomPosition?: string | null;
7554
+ orderReference?: OrderReferenceDto | null;
7555
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7556
+ }
7557
+ export interface OrderReferenceDto {
7558
+ orderReferenceType?: OrderReferenceTypeDto;
7559
+ orderNumber?: string;
7560
+ orderLineNumber?: number | null;
7561
+ }
7562
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7563
+ export interface ListProductionOrdersRequest {
7564
+ search: string;
7565
+ searchType: SearchTypeDto;
7566
+ maxResults?: number | null;
7567
+ }
7553
7568
  export interface ProductionOrderDto {
7554
7569
  id: string;
7555
7570
  companyId: string;
@@ -19318,6 +19318,46 @@ export class MoveParcelsClient extends AuthorizedApiBase {
19318
19318
  }
19319
19319
  return Promise.resolve(null);
19320
19320
  }
19321
+ searchParcelsV2(input, pageSize) {
19322
+ let url_ = this.baseUrl + "/move/parcel/search/v2?";
19323
+ if (input !== undefined && input !== null)
19324
+ url_ += "input=" + encodeURIComponent("" + input) + "&";
19325
+ if (pageSize !== undefined && pageSize !== null)
19326
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
19327
+ url_ = url_.replace(/[?&]$/, "");
19328
+ let options_ = {
19329
+ method: "GET",
19330
+ headers: {
19331
+ "Accept": "application/json"
19332
+ }
19333
+ };
19334
+ return this.transformOptions(options_).then(transformedOptions_ => {
19335
+ return this.http.fetch(url_, transformedOptions_);
19336
+ }).then((_response) => {
19337
+ return this.processSearchParcelsV2(_response);
19338
+ });
19339
+ }
19340
+ processSearchParcelsV2(response) {
19341
+ const status = response.status;
19342
+ let _headers = {};
19343
+ if (response.headers && response.headers.forEach) {
19344
+ response.headers.forEach((v, k) => _headers[k] = v);
19345
+ }
19346
+ ;
19347
+ if (status === 200) {
19348
+ return response.text().then((_responseText) => {
19349
+ let result200 = null;
19350
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
19351
+ return result200;
19352
+ });
19353
+ }
19354
+ else if (status !== 200 && status !== 204) {
19355
+ return response.text().then((_responseText) => {
19356
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
19357
+ });
19358
+ }
19359
+ return Promise.resolve(null);
19360
+ }
19321
19361
  }
19322
19362
  export class MoveTrackingClient extends AuthorizedApiBase {
19323
19363
  constructor(configuration, baseUrl, http) {
@@ -20552,45 +20592,6 @@ export class MesOrMoveClient extends AuthorizedApiBase {
20552
20592
  }
20553
20593
  return Promise.resolve(null);
20554
20594
  }
20555
- postListProductionOrders(request) {
20556
- let url_ = this.baseUrl + "/mes/productionorders/list";
20557
- url_ = url_.replace(/[?&]$/, "");
20558
- const content_ = JSON.stringify(request);
20559
- let options_ = {
20560
- body: content_,
20561
- method: "POST",
20562
- headers: {
20563
- "Content-Type": "application/json",
20564
- "Accept": "application/json"
20565
- }
20566
- };
20567
- return this.transformOptions(options_).then(transformedOptions_ => {
20568
- return this.http.fetch(url_, transformedOptions_);
20569
- }).then((_response) => {
20570
- return this.processPostListProductionOrders(_response);
20571
- });
20572
- }
20573
- processPostListProductionOrders(response) {
20574
- const status = response.status;
20575
- let _headers = {};
20576
- if (response.headers && response.headers.forEach) {
20577
- response.headers.forEach((v, k) => _headers[k] = v);
20578
- }
20579
- ;
20580
- if (status === 200) {
20581
- return response.text().then((_responseText) => {
20582
- let result200 = null;
20583
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
20584
- return result200;
20585
- });
20586
- }
20587
- else if (status !== 200 && status !== 204) {
20588
- return response.text().then((_responseText) => {
20589
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
20590
- });
20591
- }
20592
- return Promise.resolve(null);
20593
- }
20594
20595
  }
20595
20596
  export class MesPlannerClient extends AuthorizedApiBase {
20596
20597
  constructor(configuration, baseUrl, http) {
@@ -21250,6 +21251,45 @@ export class MesProductionOrderClient extends AuthorizedApiBase {
21250
21251
  this.http = http ? http : window;
21251
21252
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
21252
21253
  }
21254
+ listProductionOrders(request) {
21255
+ let url_ = this.baseUrl + "/mes/productionorders/list";
21256
+ url_ = url_.replace(/[?&]$/, "");
21257
+ const content_ = JSON.stringify(request);
21258
+ let options_ = {
21259
+ body: content_,
21260
+ method: "POST",
21261
+ headers: {
21262
+ "Content-Type": "application/json",
21263
+ "Accept": "application/json"
21264
+ }
21265
+ };
21266
+ return this.transformOptions(options_).then(transformedOptions_ => {
21267
+ return this.http.fetch(url_, transformedOptions_);
21268
+ }).then((_response) => {
21269
+ return this.processListProductionOrders(_response);
21270
+ });
21271
+ }
21272
+ processListProductionOrders(response) {
21273
+ const status = response.status;
21274
+ let _headers = {};
21275
+ if (response.headers && response.headers.forEach) {
21276
+ response.headers.forEach((v, k) => _headers[k] = v);
21277
+ }
21278
+ ;
21279
+ if (status === 200) {
21280
+ return response.text().then((_responseText) => {
21281
+ let result200 = null;
21282
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
21283
+ return result200;
21284
+ });
21285
+ }
21286
+ else if (status !== 200 && status !== 204) {
21287
+ return response.text().then((_responseText) => {
21288
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21289
+ });
21290
+ }
21291
+ return Promise.resolve(null);
21292
+ }
21253
21293
  getProductionOrder(id) {
21254
21294
  let url_ = this.baseUrl + "/mes/productionorders/{id}";
21255
21295
  if (id === undefined || id === null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260811.216.1",
3
+ "version": "20260811.218.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -20579,6 +20579,8 @@ export class MoveNotificationsClient extends AuthorizedApiBase implements IMoveN
20579
20579
  export interface IMoveParcelsClient {
20580
20580
 
20581
20581
  searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
20582
+
20583
+ searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
20582
20584
  }
20583
20585
 
20584
20586
  export class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
@@ -20629,6 +20631,45 @@ export class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcels
20629
20631
  }
20630
20632
  return Promise.resolve<SearchParcelDto[]>(null as any);
20631
20633
  }
20634
+
20635
+ searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]> {
20636
+ let url_ = this.baseUrl + "/move/parcel/search/v2?";
20637
+ if (input !== undefined && input !== null)
20638
+ url_ += "input=" + encodeURIComponent("" + input) + "&";
20639
+ if (pageSize !== undefined && pageSize !== null)
20640
+ url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
20641
+ url_ = url_.replace(/[?&]$/, "");
20642
+
20643
+ let options_: RequestInit = {
20644
+ method: "GET",
20645
+ headers: {
20646
+ "Accept": "application/json"
20647
+ }
20648
+ };
20649
+
20650
+ return this.transformOptions(options_).then(transformedOptions_ => {
20651
+ return this.http.fetch(url_, transformedOptions_);
20652
+ }).then((_response: Response) => {
20653
+ return this.processSearchParcelsV2(_response);
20654
+ });
20655
+ }
20656
+
20657
+ protected processSearchParcelsV2(response: Response): Promise<SearchParcelDto[]> {
20658
+ const status = response.status;
20659
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
20660
+ if (status === 200) {
20661
+ return response.text().then((_responseText) => {
20662
+ let result200: any = null;
20663
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SearchParcelDto[];
20664
+ return result200;
20665
+ });
20666
+ } else if (status !== 200 && status !== 204) {
20667
+ return response.text().then((_responseText) => {
20668
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
20669
+ });
20670
+ }
20671
+ return Promise.resolve<SearchParcelDto[]>(null as any);
20672
+ }
20632
20673
  }
20633
20674
 
20634
20675
  export interface IMoveTrackingClient {
@@ -21918,8 +21959,6 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
21918
21959
  export interface IMesOrMoveClient {
21919
21960
 
21920
21961
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
21921
-
21922
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
21923
21962
  }
21924
21963
 
21925
21964
  export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
@@ -21970,45 +22009,6 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
21970
22009
  }
21971
22010
  return Promise.resolve<DownloadDto>(null as any);
21972
22011
  }
21973
-
21974
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]> {
21975
- let url_ = this.baseUrl + "/mes/productionorders/list";
21976
- url_ = url_.replace(/[?&]$/, "");
21977
-
21978
- const content_ = JSON.stringify(request);
21979
-
21980
- let options_: RequestInit = {
21981
- body: content_,
21982
- method: "POST",
21983
- headers: {
21984
- "Content-Type": "application/json",
21985
- "Accept": "application/json"
21986
- }
21987
- };
21988
-
21989
- return this.transformOptions(options_).then(transformedOptions_ => {
21990
- return this.http.fetch(url_, transformedOptions_);
21991
- }).then((_response: Response) => {
21992
- return this.processPostListProductionOrders(_response);
21993
- });
21994
- }
21995
-
21996
- protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]> {
21997
- const status = response.status;
21998
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21999
- if (status === 200) {
22000
- return response.text().then((_responseText) => {
22001
- let result200: any = null;
22002
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderListDto[];
22003
- return result200;
22004
- });
22005
- } else if (status !== 200 && status !== 204) {
22006
- return response.text().then((_responseText) => {
22007
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22008
- });
22009
- }
22010
- return Promise.resolve<ProductionOrderListDto[]>(null as any);
22011
- }
22012
22012
  }
22013
22013
 
22014
22014
  export interface IMesPlannerClient {
@@ -22712,6 +22712,8 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22712
22712
 
22713
22713
  export interface IMesProductionOrderClient {
22714
22714
 
22715
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
22716
+
22715
22717
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
22716
22718
 
22717
22719
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -22741,6 +22743,45 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
22741
22743
  this.baseUrl = baseUrl ?? "";
22742
22744
  }
22743
22745
 
22746
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]> {
22747
+ let url_ = this.baseUrl + "/mes/productionorders/list";
22748
+ url_ = url_.replace(/[?&]$/, "");
22749
+
22750
+ const content_ = JSON.stringify(request);
22751
+
22752
+ let options_: RequestInit = {
22753
+ body: content_,
22754
+ method: "POST",
22755
+ headers: {
22756
+ "Content-Type": "application/json",
22757
+ "Accept": "application/json"
22758
+ }
22759
+ };
22760
+
22761
+ return this.transformOptions(options_).then(transformedOptions_ => {
22762
+ return this.http.fetch(url_, transformedOptions_);
22763
+ }).then((_response: Response) => {
22764
+ return this.processListProductionOrders(_response);
22765
+ });
22766
+ }
22767
+
22768
+ protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]> {
22769
+ const status = response.status;
22770
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22771
+ if (status === 200) {
22772
+ return response.text().then((_responseText) => {
22773
+ let result200: any = null;
22774
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderListDto[];
22775
+ return result200;
22776
+ });
22777
+ } else if (status !== 200 && status !== 204) {
22778
+ return response.text().then((_responseText) => {
22779
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22780
+ });
22781
+ }
22782
+ return Promise.resolve<ProductionOrderListDto[]>(null as any);
22783
+ }
22784
+
22744
22785
  getProductionOrder(id: string): Promise<ProductionOrderDto> {
22745
22786
  let url_ = this.baseUrl + "/mes/productionorders/{id}";
22746
22787
  if (id === undefined || id === null)
@@ -35495,6 +35536,10 @@ export interface SearchParcelDto {
35495
35536
  items: SearchParcelItemDto[];
35496
35537
  partName?: string | null;
35497
35538
  partNumber?: string | null;
35539
+ status?: WorkorderStatus | null;
35540
+ startDate?: Date | null;
35541
+ endDate?: Date | null;
35542
+ deliveryDate?: Date | null;
35498
35543
  }
35499
35544
 
35500
35545
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
@@ -35719,41 +35764,6 @@ export interface LabelId {
35719
35764
  trackingId?: string | null;
35720
35765
  }
35721
35766
 
35722
- export interface ProductionOrderListDto {
35723
- id: string;
35724
- companyId?: string | null;
35725
- part?: PartDto | null;
35726
- quantity: number;
35727
- unit?: string | null;
35728
- status: WorkorderStatus;
35729
- plannedStart?: Date | null;
35730
- plannedEnd?: Date | null;
35731
- producedQuantity: number;
35732
- scrappedQuantity: number;
35733
- deliveryLocation?: WarehouseLocationDto | null;
35734
- project?: WorkOrderProjectDto | null;
35735
- startDate?: Date | null;
35736
- endDate?: Date | null;
35737
- deliveryDate?: Date | null;
35738
- bomPosition?: string | null;
35739
- orderReference?: OrderReferenceDto | null;
35740
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
35741
- }
35742
-
35743
- export interface OrderReferenceDto {
35744
- orderReferenceType?: OrderReferenceTypeDto;
35745
- orderNumber?: string;
35746
- orderLineNumber?: number | null;
35747
- }
35748
-
35749
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
35750
-
35751
- export interface ListProductionOrdersRequest {
35752
- search: string;
35753
- searchType: SearchTypeDto;
35754
- maxResults?: number | null;
35755
- }
35756
-
35757
35767
  export interface PlannerPlanDto {
35758
35768
  resourceGroupId: string;
35759
35769
  sequence: PlannerOperationDto[];
@@ -35770,7 +35780,11 @@ export interface PlannerOperationDto {
35770
35780
  operationName: string;
35771
35781
  plannedStart: Date;
35772
35782
  plannedEnd?: Date | null;
35783
+ actualStart?: Date | null;
35784
+ actualEnd?: Date | null;
35773
35785
  status: OperationStatusDto;
35786
+ productionStatus: OperationStatusDto;
35787
+ setupStatus?: OperationStatusDto | null;
35774
35788
  resourceId: string;
35775
35789
  resourceName: string;
35776
35790
  resourceDepartmentNumber?: string | null;
@@ -35782,13 +35796,11 @@ export interface PlannerOperationDto {
35782
35796
  producedQuantity: number;
35783
35797
  totalPlannedHours?: number;
35784
35798
  totalUsedHours?: number;
35799
+ usedSetupHours?: number | null;
35800
+ plannedSetupHours?: number | null;
35801
+ usedProductionHours?: number;
35785
35802
  customerName?: string | null;
35786
35803
  project?: WorkOrderProjectDto | null;
35787
- sequenceNumber: number;
35788
- isManuallyLocked: boolean;
35789
- lockType: PlannerLockType;
35790
- isNewOperation: boolean;
35791
- weekGroup: string;
35792
35804
  programStatus?: ProgramStatus | null;
35793
35805
  hasNotes?: boolean;
35794
35806
  notesUnread?: boolean;
@@ -35799,10 +35811,14 @@ export interface PlannerOperationDto {
35799
35811
  drawing?: DrawingDto | null;
35800
35812
  drawingNumber?: string | null;
35801
35813
  description?: string | null;
35814
+ disableSetupRegistration?: boolean;
35815
+ sequenceNumber: number;
35816
+ isManuallyLocked: boolean;
35817
+ lockType: PlannerLockType;
35818
+ isNewOperation: boolean;
35819
+ weekGroup: string;
35802
35820
  }
35803
35821
 
35804
- export type PlannerLockType = "None" | "Manual" | "Auto";
35805
-
35806
35822
  export type ProgramStatus = "Blank" | "NotOk" | "Ok";
35807
35823
 
35808
35824
  export interface OperationPrerequisitesDto {
@@ -35831,6 +35847,8 @@ export interface DrawingFileDto {
35831
35847
  comment?: string;
35832
35848
  }
35833
35849
 
35850
+ export type PlannerLockType = "None" | "Manual" | "Auto";
35851
+
35834
35852
  export interface WeekCapacityDto {
35835
35853
  weekGroup: string;
35836
35854
  weekStart: Date;
@@ -35888,6 +35906,41 @@ export interface ProductionOrderAttachmentDto {
35888
35906
  canDelete: boolean;
35889
35907
  }
35890
35908
 
35909
+ export interface ProductionOrderListDto {
35910
+ id: string;
35911
+ companyId?: string | null;
35912
+ part?: PartDto | null;
35913
+ quantity: number;
35914
+ unit?: string | null;
35915
+ status: WorkorderStatus;
35916
+ plannedStart?: Date | null;
35917
+ plannedEnd?: Date | null;
35918
+ producedQuantity: number;
35919
+ scrappedQuantity: number;
35920
+ deliveryLocation?: WarehouseLocationDto | null;
35921
+ project?: WorkOrderProjectDto | null;
35922
+ startDate?: Date | null;
35923
+ endDate?: Date | null;
35924
+ deliveryDate?: Date | null;
35925
+ bomPosition?: string | null;
35926
+ orderReference?: OrderReferenceDto | null;
35927
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
35928
+ }
35929
+
35930
+ export interface OrderReferenceDto {
35931
+ orderReferenceType?: OrderReferenceTypeDto;
35932
+ orderNumber?: string;
35933
+ orderLineNumber?: number | null;
35934
+ }
35935
+
35936
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
35937
+
35938
+ export interface ListProductionOrdersRequest {
35939
+ search: string;
35940
+ searchType: SearchTypeDto;
35941
+ maxResults?: number | null;
35942
+ }
35943
+
35891
35944
  export interface ProductionOrderDto {
35892
35945
  id: string;
35893
35946
  companyId: string;