@ignos/api-client 20250827.0.12448-alpha → 20250829.0.12463

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.
@@ -754,6 +754,53 @@ export class MachineUtilizationClient extends AuthorizedApiBase {
754
754
  }
755
755
  return Promise.resolve(null);
756
756
  }
757
+ getResourceTimelines(id, startTime, endTime, filter) {
758
+ let url_ = this.baseUrl + "/machineutilization/{id}/resource/timelines?";
759
+ if (id === undefined || id === null)
760
+ throw new Error("The parameter 'id' must be defined.");
761
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
762
+ if (startTime !== undefined && startTime !== null)
763
+ url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
764
+ if (endTime !== undefined && endTime !== null)
765
+ url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
766
+ url_ = url_.replace(/[?&]$/, "");
767
+ const content_ = JSON.stringify(filter);
768
+ let options_ = {
769
+ body: content_,
770
+ method: "POST",
771
+ headers: {
772
+ "Content-Type": "application/json",
773
+ "Accept": "application/json"
774
+ }
775
+ };
776
+ return this.transformOptions(options_).then(transformedOptions_ => {
777
+ return this.http.fetch(url_, transformedOptions_);
778
+ }).then((_response) => {
779
+ return this.processGetResourceTimelines(_response);
780
+ });
781
+ }
782
+ processGetResourceTimelines(response) {
783
+ const status = response.status;
784
+ let _headers = {};
785
+ if (response.headers && response.headers.forEach) {
786
+ response.headers.forEach((v, k) => _headers[k] = v);
787
+ }
788
+ ;
789
+ if (status === 200) {
790
+ return response.text().then((_responseText) => {
791
+ let result200 = null;
792
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
793
+ result200 = TimelinesDto.fromJS(resultData200);
794
+ return result200;
795
+ });
796
+ }
797
+ else if (status !== 200 && status !== 204) {
798
+ return response.text().then((_responseText) => {
799
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
800
+ });
801
+ }
802
+ return Promise.resolve(null);
803
+ }
757
804
  listMachineStates(id, startTime, endTime) {
758
805
  let url_ = this.baseUrl + "/machineutilization/{id}/machine-states?";
759
806
  if (id === undefined || id === null)
@@ -5805,165 +5852,6 @@ export class DowntimeReasonsAdminClient extends AuthorizedApiBase {
5805
5852
  }
5806
5853
  return Promise.resolve(null);
5807
5854
  }
5808
- listParentTopics() {
5809
- let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents";
5810
- url_ = url_.replace(/[?&]$/, "");
5811
- let options_ = {
5812
- method: "GET",
5813
- headers: {
5814
- "Accept": "application/json"
5815
- }
5816
- };
5817
- return this.transformOptions(options_).then(transformedOptions_ => {
5818
- return this.http.fetch(url_, transformedOptions_);
5819
- }).then((_response) => {
5820
- return this.processListParentTopics(_response);
5821
- });
5822
- }
5823
- processListParentTopics(response) {
5824
- const status = response.status;
5825
- let _headers = {};
5826
- if (response.headers && response.headers.forEach) {
5827
- response.headers.forEach((v, k) => _headers[k] = v);
5828
- }
5829
- ;
5830
- if (status === 200) {
5831
- return response.text().then((_responseText) => {
5832
- let result200 = null;
5833
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5834
- if (Array.isArray(resultData200)) {
5835
- result200 = [];
5836
- for (let item of resultData200)
5837
- result200.push(ParentTopicDto.fromJS(item));
5838
- }
5839
- return result200;
5840
- });
5841
- }
5842
- else if (status !== 200 && status !== 204) {
5843
- return response.text().then((_responseText) => {
5844
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5845
- });
5846
- }
5847
- return Promise.resolve(null);
5848
- }
5849
- createParentTopic(request) {
5850
- let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents";
5851
- url_ = url_.replace(/[?&]$/, "");
5852
- const content_ = JSON.stringify(request);
5853
- let options_ = {
5854
- body: content_,
5855
- method: "POST",
5856
- headers: {
5857
- "Content-Type": "application/json",
5858
- "Accept": "application/json"
5859
- }
5860
- };
5861
- return this.transformOptions(options_).then(transformedOptions_ => {
5862
- return this.http.fetch(url_, transformedOptions_);
5863
- }).then((_response) => {
5864
- return this.processCreateParentTopic(_response);
5865
- });
5866
- }
5867
- processCreateParentTopic(response) {
5868
- const status = response.status;
5869
- let _headers = {};
5870
- if (response.headers && response.headers.forEach) {
5871
- response.headers.forEach((v, k) => _headers[k] = v);
5872
- }
5873
- ;
5874
- if (status === 200) {
5875
- return response.text().then((_responseText) => {
5876
- let result200 = null;
5877
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5878
- result200 = ParentTopicDto.fromJS(resultData200);
5879
- return result200;
5880
- });
5881
- }
5882
- else if (status !== 200 && status !== 204) {
5883
- return response.text().then((_responseText) => {
5884
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5885
- });
5886
- }
5887
- return Promise.resolve(null);
5888
- }
5889
- updateParentTopic(id, request) {
5890
- let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents/{id}";
5891
- if (id === undefined || id === null)
5892
- throw new Error("The parameter 'id' must be defined.");
5893
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
5894
- url_ = url_.replace(/[?&]$/, "");
5895
- const content_ = JSON.stringify(request);
5896
- let options_ = {
5897
- body: content_,
5898
- method: "PUT",
5899
- headers: {
5900
- "Content-Type": "application/json",
5901
- "Accept": "application/json"
5902
- }
5903
- };
5904
- return this.transformOptions(options_).then(transformedOptions_ => {
5905
- return this.http.fetch(url_, transformedOptions_);
5906
- }).then((_response) => {
5907
- return this.processUpdateParentTopic(_response);
5908
- });
5909
- }
5910
- processUpdateParentTopic(response) {
5911
- const status = response.status;
5912
- let _headers = {};
5913
- if (response.headers && response.headers.forEach) {
5914
- response.headers.forEach((v, k) => _headers[k] = v);
5915
- }
5916
- ;
5917
- if (status === 200) {
5918
- return response.text().then((_responseText) => {
5919
- let result200 = null;
5920
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5921
- result200 = ParentTopicDto.fromJS(resultData200);
5922
- return result200;
5923
- });
5924
- }
5925
- else if (status !== 200 && status !== 204) {
5926
- return response.text().then((_responseText) => {
5927
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5928
- });
5929
- }
5930
- return Promise.resolve(null);
5931
- }
5932
- deleteParentTopic(id) {
5933
- let url_ = this.baseUrl + "/downtimereasonsadmin/downtimereasons/parents/{id}";
5934
- if (id === undefined || id === null)
5935
- throw new Error("The parameter 'id' must be defined.");
5936
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
5937
- url_ = url_.replace(/[?&]$/, "");
5938
- let options_ = {
5939
- method: "DELETE",
5940
- headers: {}
5941
- };
5942
- return this.transformOptions(options_).then(transformedOptions_ => {
5943
- return this.http.fetch(url_, transformedOptions_);
5944
- }).then((_response) => {
5945
- return this.processDeleteParentTopic(_response);
5946
- });
5947
- }
5948
- processDeleteParentTopic(response) {
5949
- const status = response.status;
5950
- let _headers = {};
5951
- if (response.headers && response.headers.forEach) {
5952
- response.headers.forEach((v, k) => _headers[k] = v);
5953
- }
5954
- ;
5955
- if (status === 204) {
5956
- return response.text().then((_responseText) => {
5957
- return;
5958
- });
5959
- }
5960
- else if (status !== 200 && status !== 204) {
5961
- return response.text().then((_responseText) => {
5962
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
5963
- });
5964
- }
5965
- return Promise.resolve(null);
5966
- }
5967
5855
  }
5968
5856
  export class DowntimeReasonsClient extends AuthorizedApiBase {
5969
5857
  constructor(configuration, baseUrl, http) {
@@ -7177,6 +7065,11 @@ export class MachinesClient extends AuthorizedApiBase {
7177
7065
  }
7178
7066
  return Promise.resolve(null);
7179
7067
  }
7068
+ /**
7069
+ * @param startTime (optional)
7070
+ * @param endTime (optional)
7071
+ * @deprecated
7072
+ */
7180
7073
  getWorkOrderTimeline(id, startTime, endTime) {
7181
7074
  let url_ = this.baseUrl + "/machines/{id}/workorder/timeline?";
7182
7075
  if (id === undefined || id === null)
@@ -23697,6 +23590,76 @@ export class StateDto {
23697
23590
  return data;
23698
23591
  }
23699
23592
  }
23593
+ export class TimelinesDto {
23594
+ constructor(data) {
23595
+ if (data) {
23596
+ for (var property in data) {
23597
+ if (data.hasOwnProperty(property))
23598
+ this[property] = data[property];
23599
+ }
23600
+ }
23601
+ if (!data) {
23602
+ this.machineStateTimeline = [];
23603
+ this.workorderTimeline = [];
23604
+ this.downtimeReasonsTimeline = [];
23605
+ this.programTimeline = [];
23606
+ }
23607
+ }
23608
+ init(_data) {
23609
+ if (_data) {
23610
+ if (Array.isArray(_data["machineStateTimeline"])) {
23611
+ this.machineStateTimeline = [];
23612
+ for (let item of _data["machineStateTimeline"])
23613
+ this.machineStateTimeline.push(MachineStateDatapoint.fromJS(item));
23614
+ }
23615
+ if (Array.isArray(_data["workorderTimeline"])) {
23616
+ this.workorderTimeline = [];
23617
+ for (let item of _data["workorderTimeline"])
23618
+ this.workorderTimeline.push(WorkOrderDatapoint.fromJS(item));
23619
+ }
23620
+ if (Array.isArray(_data["downtimeReasonsTimeline"])) {
23621
+ this.downtimeReasonsTimeline = [];
23622
+ for (let item of _data["downtimeReasonsTimeline"])
23623
+ this.downtimeReasonsTimeline.push(DowntimePeriodReasonDto.fromJS(item));
23624
+ }
23625
+ if (Array.isArray(_data["programTimeline"])) {
23626
+ this.programTimeline = [];
23627
+ for (let item of _data["programTimeline"])
23628
+ this.programTimeline.push(ProgramDatapoint.fromJS(item));
23629
+ }
23630
+ }
23631
+ }
23632
+ static fromJS(data) {
23633
+ data = typeof data === 'object' ? data : {};
23634
+ let result = new TimelinesDto();
23635
+ result.init(data);
23636
+ return result;
23637
+ }
23638
+ toJSON(data) {
23639
+ data = typeof data === 'object' ? data : {};
23640
+ if (Array.isArray(this.machineStateTimeline)) {
23641
+ data["machineStateTimeline"] = [];
23642
+ for (let item of this.machineStateTimeline)
23643
+ data["machineStateTimeline"].push(item.toJSON());
23644
+ }
23645
+ if (Array.isArray(this.workorderTimeline)) {
23646
+ data["workorderTimeline"] = [];
23647
+ for (let item of this.workorderTimeline)
23648
+ data["workorderTimeline"].push(item.toJSON());
23649
+ }
23650
+ if (Array.isArray(this.downtimeReasonsTimeline)) {
23651
+ data["downtimeReasonsTimeline"] = [];
23652
+ for (let item of this.downtimeReasonsTimeline)
23653
+ data["downtimeReasonsTimeline"].push(item.toJSON());
23654
+ }
23655
+ if (Array.isArray(this.programTimeline)) {
23656
+ data["programTimeline"] = [];
23657
+ for (let item of this.programTimeline)
23658
+ data["programTimeline"].push(item.toJSON());
23659
+ }
23660
+ return data;
23661
+ }
23662
+ }
23700
23663
  export class MachineStateDatapoint {
23701
23664
  constructor(data) {
23702
23665
  if (data) {
@@ -23820,6 +23783,116 @@ export class EmployeeDto {
23820
23783
  return data;
23821
23784
  }
23822
23785
  }
23786
+ export class WorkOrderDatapoint {
23787
+ constructor(data) {
23788
+ if (data) {
23789
+ for (var property in data) {
23790
+ if (data.hasOwnProperty(property))
23791
+ this[property] = data[property];
23792
+ }
23793
+ }
23794
+ }
23795
+ init(_data) {
23796
+ if (_data) {
23797
+ this.workOrder = _data["workOrder"];
23798
+ this.id = _data["id"];
23799
+ this.externalId = _data["externalId"];
23800
+ this.subType = _data["subType"];
23801
+ this.startTime = _data["startTime"];
23802
+ this.endTime = _data["endTime"];
23803
+ if (_data["metaData"]) {
23804
+ this.metaData = {};
23805
+ for (let key in _data["metaData"]) {
23806
+ if (_data["metaData"].hasOwnProperty(key))
23807
+ this.metaData[key] = _data["metaData"][key];
23808
+ }
23809
+ }
23810
+ }
23811
+ }
23812
+ static fromJS(data) {
23813
+ data = typeof data === 'object' ? data : {};
23814
+ let result = new WorkOrderDatapoint();
23815
+ result.init(data);
23816
+ return result;
23817
+ }
23818
+ toJSON(data) {
23819
+ data = typeof data === 'object' ? data : {};
23820
+ data["workOrder"] = this.workOrder;
23821
+ data["id"] = this.id;
23822
+ data["externalId"] = this.externalId;
23823
+ data["subType"] = this.subType;
23824
+ data["startTime"] = this.startTime;
23825
+ data["endTime"] = this.endTime;
23826
+ if (this.metaData) {
23827
+ data["metaData"] = {};
23828
+ for (let key in this.metaData) {
23829
+ if (this.metaData.hasOwnProperty(key))
23830
+ data["metaData"][key] = this.metaData[key];
23831
+ }
23832
+ }
23833
+ return data;
23834
+ }
23835
+ }
23836
+ export class ProgramDatapoint {
23837
+ constructor(data) {
23838
+ if (data) {
23839
+ for (var property in data) {
23840
+ if (data.hasOwnProperty(property))
23841
+ this[property] = data[property];
23842
+ }
23843
+ }
23844
+ }
23845
+ init(_data) {
23846
+ if (_data) {
23847
+ this.timestamp = _data["timestamp"];
23848
+ this.programValue = _data["programValue"];
23849
+ }
23850
+ }
23851
+ static fromJS(data) {
23852
+ data = typeof data === 'object' ? data : {};
23853
+ let result = new ProgramDatapoint();
23854
+ result.init(data);
23855
+ return result;
23856
+ }
23857
+ toJSON(data) {
23858
+ data = typeof data === 'object' ? data : {};
23859
+ data["timestamp"] = this.timestamp;
23860
+ data["programValue"] = this.programValue;
23861
+ return data;
23862
+ }
23863
+ }
23864
+ export class TimelineFilterDto {
23865
+ constructor(data) {
23866
+ if (data) {
23867
+ for (var property in data) {
23868
+ if (data.hasOwnProperty(property))
23869
+ this[property] = data[property];
23870
+ }
23871
+ }
23872
+ }
23873
+ init(_data) {
23874
+ if (_data) {
23875
+ this.includeMachineState = _data["includeMachineState"];
23876
+ this.includeWorkorder = _data["includeWorkorder"];
23877
+ this.includeDowntimeReasons = _data["includeDowntimeReasons"];
23878
+ this.includeProgram = _data["includeProgram"];
23879
+ }
23880
+ }
23881
+ static fromJS(data) {
23882
+ data = typeof data === 'object' ? data : {};
23883
+ let result = new TimelineFilterDto();
23884
+ result.init(data);
23885
+ return result;
23886
+ }
23887
+ toJSON(data) {
23888
+ data = typeof data === 'object' ? data : {};
23889
+ data["includeMachineState"] = this.includeMachineState;
23890
+ data["includeWorkorder"] = this.includeWorkorder;
23891
+ data["includeDowntimeReasons"] = this.includeDowntimeReasons;
23892
+ data["includeProgram"] = this.includeProgram;
23893
+ return data;
23894
+ }
23895
+ }
23823
23896
  export class MachineUptimesAggregateDto {
23824
23897
  constructor(data) {
23825
23898
  if (data) {
@@ -24058,34 +24131,6 @@ export class NumericNullableValueWithTimestamp {
24058
24131
  return data;
24059
24132
  }
24060
24133
  }
24061
- export class ProgramDatapoint {
24062
- constructor(data) {
24063
- if (data) {
24064
- for (var property in data) {
24065
- if (data.hasOwnProperty(property))
24066
- this[property] = data[property];
24067
- }
24068
- }
24069
- }
24070
- init(_data) {
24071
- if (_data) {
24072
- this.timestamp = _data["timestamp"];
24073
- this.programValue = _data["programValue"];
24074
- }
24075
- }
24076
- static fromJS(data) {
24077
- data = typeof data === 'object' ? data : {};
24078
- let result = new ProgramDatapoint();
24079
- result.init(data);
24080
- return result;
24081
- }
24082
- toJSON(data) {
24083
- data = typeof data === 'object' ? data : {};
24084
- data["timestamp"] = this.timestamp;
24085
- data["programValue"] = this.programValue;
24086
- return data;
24087
- }
24088
- }
24089
24134
  export class UserAppDto {
24090
24135
  constructor(data) {
24091
24136
  if (data) {
@@ -29383,8 +29428,6 @@ export class DowntimeReasonDto {
29383
29428
  }
29384
29429
  this.reasonType = _data["reasonType"];
29385
29430
  this.description = _data["description"];
29386
- this.parentId = _data["parentId"];
29387
- this.displayOrder = _data["displayOrder"];
29388
29431
  }
29389
29432
  }
29390
29433
  static fromJS(data) {
@@ -29404,8 +29447,6 @@ export class DowntimeReasonDto {
29404
29447
  }
29405
29448
  data["reasonType"] = this.reasonType;
29406
29449
  data["description"] = this.description;
29407
- data["parentId"] = this.parentId;
29408
- data["displayOrder"] = this.displayOrder;
29409
29450
  return data;
29410
29451
  }
29411
29452
  }
@@ -29474,8 +29515,6 @@ export class UpdateDowntimeReasonRequest {
29474
29515
  }
29475
29516
  this.reasonType = _data["reasonType"];
29476
29517
  this.description = _data["description"];
29477
- this.parentId = _data["parentId"];
29478
- this.displayOrder = _data["displayOrder"];
29479
29518
  }
29480
29519
  }
29481
29520
  static fromJS(data) {
@@ -29494,8 +29533,6 @@ export class UpdateDowntimeReasonRequest {
29494
29533
  }
29495
29534
  data["reasonType"] = this.reasonType;
29496
29535
  data["description"] = this.description;
29497
- data["parentId"] = this.parentId;
29498
- data["displayOrder"] = this.displayOrder;
29499
29536
  return data;
29500
29537
  }
29501
29538
  }
@@ -29525,104 +29562,6 @@ export class MachineTypeDto {
29525
29562
  return data;
29526
29563
  }
29527
29564
  }
29528
- export class ParentTopicDto {
29529
- constructor(data) {
29530
- if (data) {
29531
- for (var property in data) {
29532
- if (data.hasOwnProperty(property))
29533
- this[property] = data[property];
29534
- }
29535
- }
29536
- }
29537
- init(_data) {
29538
- if (_data) {
29539
- this.id = _data["id"];
29540
- this.name = _data["name"];
29541
- this.reasonType = _data["reasonType"];
29542
- this.description = _data["description"];
29543
- this.displayOrder = _data["displayOrder"];
29544
- }
29545
- }
29546
- static fromJS(data) {
29547
- data = typeof data === 'object' ? data : {};
29548
- let result = new ParentTopicDto();
29549
- result.init(data);
29550
- return result;
29551
- }
29552
- toJSON(data) {
29553
- data = typeof data === 'object' ? data : {};
29554
- data["id"] = this.id;
29555
- data["name"] = this.name;
29556
- data["reasonType"] = this.reasonType;
29557
- data["description"] = this.description;
29558
- data["displayOrder"] = this.displayOrder;
29559
- return data;
29560
- }
29561
- }
29562
- export class CreateParentTopicRequest {
29563
- constructor(data) {
29564
- if (data) {
29565
- for (var property in data) {
29566
- if (data.hasOwnProperty(property))
29567
- this[property] = data[property];
29568
- }
29569
- }
29570
- }
29571
- init(_data) {
29572
- if (_data) {
29573
- this.name = _data["name"];
29574
- this.reasonType = _data["reasonType"];
29575
- this.description = _data["description"];
29576
- this.displayOrder = _data["displayOrder"];
29577
- }
29578
- }
29579
- static fromJS(data) {
29580
- data = typeof data === 'object' ? data : {};
29581
- let result = new CreateParentTopicRequest();
29582
- result.init(data);
29583
- return result;
29584
- }
29585
- toJSON(data) {
29586
- data = typeof data === 'object' ? data : {};
29587
- data["name"] = this.name;
29588
- data["reasonType"] = this.reasonType;
29589
- data["description"] = this.description;
29590
- data["displayOrder"] = this.displayOrder;
29591
- return data;
29592
- }
29593
- }
29594
- export class UpdateParentTopicRequest {
29595
- constructor(data) {
29596
- if (data) {
29597
- for (var property in data) {
29598
- if (data.hasOwnProperty(property))
29599
- this[property] = data[property];
29600
- }
29601
- }
29602
- }
29603
- init(_data) {
29604
- if (_data) {
29605
- this.name = _data["name"];
29606
- this.reasonType = _data["reasonType"];
29607
- this.description = _data["description"];
29608
- this.displayOrder = _data["displayOrder"];
29609
- }
29610
- }
29611
- static fromJS(data) {
29612
- data = typeof data === 'object' ? data : {};
29613
- let result = new UpdateParentTopicRequest();
29614
- result.init(data);
29615
- return result;
29616
- }
29617
- toJSON(data) {
29618
- data = typeof data === 'object' ? data : {};
29619
- data["name"] = this.name;
29620
- data["reasonType"] = this.reasonType;
29621
- data["description"] = this.description;
29622
- data["displayOrder"] = this.displayOrder;
29623
- return data;
29624
- }
29625
- }
29626
29565
  export class CreateDowntimePeriodReason {
29627
29566
  constructor(data) {
29628
29567
  if (data) {
@@ -30965,56 +30904,6 @@ export class WorkOrderProjectDto {
30965
30904
  return data;
30966
30905
  }
30967
30906
  }
30968
- export class WorkOrderDatapoint {
30969
- constructor(data) {
30970
- if (data) {
30971
- for (var property in data) {
30972
- if (data.hasOwnProperty(property))
30973
- this[property] = data[property];
30974
- }
30975
- }
30976
- }
30977
- init(_data) {
30978
- if (_data) {
30979
- this.workOrder = _data["workOrder"];
30980
- this.id = _data["id"];
30981
- this.externalId = _data["externalId"];
30982
- this.subType = _data["subType"];
30983
- this.startTime = _data["startTime"];
30984
- this.endTime = _data["endTime"];
30985
- if (_data["metaData"]) {
30986
- this.metaData = {};
30987
- for (let key in _data["metaData"]) {
30988
- if (_data["metaData"].hasOwnProperty(key))
30989
- this.metaData[key] = _data["metaData"][key];
30990
- }
30991
- }
30992
- }
30993
- }
30994
- static fromJS(data) {
30995
- data = typeof data === 'object' ? data : {};
30996
- let result = new WorkOrderDatapoint();
30997
- result.init(data);
30998
- return result;
30999
- }
31000
- toJSON(data) {
31001
- data = typeof data === 'object' ? data : {};
31002
- data["workOrder"] = this.workOrder;
31003
- data["id"] = this.id;
31004
- data["externalId"] = this.externalId;
31005
- data["subType"] = this.subType;
31006
- data["startTime"] = this.startTime;
31007
- data["endTime"] = this.endTime;
31008
- if (this.metaData) {
31009
- data["metaData"] = {};
31010
- for (let key in this.metaData) {
31011
- if (this.metaData.hasOwnProperty(key))
31012
- data["metaData"][key] = this.metaData[key];
31013
- }
31014
- }
31015
- return data;
31016
- }
31017
- }
31018
30907
  export class UtilizationSummaryDto {
31019
30908
  constructor(data) {
31020
30909
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250827.0.12448-alpha",
3
+ "version": "20250829.0.12463",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",