@ignos/api-client 20240820.0.10068 → 20240820.0.10076

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.
@@ -8709,6 +8709,9 @@ export declare class NonConformanceDto implements INonConformanceDto {
8709
8709
  closed: boolean;
8710
8710
  approved: boolean;
8711
8711
  url?: string | null;
8712
+ rootCause?: NonConformanceAttachmentDto | null;
8713
+ decision?: NonConformanceAttachmentDto | null;
8714
+ correctiveAction?: NonConformanceAttachmentDto | null;
8712
8715
  constructor(data?: INonConformanceDto);
8713
8716
  init(_data?: any): void;
8714
8717
  static fromJS(data: any): NonConformanceDto;
@@ -8730,8 +8733,27 @@ export interface INonConformanceDto {
8730
8733
  closed: boolean;
8731
8734
  approved: boolean;
8732
8735
  url?: string | null;
8736
+ rootCause?: NonConformanceAttachmentDto | null;
8737
+ decision?: NonConformanceAttachmentDto | null;
8738
+ correctiveAction?: NonConformanceAttachmentDto | null;
8733
8739
  }
8734
8740
  export type NonConformanceType = 1;
8741
+ export declare class NonConformanceAttachmentDto implements INonConformanceAttachmentDto {
8742
+ title?: string | null;
8743
+ description?: string | null;
8744
+ created?: Date;
8745
+ modified?: Date | null;
8746
+ constructor(data?: INonConformanceAttachmentDto);
8747
+ init(_data?: any): void;
8748
+ static fromJS(data: any): NonConformanceAttachmentDto;
8749
+ toJSON(data?: any): any;
8750
+ }
8751
+ export interface INonConformanceAttachmentDto {
8752
+ title?: string | null;
8753
+ description?: string | null;
8754
+ created?: Date;
8755
+ modified?: Date | null;
8756
+ }
8735
8757
  export declare class MaterialPickListResultDto implements IMaterialPickListResultDto {
8736
8758
  results: MaterialPickListResultEntryDto[];
8737
8759
  constructor(data?: IMaterialPickListResultDto);
@@ -32073,6 +32073,9 @@ export class NonConformanceDto {
32073
32073
  this.closed = _data["closed"];
32074
32074
  this.approved = _data["approved"];
32075
32075
  this.url = _data["url"];
32076
+ this.rootCause = _data["rootCause"] ? NonConformanceAttachmentDto.fromJS(_data["rootCause"]) : undefined;
32077
+ this.decision = _data["decision"] ? NonConformanceAttachmentDto.fromJS(_data["decision"]) : undefined;
32078
+ this.correctiveAction = _data["correctiveAction"] ? NonConformanceAttachmentDto.fromJS(_data["correctiveAction"]) : undefined;
32076
32079
  }
32077
32080
  }
32078
32081
  static fromJS(data) {
@@ -32098,6 +32101,41 @@ export class NonConformanceDto {
32098
32101
  data["closed"] = this.closed;
32099
32102
  data["approved"] = this.approved;
32100
32103
  data["url"] = this.url;
32104
+ data["rootCause"] = this.rootCause ? this.rootCause.toJSON() : undefined;
32105
+ data["decision"] = this.decision ? this.decision.toJSON() : undefined;
32106
+ data["correctiveAction"] = this.correctiveAction ? this.correctiveAction.toJSON() : undefined;
32107
+ return data;
32108
+ }
32109
+ }
32110
+ export class NonConformanceAttachmentDto {
32111
+ constructor(data) {
32112
+ if (data) {
32113
+ for (var property in data) {
32114
+ if (data.hasOwnProperty(property))
32115
+ this[property] = data[property];
32116
+ }
32117
+ }
32118
+ }
32119
+ init(_data) {
32120
+ if (_data) {
32121
+ this.title = _data["title"];
32122
+ this.description = _data["description"];
32123
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
32124
+ this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : undefined;
32125
+ }
32126
+ }
32127
+ static fromJS(data) {
32128
+ data = typeof data === 'object' ? data : {};
32129
+ let result = new NonConformanceAttachmentDto();
32130
+ result.init(data);
32131
+ return result;
32132
+ }
32133
+ toJSON(data) {
32134
+ data = typeof data === 'object' ? data : {};
32135
+ data["title"] = this.title;
32136
+ data["description"] = this.description;
32137
+ data["created"] = this.created ? this.created.toISOString() : undefined;
32138
+ data["modified"] = this.modified ? this.modified.toISOString() : undefined;
32101
32139
  return data;
32102
32140
  }
32103
32141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240820.0.10068",
3
+ "version": "20240820.0.10076",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -39771,6 +39771,9 @@ export class NonConformanceDto implements INonConformanceDto {
39771
39771
  closed!: boolean;
39772
39772
  approved!: boolean;
39773
39773
  url?: string | null;
39774
+ rootCause?: NonConformanceAttachmentDto | null;
39775
+ decision?: NonConformanceAttachmentDto | null;
39776
+ correctiveAction?: NonConformanceAttachmentDto | null;
39774
39777
 
39775
39778
  constructor(data?: INonConformanceDto) {
39776
39779
  if (data) {
@@ -39798,6 +39801,9 @@ export class NonConformanceDto implements INonConformanceDto {
39798
39801
  this.closed = _data["closed"];
39799
39802
  this.approved = _data["approved"];
39800
39803
  this.url = _data["url"];
39804
+ this.rootCause = _data["rootCause"] ? NonConformanceAttachmentDto.fromJS(_data["rootCause"]) : <any>undefined;
39805
+ this.decision = _data["decision"] ? NonConformanceAttachmentDto.fromJS(_data["decision"]) : <any>undefined;
39806
+ this.correctiveAction = _data["correctiveAction"] ? NonConformanceAttachmentDto.fromJS(_data["correctiveAction"]) : <any>undefined;
39801
39807
  }
39802
39808
  }
39803
39809
 
@@ -39825,6 +39831,9 @@ export class NonConformanceDto implements INonConformanceDto {
39825
39831
  data["closed"] = this.closed;
39826
39832
  data["approved"] = this.approved;
39827
39833
  data["url"] = this.url;
39834
+ data["rootCause"] = this.rootCause ? this.rootCause.toJSON() : <any>undefined;
39835
+ data["decision"] = this.decision ? this.decision.toJSON() : <any>undefined;
39836
+ data["correctiveAction"] = this.correctiveAction ? this.correctiveAction.toJSON() : <any>undefined;
39828
39837
  return data;
39829
39838
  }
39830
39839
  }
@@ -39845,10 +39854,61 @@ export interface INonConformanceDto {
39845
39854
  closed: boolean;
39846
39855
  approved: boolean;
39847
39856
  url?: string | null;
39857
+ rootCause?: NonConformanceAttachmentDto | null;
39858
+ decision?: NonConformanceAttachmentDto | null;
39859
+ correctiveAction?: NonConformanceAttachmentDto | null;
39848
39860
  }
39849
39861
 
39850
39862
  export type NonConformanceType = 1;
39851
39863
 
39864
+ export class NonConformanceAttachmentDto implements INonConformanceAttachmentDto {
39865
+ title?: string | null;
39866
+ description?: string | null;
39867
+ created?: Date;
39868
+ modified?: Date | null;
39869
+
39870
+ constructor(data?: INonConformanceAttachmentDto) {
39871
+ if (data) {
39872
+ for (var property in data) {
39873
+ if (data.hasOwnProperty(property))
39874
+ (<any>this)[property] = (<any>data)[property];
39875
+ }
39876
+ }
39877
+ }
39878
+
39879
+ init(_data?: any) {
39880
+ if (_data) {
39881
+ this.title = _data["title"];
39882
+ this.description = _data["description"];
39883
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
39884
+ this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : <any>undefined;
39885
+ }
39886
+ }
39887
+
39888
+ static fromJS(data: any): NonConformanceAttachmentDto {
39889
+ data = typeof data === 'object' ? data : {};
39890
+ let result = new NonConformanceAttachmentDto();
39891
+ result.init(data);
39892
+ return result;
39893
+ }
39894
+
39895
+ toJSON(data?: any) {
39896
+ data = typeof data === 'object' ? data : {};
39897
+ data["title"] = this.title;
39898
+ data["description"] = this.description;
39899
+ data["created"] = this.created ? this.created.toISOString() : <any>undefined;
39900
+ data["modified"] = this.modified ? this.modified.toISOString() : <any>undefined;
39901
+ return data;
39902
+ }
39903
+ }
39904
+
39905
+ export interface INonConformanceAttachmentDto {
39906
+ title?: string | null;
39907
+ description?: string | null;
39908
+ created?: Date;
39909
+ modified?: Date | null;
39910
+ }
39911
+
39852
39912
  export class MaterialPickListResultDto implements IMaterialPickListResultDto {
39853
39913
  results!: MaterialPickListResultEntryDto[];
39854
39914