@ignos/api-client 20260728.197.1 → 20260728.199.1-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.
@@ -2460,7 +2460,6 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
2460
2460
  }
2461
2461
  export interface IMesOrMoveClient {
2462
2462
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2463
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2464
2463
  }
2465
2464
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2466
2465
  private http;
@@ -2470,8 +2469,6 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2470
2469
  });
2471
2470
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2472
2471
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2473
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2474
- protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2475
2472
  }
2476
2473
  export interface IMesPlannerClient {
2477
2474
  getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
@@ -2550,6 +2547,7 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2550
2547
  protected processDeleteAttachment(response: Response): Promise<FileResponse>;
2551
2548
  }
2552
2549
  export interface IMesProductionOrderClient {
2550
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2553
2551
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2554
2552
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
2555
2553
  getProductionOrderPickListSuggestion(id: string, operation: number | undefined): Promise<PickListSuggestionDto[]>;
@@ -2566,6 +2564,8 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2566
2564
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2567
2565
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2568
2566
  });
2567
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2568
+ protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2569
2569
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2570
2570
  protected processGetProductionOrder(response: Response): Promise<ProductionOrderDto>;
2571
2571
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -7199,6 +7199,10 @@ export interface SearchParcelDto {
7199
7199
  items: SearchParcelItemDto[];
7200
7200
  partName?: string | null;
7201
7201
  partNumber?: string | null;
7202
+ status?: WorkorderStatus | null;
7203
+ startDate?: Date | null;
7204
+ endDate?: Date | null;
7205
+ deliveryDate?: Date | null;
7202
7206
  }
7203
7207
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
7204
7208
  export interface SearchParcelItemDto {
@@ -7391,37 +7395,6 @@ export interface LabelId {
7391
7395
  parcelId: string;
7392
7396
  trackingId?: string | null;
7393
7397
  }
7394
- export interface ProductionOrderListDto {
7395
- id: string;
7396
- companyId?: string | null;
7397
- part?: PartDto | null;
7398
- quantity: number;
7399
- unit?: string | null;
7400
- status: WorkorderStatus;
7401
- plannedStart?: Date | null;
7402
- plannedEnd?: Date | null;
7403
- producedQuantity: number;
7404
- scrappedQuantity: number;
7405
- deliveryLocation?: WarehouseLocationDto | null;
7406
- project?: WorkOrderProjectDto | null;
7407
- startDate?: Date | null;
7408
- endDate?: Date | null;
7409
- deliveryDate?: Date | null;
7410
- bomPosition?: string | null;
7411
- orderReference?: OrderReferenceDto | null;
7412
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7413
- }
7414
- export interface OrderReferenceDto {
7415
- orderReferenceType?: OrderReferenceTypeDto;
7416
- orderNumber?: string;
7417
- orderLineNumber?: number | null;
7418
- }
7419
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7420
- export interface ListProductionOrdersRequest {
7421
- search: string;
7422
- searchType: SearchTypeDto;
7423
- maxResults?: number | null;
7424
- }
7425
7398
  export interface PlannerPlanDto {
7426
7399
  resourceGroupId: string;
7427
7400
  sequence: PlannerOperationDto[];
@@ -7506,6 +7479,37 @@ export interface WorkOrderAttachmentDto {
7506
7479
  notes?: string | null;
7507
7480
  attachmentType?: string | null;
7508
7481
  }
7482
+ export interface ProductionOrderListDto {
7483
+ id: string;
7484
+ companyId?: string | null;
7485
+ part?: PartDto | null;
7486
+ quantity: number;
7487
+ unit?: string | null;
7488
+ status: WorkorderStatus;
7489
+ plannedStart?: Date | null;
7490
+ plannedEnd?: Date | null;
7491
+ producedQuantity: number;
7492
+ scrappedQuantity: number;
7493
+ deliveryLocation?: WarehouseLocationDto | null;
7494
+ project?: WorkOrderProjectDto | null;
7495
+ startDate?: Date | null;
7496
+ endDate?: Date | null;
7497
+ deliveryDate?: Date | null;
7498
+ bomPosition?: string | null;
7499
+ orderReference?: OrderReferenceDto | null;
7500
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7501
+ }
7502
+ export interface OrderReferenceDto {
7503
+ orderReferenceType?: OrderReferenceTypeDto;
7504
+ orderNumber?: string;
7505
+ orderLineNumber?: number | null;
7506
+ }
7507
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7508
+ export interface ListProductionOrdersRequest {
7509
+ search: string;
7510
+ searchType: SearchTypeDto;
7511
+ maxResults?: number | null;
7512
+ }
7509
7513
  export interface ProductionOrderDto {
7510
7514
  id: string;
7511
7515
  companyId: string;
@@ -20552,45 +20552,6 @@ export class MesOrMoveClient extends AuthorizedApiBase {
20552
20552
  }
20553
20553
  return Promise.resolve(null);
20554
20554
  }
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
20555
  }
20595
20556
  export class MesPlannerClient extends AuthorizedApiBase {
20596
20557
  constructor(configuration, baseUrl, http) {
@@ -21225,6 +21186,45 @@ export class MesProductionOrderClient extends AuthorizedApiBase {
21225
21186
  this.http = http ? http : window;
21226
21187
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
21227
21188
  }
21189
+ listProductionOrders(request) {
21190
+ let url_ = this.baseUrl + "/mes/productionorders/list";
21191
+ url_ = url_.replace(/[?&]$/, "");
21192
+ const content_ = JSON.stringify(request);
21193
+ let options_ = {
21194
+ body: content_,
21195
+ method: "POST",
21196
+ headers: {
21197
+ "Content-Type": "application/json",
21198
+ "Accept": "application/json"
21199
+ }
21200
+ };
21201
+ return this.transformOptions(options_).then(transformedOptions_ => {
21202
+ return this.http.fetch(url_, transformedOptions_);
21203
+ }).then((_response) => {
21204
+ return this.processListProductionOrders(_response);
21205
+ });
21206
+ }
21207
+ processListProductionOrders(response) {
21208
+ const status = response.status;
21209
+ let _headers = {};
21210
+ if (response.headers && response.headers.forEach) {
21211
+ response.headers.forEach((v, k) => _headers[k] = v);
21212
+ }
21213
+ ;
21214
+ if (status === 200) {
21215
+ return response.text().then((_responseText) => {
21216
+ let result200 = null;
21217
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
21218
+ return result200;
21219
+ });
21220
+ }
21221
+ else if (status !== 200 && status !== 204) {
21222
+ return response.text().then((_responseText) => {
21223
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21224
+ });
21225
+ }
21226
+ return Promise.resolve(null);
21227
+ }
21228
21228
  getProductionOrder(id) {
21229
21229
  let url_ = this.baseUrl + "/mes/productionorders/{id}";
21230
21230
  if (id === undefined || id === null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260728.197.1",
3
+ "version": "20260728.199.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -21918,8 +21918,6 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
21918
21918
  export interface IMesOrMoveClient {
21919
21919
 
21920
21920
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
21921
-
21922
- postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
21923
21921
  }
21924
21922
 
21925
21923
  export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
@@ -21970,45 +21968,6 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
21970
21968
  }
21971
21969
  return Promise.resolve<DownloadDto>(null as any);
21972
21970
  }
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
21971
  }
22013
21972
 
22014
21973
  export interface IMesPlannerClient {
@@ -22678,6 +22637,8 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22678
22637
 
22679
22638
  export interface IMesProductionOrderClient {
22680
22639
 
22640
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
22641
+
22681
22642
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
22682
22643
 
22683
22644
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -22707,6 +22668,45 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
22707
22668
  this.baseUrl = baseUrl ?? "";
22708
22669
  }
22709
22670
 
22671
+ listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]> {
22672
+ let url_ = this.baseUrl + "/mes/productionorders/list";
22673
+ url_ = url_.replace(/[?&]$/, "");
22674
+
22675
+ const content_ = JSON.stringify(request);
22676
+
22677
+ let options_: RequestInit = {
22678
+ body: content_,
22679
+ method: "POST",
22680
+ headers: {
22681
+ "Content-Type": "application/json",
22682
+ "Accept": "application/json"
22683
+ }
22684
+ };
22685
+
22686
+ return this.transformOptions(options_).then(transformedOptions_ => {
22687
+ return this.http.fetch(url_, transformedOptions_);
22688
+ }).then((_response: Response) => {
22689
+ return this.processListProductionOrders(_response);
22690
+ });
22691
+ }
22692
+
22693
+ protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]> {
22694
+ const status = response.status;
22695
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22696
+ if (status === 200) {
22697
+ return response.text().then((_responseText) => {
22698
+ let result200: any = null;
22699
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderListDto[];
22700
+ return result200;
22701
+ });
22702
+ } else if (status !== 200 && status !== 204) {
22703
+ return response.text().then((_responseText) => {
22704
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22705
+ });
22706
+ }
22707
+ return Promise.resolve<ProductionOrderListDto[]>(null as any);
22708
+ }
22709
+
22710
22710
  getProductionOrder(id: string): Promise<ProductionOrderDto> {
22711
22711
  let url_ = this.baseUrl + "/mes/productionorders/{id}";
22712
22712
  if (id === undefined || id === null)
@@ -35456,6 +35456,10 @@ export interface SearchParcelDto {
35456
35456
  items: SearchParcelItemDto[];
35457
35457
  partName?: string | null;
35458
35458
  partNumber?: string | null;
35459
+ status?: WorkorderStatus | null;
35460
+ startDate?: Date | null;
35461
+ endDate?: Date | null;
35462
+ deliveryDate?: Date | null;
35459
35463
  }
35460
35464
 
35461
35465
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
@@ -35680,41 +35684,6 @@ export interface LabelId {
35680
35684
  trackingId?: string | null;
35681
35685
  }
35682
35686
 
35683
- export interface ProductionOrderListDto {
35684
- id: string;
35685
- companyId?: string | null;
35686
- part?: PartDto | null;
35687
- quantity: number;
35688
- unit?: string | null;
35689
- status: WorkorderStatus;
35690
- plannedStart?: Date | null;
35691
- plannedEnd?: Date | null;
35692
- producedQuantity: number;
35693
- scrappedQuantity: number;
35694
- deliveryLocation?: WarehouseLocationDto | null;
35695
- project?: WorkOrderProjectDto | null;
35696
- startDate?: Date | null;
35697
- endDate?: Date | null;
35698
- deliveryDate?: Date | null;
35699
- bomPosition?: string | null;
35700
- orderReference?: OrderReferenceDto | null;
35701
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
35702
- }
35703
-
35704
- export interface OrderReferenceDto {
35705
- orderReferenceType?: OrderReferenceTypeDto;
35706
- orderNumber?: string;
35707
- orderLineNumber?: number | null;
35708
- }
35709
-
35710
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
35711
-
35712
- export interface ListProductionOrdersRequest {
35713
- search: string;
35714
- searchType: SearchTypeDto;
35715
- maxResults?: number | null;
35716
- }
35717
-
35718
35687
  export interface PlannerPlanDto {
35719
35688
  resourceGroupId: string;
35720
35689
  sequence: PlannerOperationDto[];
@@ -35808,6 +35777,41 @@ export interface WorkOrderAttachmentDto {
35808
35777
  attachmentType?: string | null;
35809
35778
  }
35810
35779
 
35780
+ export interface ProductionOrderListDto {
35781
+ id: string;
35782
+ companyId?: string | null;
35783
+ part?: PartDto | null;
35784
+ quantity: number;
35785
+ unit?: string | null;
35786
+ status: WorkorderStatus;
35787
+ plannedStart?: Date | null;
35788
+ plannedEnd?: Date | null;
35789
+ producedQuantity: number;
35790
+ scrappedQuantity: number;
35791
+ deliveryLocation?: WarehouseLocationDto | null;
35792
+ project?: WorkOrderProjectDto | null;
35793
+ startDate?: Date | null;
35794
+ endDate?: Date | null;
35795
+ deliveryDate?: Date | null;
35796
+ bomPosition?: string | null;
35797
+ orderReference?: OrderReferenceDto | null;
35798
+ customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
35799
+ }
35800
+
35801
+ export interface OrderReferenceDto {
35802
+ orderReferenceType?: OrderReferenceTypeDto;
35803
+ orderNumber?: string;
35804
+ orderLineNumber?: number | null;
35805
+ }
35806
+
35807
+ export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
35808
+
35809
+ export interface ListProductionOrdersRequest {
35810
+ search: string;
35811
+ searchType: SearchTypeDto;
35812
+ maxResults?: number | null;
35813
+ }
35814
+
35811
35815
  export interface ProductionOrderDto {
35812
35816
  id: string;
35813
35817
  companyId: string;