@ignos/api-client 20250429.0.11603 → 20250430.0.11612

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,10 +8182,28 @@ 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;
8188
8204
  fixtureTypeFilter?: FixtureTypeDto[] | null;
8205
+ deletedFilter?: FixtureDeletedDto | null;
8206
+ approvedFilter?: FixtureApprovedDto | null;
8189
8207
  continuationToken?: string | null;
8190
8208
  constructor(data?: IListFixtures);
8191
8209
  init(_data?: any): void;
@@ -8195,10 +8213,16 @@ export declare class ListFixtures implements IListFixtures {
8195
8213
  export interface IListFixtures {
8196
8214
  pageSize?: number | null;
8197
8215
  fixtureTypeFilter?: FixtureTypeDto[] | null;
8216
+ deletedFilter?: FixtureDeletedDto | null;
8217
+ approvedFilter?: FixtureApprovedDto | null;
8198
8218
  continuationToken?: string | null;
8199
8219
  }
8220
+ export type FixtureDeletedDto = "NotDeleted" | "Deleted";
8221
+ export type FixtureApprovedDto = "NotApproved" | "Approved";
8200
8222
  export declare class FixtureUpdateDto implements IFixtureUpdateDto {
8201
8223
  name: string;
8224
+ deleted?: boolean;
8225
+ approved?: boolean;
8202
8226
  drawing?: string | null;
8203
8227
  drawingRev?: string | null;
8204
8228
  sourceMachine?: string | null;
@@ -8221,6 +8245,8 @@ export declare class FixtureUpdateDto implements IFixtureUpdateDto {
8221
8245
  }
8222
8246
  export interface IFixtureUpdateDto {
8223
8247
  name: string;
8248
+ deleted?: boolean;
8249
+ approved?: boolean;
8224
8250
  drawing?: string | null;
8225
8251
  drawingRev?: string | null;
8226
8252
  sourceMachine?: string | 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) {
@@ -32846,6 +32889,8 @@ export class ListFixtures {
32846
32889
  for (let item of _data["fixtureTypeFilter"])
32847
32890
  this.fixtureTypeFilter.push(item);
32848
32891
  }
32892
+ this.deletedFilter = _data["deletedFilter"];
32893
+ this.approvedFilter = _data["approvedFilter"];
32849
32894
  this.continuationToken = _data["continuationToken"];
32850
32895
  }
32851
32896
  }
@@ -32863,6 +32908,8 @@ export class ListFixtures {
32863
32908
  for (let item of this.fixtureTypeFilter)
32864
32909
  data["fixtureTypeFilter"].push(item);
32865
32910
  }
32911
+ data["deletedFilter"] = this.deletedFilter;
32912
+ data["approvedFilter"] = this.approvedFilter;
32866
32913
  data["continuationToken"] = this.continuationToken;
32867
32914
  return data;
32868
32915
  }
@@ -32879,6 +32926,8 @@ export class FixtureUpdateDto {
32879
32926
  init(_data) {
32880
32927
  if (_data) {
32881
32928
  this.name = _data["name"];
32929
+ this.deleted = _data["deleted"];
32930
+ this.approved = _data["approved"];
32882
32931
  this.drawing = _data["drawing"];
32883
32932
  this.drawingRev = _data["drawingRev"];
32884
32933
  this.sourceMachine = _data["sourceMachine"];
@@ -32905,6 +32954,8 @@ export class FixtureUpdateDto {
32905
32954
  toJSON(data) {
32906
32955
  data = typeof data === 'object' ? data : {};
32907
32956
  data["name"] = this.name;
32957
+ data["deleted"] = this.deleted;
32958
+ data["approved"] = this.approved;
32908
32959
  data["drawing"] = this.drawing;
32909
32960
  data["drawingRev"] = this.drawingRev;
32910
32961
  data["sourceMachine"] = this.sourceMachine;
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.11612",
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,11 +39921,61 @@ 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 {
39916
39975
  pageSize?: number | null;
39917
39976
  fixtureTypeFilter?: FixtureTypeDto[] | null;
39977
+ deletedFilter?: FixtureDeletedDto | null;
39978
+ approvedFilter?: FixtureApprovedDto | null;
39918
39979
  continuationToken?: string | null;
39919
39980
 
39920
39981
  constructor(data?: IListFixtures) {
@@ -39934,6 +39995,8 @@ export class ListFixtures implements IListFixtures {
39934
39995
  for (let item of _data["fixtureTypeFilter"])
39935
39996
  this.fixtureTypeFilter!.push(item);
39936
39997
  }
39998
+ this.deletedFilter = _data["deletedFilter"];
39999
+ this.approvedFilter = _data["approvedFilter"];
39937
40000
  this.continuationToken = _data["continuationToken"];
39938
40001
  }
39939
40002
  }
@@ -39953,6 +40016,8 @@ export class ListFixtures implements IListFixtures {
39953
40016
  for (let item of this.fixtureTypeFilter)
39954
40017
  data["fixtureTypeFilter"].push(item);
39955
40018
  }
40019
+ data["deletedFilter"] = this.deletedFilter;
40020
+ data["approvedFilter"] = this.approvedFilter;
39956
40021
  data["continuationToken"] = this.continuationToken;
39957
40022
  return data;
39958
40023
  }
@@ -39961,11 +40026,19 @@ export class ListFixtures implements IListFixtures {
39961
40026
  export interface IListFixtures {
39962
40027
  pageSize?: number | null;
39963
40028
  fixtureTypeFilter?: FixtureTypeDto[] | null;
40029
+ deletedFilter?: FixtureDeletedDto | null;
40030
+ approvedFilter?: FixtureApprovedDto | null;
39964
40031
  continuationToken?: string | null;
39965
40032
  }
39966
40033
 
40034
+ export type FixtureDeletedDto = "NotDeleted" | "Deleted";
40035
+
40036
+ export type FixtureApprovedDto = "NotApproved" | "Approved";
40037
+
39967
40038
  export class FixtureUpdateDto implements IFixtureUpdateDto {
39968
40039
  name!: string;
40040
+ deleted?: boolean;
40041
+ approved?: boolean;
39969
40042
  drawing?: string | null;
39970
40043
  drawingRev?: string | null;
39971
40044
  sourceMachine?: string | null;
@@ -39994,6 +40067,8 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
39994
40067
  init(_data?: any) {
39995
40068
  if (_data) {
39996
40069
  this.name = _data["name"];
40070
+ this.deleted = _data["deleted"];
40071
+ this.approved = _data["approved"];
39997
40072
  this.drawing = _data["drawing"];
39998
40073
  this.drawingRev = _data["drawingRev"];
39999
40074
  this.sourceMachine = _data["sourceMachine"];
@@ -40022,6 +40097,8 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
40022
40097
  toJSON(data?: any) {
40023
40098
  data = typeof data === 'object' ? data : {};
40024
40099
  data["name"] = this.name;
40100
+ data["deleted"] = this.deleted;
40101
+ data["approved"] = this.approved;
40025
40102
  data["drawing"] = this.drawing;
40026
40103
  data["drawingRev"] = this.drawingRev;
40027
40104
  data["sourceMachine"] = this.sourceMachine;
@@ -40043,6 +40120,8 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
40043
40120
 
40044
40121
  export interface IFixtureUpdateDto {
40045
40122
  name: string;
40123
+ deleted?: boolean;
40124
+ approved?: boolean;
40046
40125
  drawing?: string | null;
40047
40126
  drawingRev?: string | null;
40048
40127
  sourceMachine?: string | null;