@ignos/api-client 20260728.198.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[]>;
@@ -7391,6 +7391,37 @@ export interface LabelId {
7391
7391
  parcelId: string;
7392
7392
  trackingId?: string | null;
7393
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
+ }
7394
7425
  export interface PlannerPlanDto {
7395
7426
  resourceGroupId: string;
7396
7427
  sequence: PlannerOperationDto[];
@@ -7475,37 +7506,6 @@ export interface WorkOrderAttachmentDto {
7475
7506
  notes?: string | null;
7476
7507
  attachmentType?: string | null;
7477
7508
  }
7478
- export interface ProductionOrderListDto {
7479
- id: string;
7480
- companyId?: string | null;
7481
- part?: PartDto | null;
7482
- quantity: number;
7483
- unit?: string | null;
7484
- status: WorkorderStatus;
7485
- plannedStart?: Date | null;
7486
- plannedEnd?: Date | null;
7487
- producedQuantity: number;
7488
- scrappedQuantity: number;
7489
- deliveryLocation?: WarehouseLocationDto | null;
7490
- project?: WorkOrderProjectDto | null;
7491
- startDate?: Date | null;
7492
- endDate?: Date | null;
7493
- deliveryDate?: Date | null;
7494
- bomPosition?: string | null;
7495
- orderReference?: OrderReferenceDto | null;
7496
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
7497
- }
7498
- export interface OrderReferenceDto {
7499
- orderReferenceType?: OrderReferenceTypeDto;
7500
- orderNumber?: string;
7501
- orderLineNumber?: number | null;
7502
- }
7503
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
7504
- export interface ListProductionOrdersRequest {
7505
- search: string;
7506
- searchType: SearchTypeDto;
7507
- maxResults?: number | null;
7508
- }
7509
7509
  export interface ProductionOrderDto {
7510
7510
  id: string;
7511
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.198.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)
@@ -35680,6 +35680,41 @@ export interface LabelId {
35680
35680
  trackingId?: string | null;
35681
35681
  }
35682
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
+
35683
35718
  export interface PlannerPlanDto {
35684
35719
  resourceGroupId: string;
35685
35720
  sequence: PlannerOperationDto[];
@@ -35773,41 +35808,6 @@ export interface WorkOrderAttachmentDto {
35773
35808
  attachmentType?: string | null;
35774
35809
  }
35775
35810
 
35776
- export interface ProductionOrderListDto {
35777
- id: string;
35778
- companyId?: string | null;
35779
- part?: PartDto | null;
35780
- quantity: number;
35781
- unit?: string | null;
35782
- status: WorkorderStatus;
35783
- plannedStart?: Date | null;
35784
- plannedEnd?: Date | null;
35785
- producedQuantity: number;
35786
- scrappedQuantity: number;
35787
- deliveryLocation?: WarehouseLocationDto | null;
35788
- project?: WorkOrderProjectDto | null;
35789
- startDate?: Date | null;
35790
- endDate?: Date | null;
35791
- deliveryDate?: Date | null;
35792
- bomPosition?: string | null;
35793
- orderReference?: OrderReferenceDto | null;
35794
- customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
35795
- }
35796
-
35797
- export interface OrderReferenceDto {
35798
- orderReferenceType?: OrderReferenceTypeDto;
35799
- orderNumber?: string;
35800
- orderLineNumber?: number | null;
35801
- }
35802
-
35803
- export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
35804
-
35805
- export interface ListProductionOrdersRequest {
35806
- search: string;
35807
- searchType: SearchTypeDto;
35808
- maxResults?: number | null;
35809
- }
35810
-
35811
35811
  export interface ProductionOrderDto {
35812
35812
  id: string;
35813
35813
  companyId: string;