@ignos/api-client 20260728.199.1-alpha → 20260729.200.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.
@@ -2460,6 +2460,7 @@ 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[]>;
2463
2464
  }
2464
2465
  export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
2465
2466
  private http;
@@ -2469,6 +2470,8 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2469
2470
  });
2470
2471
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
2471
2472
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2473
+ postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2474
+ protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]>;
2472
2475
  }
2473
2476
  export interface IMesPlannerClient {
2474
2477
  getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
@@ -2547,7 +2550,6 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2547
2550
  protected processDeleteAttachment(response: Response): Promise<FileResponse>;
2548
2551
  }
2549
2552
  export interface IMesProductionOrderClient {
2550
- listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
2551
2553
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
2552
2554
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
2553
2555
  getProductionOrderPickListSuggestion(id: string, operation: number | undefined): Promise<PickListSuggestionDto[]>;
@@ -2564,8 +2566,6 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
2564
2566
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2565
2567
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2566
2568
  });
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,10 +7199,6 @@ 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;
7206
7202
  }
7207
7203
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
7208
7204
  export interface SearchParcelItemDto {
@@ -7395,6 +7391,37 @@ export interface LabelId {
7395
7391
  parcelId: string;
7396
7392
  trackingId?: string | null;
7397
7393
  }
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
+ }
7398
7425
  export interface PlannerPlanDto {
7399
7426
  resourceGroupId: string;
7400
7427
  sequence: PlannerOperationDto[];
@@ -7479,37 +7506,6 @@ export interface WorkOrderAttachmentDto {
7479
7506
  notes?: string | null;
7480
7507
  attachmentType?: string | null;
7481
7508
  }
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
- }
7513
7509
  export interface ProductionOrderDto {
7514
7510
  id: string;
7515
7511
  companyId: string;
@@ -20552,6 +20552,45 @@ 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
+ }
20555
20594
  }
20556
20595
  export class MesPlannerClient extends AuthorizedApiBase {
20557
20596
  constructor(configuration, baseUrl, http) {
@@ -21186,45 +21225,6 @@ export class MesProductionOrderClient extends AuthorizedApiBase {
21186
21225
  this.http = http ? http : window;
21187
21226
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
21188
21227
  }
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.199.1-alpha",
3
+ "version": "20260729.200.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -21918,6 +21918,8 @@ 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[]>;
21921
21923
  }
21922
21924
 
21923
21925
  export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
@@ -21968,6 +21970,45 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
21968
21970
  }
21969
21971
  return Promise.resolve<DownloadDto>(null as any);
21970
21972
  }
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
+ }
21971
22012
  }
21972
22013
 
21973
22014
  export interface IMesPlannerClient {
@@ -22637,8 +22678,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
22637
22678
 
22638
22679
  export interface IMesProductionOrderClient {
22639
22680
 
22640
- listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
22641
-
22642
22681
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
22643
22682
 
22644
22683
  getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
@@ -22668,45 +22707,6 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
22668
22707
  this.baseUrl = baseUrl ?? "";
22669
22708
  }
22670
22709
 
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,10 +35456,6 @@ 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;
35463
35459
  }
35464
35460
 
35465
35461
  export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
@@ -35684,6 +35680,41 @@ export interface LabelId {
35684
35680
  trackingId?: string | null;
35685
35681
  }
35686
35682
 
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
+
35687
35718
  export interface PlannerPlanDto {
35688
35719
  resourceGroupId: string;
35689
35720
  sequence: PlannerOperationDto[];
@@ -35777,41 +35808,6 @@ export interface WorkOrderAttachmentDto {
35777
35808
  attachmentType?: string | null;
35778
35809
  }
35779
35810
 
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
-
35815
35811
  export interface ProductionOrderDto {
35816
35812
  id: string;
35817
35813
  companyId: string;