@ignos/api-client 20240926.0.10453 → 20241004.0.10507

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.
@@ -1699,7 +1699,6 @@ export interface IMesProductionScheduleClient {
1699
1699
  postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
1700
1700
  getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
1701
1701
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
1702
- listMyCurrentWorkActivitiesV2(): Promise<CurrentWorkActivityDto>;
1703
1702
  startOperations(request: StartOperations): Promise<void>;
1704
1703
  reportOperationProgress(request: ReportOperationProgress): Promise<void>;
1705
1704
  getScheduledWorkSummary(resourceGroup: string | null | undefined, resourceId: string | null | undefined): Promise<ScheduledWorkSummaryDto>;
@@ -1719,8 +1718,6 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
1719
1718
  protected processGetAvailableProductionScheduleFilters(response: Response): Promise<ProductionScheduleFiltersDto>;
1720
1719
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
1721
1720
  protected processListMyCurrentWorkActivities(response: Response): Promise<CurrentWorkActivityDto>;
1722
- listMyCurrentWorkActivitiesV2(): Promise<CurrentWorkActivityDto>;
1723
- protected processListMyCurrentWorkActivitiesV2(response: Response): Promise<CurrentWorkActivityDto>;
1724
1721
  startOperations(request: StartOperations): Promise<void>;
1725
1722
  protected processStartOperations(response: Response): Promise<void>;
1726
1723
  reportOperationProgress(request: ReportOperationProgress): Promise<void>;
@@ -2871,6 +2868,7 @@ export interface IListUsersRequest {
2871
2868
  }
2872
2869
  export declare class EngageAppSettings implements IEngageAppSettings {
2873
2870
  includeDrawingInRouteCardPrint?: boolean;
2871
+ routeCardPrintInLandscapeOrientation?: boolean;
2874
2872
  constructor(data?: IEngageAppSettings);
2875
2873
  init(_data?: any): void;
2876
2874
  static fromJS(data: any): EngageAppSettings;
@@ -2878,6 +2876,7 @@ export declare class EngageAppSettings implements IEngageAppSettings {
2878
2876
  }
2879
2877
  export interface IEngageAppSettings {
2880
2878
  includeDrawingInRouteCardPrint?: boolean;
2879
+ routeCardPrintInLandscapeOrientation?: boolean;
2881
2880
  }
2882
2881
  export declare class MoveAppSettings implements IMoveAppSettings {
2883
2882
  engageMoveAutoPrompt?: boolean;
@@ -5297,6 +5296,8 @@ export declare class MachineErpDataDto implements IMachineErpDataDto {
5297
5296
  workOrderId: string;
5298
5297
  part: PartDto;
5299
5298
  quantity: number;
5299
+ producedQuantity: number;
5300
+ scrappedQuantity: number;
5300
5301
  operation: number;
5301
5302
  plannedTime: number;
5302
5303
  usedTime: number;
@@ -5315,6 +5316,8 @@ export interface IMachineErpDataDto {
5315
5316
  workOrderId: string;
5316
5317
  part: PartDto;
5317
5318
  quantity: number;
5319
+ producedQuantity: number;
5320
+ scrappedQuantity: number;
5318
5321
  operation: number;
5319
5322
  plannedTime: number;
5320
5323
  usedTime: number;
@@ -13926,43 +13926,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
13926
13926
  }
13927
13927
  return Promise.resolve(null);
13928
13928
  }
13929
- listMyCurrentWorkActivitiesV2() {
13930
- let url_ = this.baseUrl + "/mes/myactivework/v2";
13931
- url_ = url_.replace(/[?&]$/, "");
13932
- let options_ = {
13933
- method: "GET",
13934
- headers: {
13935
- "Accept": "application/json"
13936
- }
13937
- };
13938
- return this.transformOptions(options_).then(transformedOptions_ => {
13939
- return this.http.fetch(url_, transformedOptions_);
13940
- }).then((_response) => {
13941
- return this.processListMyCurrentWorkActivitiesV2(_response);
13942
- });
13943
- }
13944
- processListMyCurrentWorkActivitiesV2(response) {
13945
- const status = response.status;
13946
- let _headers = {};
13947
- if (response.headers && response.headers.forEach) {
13948
- response.headers.forEach((v, k) => _headers[k] = v);
13949
- }
13950
- ;
13951
- if (status === 200) {
13952
- return response.text().then((_responseText) => {
13953
- let result200 = null;
13954
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
13955
- result200 = CurrentWorkActivityDto.fromJS(resultData200);
13956
- return result200;
13957
- });
13958
- }
13959
- else if (status !== 200 && status !== 204) {
13960
- return response.text().then((_responseText) => {
13961
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
13962
- });
13963
- }
13964
- return Promise.resolve(null);
13965
- }
13966
13929
  startOperations(request) {
13967
13930
  let url_ = this.baseUrl + "/mes/start-operations";
13968
13931
  url_ = url_.replace(/[?&]$/, "");
@@ -20697,6 +20660,7 @@ export class EngageAppSettings {
20697
20660
  init(_data) {
20698
20661
  if (_data) {
20699
20662
  this.includeDrawingInRouteCardPrint = _data["includeDrawingInRouteCardPrint"];
20663
+ this.routeCardPrintInLandscapeOrientation = _data["routeCardPrintInLandscapeOrientation"];
20700
20664
  }
20701
20665
  }
20702
20666
  static fromJS(data) {
@@ -20708,6 +20672,7 @@ export class EngageAppSettings {
20708
20672
  toJSON(data) {
20709
20673
  data = typeof data === 'object' ? data : {};
20710
20674
  data["includeDrawingInRouteCardPrint"] = this.includeDrawingInRouteCardPrint;
20675
+ data["routeCardPrintInLandscapeOrientation"] = this.routeCardPrintInLandscapeOrientation;
20711
20676
  return data;
20712
20677
  }
20713
20678
  }
@@ -25822,6 +25787,8 @@ export class MachineErpDataDto {
25822
25787
  this.workOrderId = _data["workOrderId"];
25823
25788
  this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
25824
25789
  this.quantity = _data["quantity"];
25790
+ this.producedQuantity = _data["producedQuantity"];
25791
+ this.scrappedQuantity = _data["scrappedQuantity"];
25825
25792
  this.operation = _data["operation"];
25826
25793
  this.plannedTime = _data["plannedTime"];
25827
25794
  this.usedTime = _data["usedTime"];
@@ -25844,6 +25811,8 @@ export class MachineErpDataDto {
25844
25811
  data["workOrderId"] = this.workOrderId;
25845
25812
  data["part"] = this.part ? this.part.toJSON() : undefined;
25846
25813
  data["quantity"] = this.quantity;
25814
+ data["producedQuantity"] = this.producedQuantity;
25815
+ data["scrappedQuantity"] = this.scrappedQuantity;
25847
25816
  data["operation"] = this.operation;
25848
25817
  data["plannedTime"] = this.plannedTime;
25849
25818
  data["usedTime"] = this.usedTime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240926.0.10453",
3
+ "version": "20241004.0.10507",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -14715,8 +14715,6 @@ export interface IMesProductionScheduleClient {
14715
14715
 
14716
14716
  listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
14717
14717
 
14718
- listMyCurrentWorkActivitiesV2(): Promise<CurrentWorkActivityDto>;
14719
-
14720
14718
  startOperations(request: StartOperations): Promise<void>;
14721
14719
 
14722
14720
  reportOperationProgress(request: ReportOperationProgress): Promise<void>;
@@ -14907,42 +14905,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
14907
14905
  return Promise.resolve<CurrentWorkActivityDto>(null as any);
14908
14906
  }
14909
14907
 
14910
- listMyCurrentWorkActivitiesV2(): Promise<CurrentWorkActivityDto> {
14911
- let url_ = this.baseUrl + "/mes/myactivework/v2";
14912
- url_ = url_.replace(/[?&]$/, "");
14913
-
14914
- let options_: RequestInit = {
14915
- method: "GET",
14916
- headers: {
14917
- "Accept": "application/json"
14918
- }
14919
- };
14920
-
14921
- return this.transformOptions(options_).then(transformedOptions_ => {
14922
- return this.http.fetch(url_, transformedOptions_);
14923
- }).then((_response: Response) => {
14924
- return this.processListMyCurrentWorkActivitiesV2(_response);
14925
- });
14926
- }
14927
-
14928
- protected processListMyCurrentWorkActivitiesV2(response: Response): Promise<CurrentWorkActivityDto> {
14929
- const status = response.status;
14930
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
14931
- if (status === 200) {
14932
- return response.text().then((_responseText) => {
14933
- let result200: any = null;
14934
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14935
- result200 = CurrentWorkActivityDto.fromJS(resultData200);
14936
- return result200;
14937
- });
14938
- } else if (status !== 200 && status !== 204) {
14939
- return response.text().then((_responseText) => {
14940
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14941
- });
14942
- }
14943
- return Promise.resolve<CurrentWorkActivityDto>(null as any);
14944
- }
14945
-
14946
14908
  startOperations(request: StartOperations): Promise<void> {
14947
14909
  let url_ = this.baseUrl + "/mes/start-operations";
14948
14910
  url_ = url_.replace(/[?&]$/, "");
@@ -22497,6 +22459,7 @@ export interface IListUsersRequest {
22497
22459
 
22498
22460
  export class EngageAppSettings implements IEngageAppSettings {
22499
22461
  includeDrawingInRouteCardPrint?: boolean;
22462
+ routeCardPrintInLandscapeOrientation?: boolean;
22500
22463
 
22501
22464
  constructor(data?: IEngageAppSettings) {
22502
22465
  if (data) {
@@ -22510,6 +22473,7 @@ export class EngageAppSettings implements IEngageAppSettings {
22510
22473
  init(_data?: any) {
22511
22474
  if (_data) {
22512
22475
  this.includeDrawingInRouteCardPrint = _data["includeDrawingInRouteCardPrint"];
22476
+ this.routeCardPrintInLandscapeOrientation = _data["routeCardPrintInLandscapeOrientation"];
22513
22477
  }
22514
22478
  }
22515
22479
 
@@ -22523,12 +22487,14 @@ export class EngageAppSettings implements IEngageAppSettings {
22523
22487
  toJSON(data?: any) {
22524
22488
  data = typeof data === 'object' ? data : {};
22525
22489
  data["includeDrawingInRouteCardPrint"] = this.includeDrawingInRouteCardPrint;
22490
+ data["routeCardPrintInLandscapeOrientation"] = this.routeCardPrintInLandscapeOrientation;
22526
22491
  return data;
22527
22492
  }
22528
22493
  }
22529
22494
 
22530
22495
  export interface IEngageAppSettings {
22531
22496
  includeDrawingInRouteCardPrint?: boolean;
22497
+ routeCardPrintInLandscapeOrientation?: boolean;
22532
22498
  }
22533
22499
 
22534
22500
  export class MoveAppSettings implements IMoveAppSettings {
@@ -30061,6 +30027,8 @@ export class MachineErpDataDto implements IMachineErpDataDto {
30061
30027
  workOrderId!: string;
30062
30028
  part!: PartDto;
30063
30029
  quantity!: number;
30030
+ producedQuantity!: number;
30031
+ scrappedQuantity!: number;
30064
30032
  operation!: number;
30065
30033
  plannedTime!: number;
30066
30034
  usedTime!: number;
@@ -30088,6 +30056,8 @@ export class MachineErpDataDto implements IMachineErpDataDto {
30088
30056
  this.workOrderId = _data["workOrderId"];
30089
30057
  this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
30090
30058
  this.quantity = _data["quantity"];
30059
+ this.producedQuantity = _data["producedQuantity"];
30060
+ this.scrappedQuantity = _data["scrappedQuantity"];
30091
30061
  this.operation = _data["operation"];
30092
30062
  this.plannedTime = _data["plannedTime"];
30093
30063
  this.usedTime = _data["usedTime"];
@@ -30112,6 +30082,8 @@ export class MachineErpDataDto implements IMachineErpDataDto {
30112
30082
  data["workOrderId"] = this.workOrderId;
30113
30083
  data["part"] = this.part ? this.part.toJSON() : <any>undefined;
30114
30084
  data["quantity"] = this.quantity;
30085
+ data["producedQuantity"] = this.producedQuantity;
30086
+ data["scrappedQuantity"] = this.scrappedQuantity;
30115
30087
  data["operation"] = this.operation;
30116
30088
  data["plannedTime"] = this.plannedTime;
30117
30089
  data["usedTime"] = this.usedTime;
@@ -30129,6 +30101,8 @@ export interface IMachineErpDataDto {
30129
30101
  workOrderId: string;
30130
30102
  part: PartDto;
30131
30103
  quantity: number;
30104
+ producedQuantity: number;
30105
+ scrappedQuantity: number;
30132
30106
  operation: number;
30133
30107
  plannedTime: number;
30134
30108
  usedTime: number;