@ignos/api-client 20250429.0.11603 → 20250430.0.11610

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.
@@ -8135,6 +8135,8 @@ export interface IFixtureListDto {
8135
8135
  }
8136
8136
  export declare class FixtureDto implements IFixtureDto {
8137
8137
  id: string;
8138
+ deleted?: boolean;
8139
+ approved?: boolean;
8138
8140
  name: string;
8139
8141
  drawing?: string | null;
8140
8142
  drawingRev?: string | null;
@@ -8142,9 +8144,7 @@ export declare class FixtureDto implements IFixtureDto {
8142
8144
  location?: string | null;
8143
8145
  type?: FixtureTypeDto;
8144
8146
  interface?: string | null;
8145
- lastUsedBy?: string | null;
8146
- lastUsedById?: string | null;
8147
- lastUsed?: Date | null;
8147
+ lastUsedOperations: FixtureLastUsedOperationDto[];
8148
8148
  diameter?: number | null;
8149
8149
  outerDiameter?: number | null;
8150
8150
  innerDiameter?: number | null;
@@ -8161,6 +8161,8 @@ export declare class FixtureDto implements IFixtureDto {
8161
8161
  }
8162
8162
  export interface IFixtureDto {
8163
8163
  id: string;
8164
+ deleted?: boolean;
8165
+ approved?: boolean;
8164
8166
  name: string;
8165
8167
  drawing?: string | null;
8166
8168
  drawingRev?: string | null;
@@ -8168,9 +8170,7 @@ export interface IFixtureDto {
8168
8170
  location?: string | null;
8169
8171
  type?: FixtureTypeDto;
8170
8172
  interface?: string | null;
8171
- lastUsedBy?: string | null;
8172
- lastUsedById?: string | null;
8173
- lastUsed?: Date | null;
8173
+ lastUsedOperations: FixtureLastUsedOperationDto[];
8174
8174
  diameter?: number | null;
8175
8175
  outerDiameter?: number | null;
8176
8176
  innerDiameter?: number | null;
@@ -8182,6 +8182,22 @@ export interface IFixtureDto {
8182
8182
  description?: string | null;
8183
8183
  }
8184
8184
  export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
8185
+ export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
8186
+ operation: string;
8187
+ lastUsedBy?: string | null;
8188
+ lastUsedById?: string | null;
8189
+ lastUsed?: Date | null;
8190
+ constructor(data?: IFixtureLastUsedOperationDto);
8191
+ init(_data?: any): void;
8192
+ static fromJS(data: any): FixtureLastUsedOperationDto;
8193
+ toJSON(data?: any): any;
8194
+ }
8195
+ export interface IFixtureLastUsedOperationDto {
8196
+ operation: string;
8197
+ lastUsedBy?: string | null;
8198
+ lastUsedById?: string | null;
8199
+ lastUsed?: Date | null;
8200
+ }
8185
8201
  export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
8186
8202
  export declare class ListFixtures implements IListFixtures {
8187
8203
  pageSize?: number | null;
@@ -32773,10 +32773,15 @@ export class FixtureDto {
32773
32773
  this[property] = data[property];
32774
32774
  }
32775
32775
  }
32776
+ if (!data) {
32777
+ this.lastUsedOperations = [];
32778
+ }
32776
32779
  }
32777
32780
  init(_data) {
32778
32781
  if (_data) {
32779
32782
  this.id = _data["id"];
32783
+ this.deleted = _data["deleted"];
32784
+ this.approved = _data["approved"];
32780
32785
  this.name = _data["name"];
32781
32786
  this.drawing = _data["drawing"];
32782
32787
  this.drawingRev = _data["drawingRev"];
@@ -32784,9 +32789,11 @@ export class FixtureDto {
32784
32789
  this.location = _data["location"];
32785
32790
  this.type = _data["type"];
32786
32791
  this.interface = _data["interface"];
32787
- this.lastUsedBy = _data["lastUsedBy"];
32788
- this.lastUsedById = _data["lastUsedById"];
32789
- this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : undefined;
32792
+ if (Array.isArray(_data["lastUsedOperations"])) {
32793
+ this.lastUsedOperations = [];
32794
+ for (let item of _data["lastUsedOperations"])
32795
+ this.lastUsedOperations.push(FixtureLastUsedOperationDto.fromJS(item));
32796
+ }
32790
32797
  this.diameter = _data["diameter"];
32791
32798
  this.outerDiameter = _data["outerDiameter"];
32792
32799
  this.innerDiameter = _data["innerDiameter"];
@@ -32807,6 +32814,8 @@ export class FixtureDto {
32807
32814
  toJSON(data) {
32808
32815
  data = typeof data === 'object' ? data : {};
32809
32816
  data["id"] = this.id;
32817
+ data["deleted"] = this.deleted;
32818
+ data["approved"] = this.approved;
32810
32819
  data["name"] = this.name;
32811
32820
  data["drawing"] = this.drawing;
32812
32821
  data["drawingRev"] = this.drawingRev;
@@ -32814,9 +32823,11 @@ export class FixtureDto {
32814
32823
  data["location"] = this.location;
32815
32824
  data["type"] = this.type;
32816
32825
  data["interface"] = this.interface;
32817
- data["lastUsedBy"] = this.lastUsedBy;
32818
- data["lastUsedById"] = this.lastUsedById;
32819
- data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : undefined;
32826
+ if (Array.isArray(this.lastUsedOperations)) {
32827
+ data["lastUsedOperations"] = [];
32828
+ for (let item of this.lastUsedOperations)
32829
+ data["lastUsedOperations"].push(item.toJSON());
32830
+ }
32820
32831
  data["diameter"] = this.diameter;
32821
32832
  data["outerDiameter"] = this.outerDiameter;
32822
32833
  data["innerDiameter"] = this.innerDiameter;
@@ -32829,6 +32840,38 @@ export class FixtureDto {
32829
32840
  return data;
32830
32841
  }
32831
32842
  }
32843
+ export class FixtureLastUsedOperationDto {
32844
+ constructor(data) {
32845
+ if (data) {
32846
+ for (var property in data) {
32847
+ if (data.hasOwnProperty(property))
32848
+ this[property] = data[property];
32849
+ }
32850
+ }
32851
+ }
32852
+ init(_data) {
32853
+ if (_data) {
32854
+ this.operation = _data["operation"];
32855
+ this.lastUsedBy = _data["lastUsedBy"];
32856
+ this.lastUsedById = _data["lastUsedById"];
32857
+ this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : undefined;
32858
+ }
32859
+ }
32860
+ static fromJS(data) {
32861
+ data = typeof data === 'object' ? data : {};
32862
+ let result = new FixtureLastUsedOperationDto();
32863
+ result.init(data);
32864
+ return result;
32865
+ }
32866
+ toJSON(data) {
32867
+ data = typeof data === 'object' ? data : {};
32868
+ data["operation"] = this.operation;
32869
+ data["lastUsedBy"] = this.lastUsedBy;
32870
+ data["lastUsedById"] = this.lastUsedById;
32871
+ data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : undefined;
32872
+ return data;
32873
+ }
32874
+ }
32832
32875
  export class ListFixtures {
32833
32876
  constructor(data) {
32834
32877
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250429.0.11603",
3
+ "version": "20250430.0.11610",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -39798,6 +39798,8 @@ export interface IFixtureListDto {
39798
39798
 
39799
39799
  export class FixtureDto implements IFixtureDto {
39800
39800
  id!: string;
39801
+ deleted?: boolean;
39802
+ approved?: boolean;
39801
39803
  name!: string;
39802
39804
  drawing?: string | null;
39803
39805
  drawingRev?: string | null;
@@ -39805,9 +39807,7 @@ export class FixtureDto implements IFixtureDto {
39805
39807
  location?: string | null;
39806
39808
  type?: FixtureTypeDto;
39807
39809
  interface?: string | null;
39808
- lastUsedBy?: string | null;
39809
- lastUsedById?: string | null;
39810
- lastUsed?: Date | null;
39810
+ lastUsedOperations!: FixtureLastUsedOperationDto[];
39811
39811
  diameter?: number | null;
39812
39812
  outerDiameter?: number | null;
39813
39813
  innerDiameter?: number | null;
@@ -39825,11 +39825,16 @@ export class FixtureDto implements IFixtureDto {
39825
39825
  (<any>this)[property] = (<any>data)[property];
39826
39826
  }
39827
39827
  }
39828
+ if (!data) {
39829
+ this.lastUsedOperations = [];
39830
+ }
39828
39831
  }
39829
39832
 
39830
39833
  init(_data?: any) {
39831
39834
  if (_data) {
39832
39835
  this.id = _data["id"];
39836
+ this.deleted = _data["deleted"];
39837
+ this.approved = _data["approved"];
39833
39838
  this.name = _data["name"];
39834
39839
  this.drawing = _data["drawing"];
39835
39840
  this.drawingRev = _data["drawingRev"];
@@ -39837,9 +39842,11 @@ export class FixtureDto implements IFixtureDto {
39837
39842
  this.location = _data["location"];
39838
39843
  this.type = _data["type"];
39839
39844
  this.interface = _data["interface"];
39840
- this.lastUsedBy = _data["lastUsedBy"];
39841
- this.lastUsedById = _data["lastUsedById"];
39842
- this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : <any>undefined;
39845
+ if (Array.isArray(_data["lastUsedOperations"])) {
39846
+ this.lastUsedOperations = [] as any;
39847
+ for (let item of _data["lastUsedOperations"])
39848
+ this.lastUsedOperations!.push(FixtureLastUsedOperationDto.fromJS(item));
39849
+ }
39843
39850
  this.diameter = _data["diameter"];
39844
39851
  this.outerDiameter = _data["outerDiameter"];
39845
39852
  this.innerDiameter = _data["innerDiameter"];
@@ -39862,6 +39869,8 @@ export class FixtureDto implements IFixtureDto {
39862
39869
  toJSON(data?: any) {
39863
39870
  data = typeof data === 'object' ? data : {};
39864
39871
  data["id"] = this.id;
39872
+ data["deleted"] = this.deleted;
39873
+ data["approved"] = this.approved;
39865
39874
  data["name"] = this.name;
39866
39875
  data["drawing"] = this.drawing;
39867
39876
  data["drawingRev"] = this.drawingRev;
@@ -39869,9 +39878,11 @@ export class FixtureDto implements IFixtureDto {
39869
39878
  data["location"] = this.location;
39870
39879
  data["type"] = this.type;
39871
39880
  data["interface"] = this.interface;
39872
- data["lastUsedBy"] = this.lastUsedBy;
39873
- data["lastUsedById"] = this.lastUsedById;
39874
- data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : <any>undefined;
39881
+ if (Array.isArray(this.lastUsedOperations)) {
39882
+ data["lastUsedOperations"] = [];
39883
+ for (let item of this.lastUsedOperations)
39884
+ data["lastUsedOperations"].push(item.toJSON());
39885
+ }
39875
39886
  data["diameter"] = this.diameter;
39876
39887
  data["outerDiameter"] = this.outerDiameter;
39877
39888
  data["innerDiameter"] = this.innerDiameter;
@@ -39887,6 +39898,8 @@ export class FixtureDto implements IFixtureDto {
39887
39898
 
39888
39899
  export interface IFixtureDto {
39889
39900
  id: string;
39901
+ deleted?: boolean;
39902
+ approved?: boolean;
39890
39903
  name: string;
39891
39904
  drawing?: string | null;
39892
39905
  drawingRev?: string | null;
@@ -39894,9 +39907,7 @@ export interface IFixtureDto {
39894
39907
  location?: string | null;
39895
39908
  type?: FixtureTypeDto;
39896
39909
  interface?: string | null;
39897
- lastUsedBy?: string | null;
39898
- lastUsedById?: string | null;
39899
- lastUsed?: Date | null;
39910
+ lastUsedOperations: FixtureLastUsedOperationDto[];
39900
39911
  diameter?: number | null;
39901
39912
  outerDiameter?: number | null;
39902
39913
  innerDiameter?: number | null;
@@ -39910,6 +39921,54 @@ export interface IFixtureDto {
39910
39921
 
39911
39922
  export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
39912
39923
 
39924
+ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
39925
+ operation!: string;
39926
+ lastUsedBy?: string | null;
39927
+ lastUsedById?: string | null;
39928
+ lastUsed?: Date | null;
39929
+
39930
+ constructor(data?: IFixtureLastUsedOperationDto) {
39931
+ if (data) {
39932
+ for (var property in data) {
39933
+ if (data.hasOwnProperty(property))
39934
+ (<any>this)[property] = (<any>data)[property];
39935
+ }
39936
+ }
39937
+ }
39938
+
39939
+ init(_data?: any) {
39940
+ if (_data) {
39941
+ this.operation = _data["operation"];
39942
+ this.lastUsedBy = _data["lastUsedBy"];
39943
+ this.lastUsedById = _data["lastUsedById"];
39944
+ this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : <any>undefined;
39945
+ }
39946
+ }
39947
+
39948
+ static fromJS(data: any): FixtureLastUsedOperationDto {
39949
+ data = typeof data === 'object' ? data : {};
39950
+ let result = new FixtureLastUsedOperationDto();
39951
+ result.init(data);
39952
+ return result;
39953
+ }
39954
+
39955
+ toJSON(data?: any) {
39956
+ data = typeof data === 'object' ? data : {};
39957
+ data["operation"] = this.operation;
39958
+ data["lastUsedBy"] = this.lastUsedBy;
39959
+ data["lastUsedById"] = this.lastUsedById;
39960
+ data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : <any>undefined;
39961
+ return data;
39962
+ }
39963
+ }
39964
+
39965
+ export interface IFixtureLastUsedOperationDto {
39966
+ operation: string;
39967
+ lastUsedBy?: string | null;
39968
+ lastUsedById?: string | null;
39969
+ lastUsed?: Date | null;
39970
+ }
39971
+
39913
39972
  export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
39914
39973
 
39915
39974
  export class ListFixtures implements IListFixtures {