@ignos/api-client 20250901.0.12482 → 20250904.0.12514

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.
@@ -1367,8 +1367,8 @@ export interface ICncSetupFixturesClient {
1367
1367
  createFixture(update: FixtureCreateDto): Promise<FixtureDto>;
1368
1368
  deleteFixture(fixtureIds: string[]): Promise<void>;
1369
1369
  updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
1370
- getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
1371
- getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
1370
+ getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
1371
+ getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
1372
1372
  listFixtureAttachments(fixtureId: string): Promise<FileDto[]>;
1373
1373
  uploadFixtureAttachments(fixtureId: string, attachments: UploadFixtureAttachmentDto[]): Promise<FileDto[]>;
1374
1374
  deleteFixtureAttachments(fixtureId: string, filenames: string[]): Promise<void>;
@@ -1395,9 +1395,9 @@ export declare class CncSetupFixturesClient extends AuthorizedApiBase implements
1395
1395
  protected processDeleteFixture(response: Response): Promise<void>;
1396
1396
  updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
1397
1397
  protected processUpdateFixtures(response: Response): Promise<FixtureDto[]>;
1398
- getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
1398
+ getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
1399
1399
  protected processGetFixtureInterfaceSuggestions(response: Response): Promise<FixtureSuggestionDto[]>;
1400
- getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
1400
+ getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
1401
1401
  protected processGetFixtureLocationSuggestions(response: Response): Promise<FixtureSuggestionDto[]>;
1402
1402
  listFixtureAttachments(fixtureId: string): Promise<FileDto[]>;
1403
1403
  protected processListFixtureAttachments(response: Response): Promise<FileDto[]>;
@@ -8813,6 +8813,7 @@ export interface IFixtureUpdateDto {
8813
8813
  }
8814
8814
  export declare class FixtureSuggestionDto implements IFixtureSuggestionDto {
8815
8815
  suggestion: string;
8816
+ fixtureTypes: FixtureTypeDto[];
8816
8817
  constructor(data?: IFixtureSuggestionDto);
8817
8818
  init(_data?: any): void;
8818
8819
  static fromJS(data: any): FixtureSuggestionDto;
@@ -8820,6 +8821,7 @@ export declare class FixtureSuggestionDto implements IFixtureSuggestionDto {
8820
8821
  }
8821
8822
  export interface IFixtureSuggestionDto {
8822
8823
  suggestion: string;
8824
+ fixtureTypes: FixtureTypeDto[];
8823
8825
  }
8824
8826
  export declare class UploadFixtureAttachmentDto implements IUploadFixtureAttachmentDto {
8825
8827
  uploadKey?: string;
@@ -12208,8 +12210,8 @@ export interface IUpdateSchemaGroupedElementDto {
12208
12210
  coatingThickness?: number | null;
12209
12211
  }
12210
12212
  export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
12211
- id?: string;
12212
- balloonId?: string;
12213
+ id?: string | null;
12214
+ balloonId?: string | null;
12213
12215
  oldReference: number;
12214
12216
  newReference: number;
12215
12217
  section?: string | null;
@@ -12235,8 +12237,8 @@ export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGr
12235
12237
  toJSON(data?: any): any;
12236
12238
  }
12237
12239
  export interface IUpdateSchemaGroupedElementRowDto {
12238
- id?: string;
12239
- balloonId?: string;
12240
+ id?: string | null;
12241
+ balloonId?: string | null;
12240
12242
  oldReference: number;
12241
12243
  newReference: number;
12242
12244
  section?: string | null;
@@ -12272,7 +12274,7 @@ export interface IDeleteSchemaGroupedElementRowsDto {
12272
12274
  export declare class UploadMeasurementImageRequest implements IUploadMeasurementImageRequest {
12273
12275
  uploadKey: string;
12274
12276
  filename: string;
12275
- ballonId?: string;
12277
+ ballonId?: string | null;
12276
12278
  reference: number;
12277
12279
  constructor(data?: IUploadMeasurementImageRequest);
12278
12280
  init(_data?: any): void;
@@ -12282,7 +12284,7 @@ export declare class UploadMeasurementImageRequest implements IUploadMeasurement
12282
12284
  export interface IUploadMeasurementImageRequest {
12283
12285
  uploadKey: string;
12284
12286
  filename: string;
12285
- ballonId?: string;
12287
+ ballonId?: string | null;
12286
12288
  reference: number;
12287
12289
  }
12288
12290
  export declare class UpdateSchemaSettingsRequest implements IUpdateSchemaSettingsRequest {
@@ -13188,7 +13190,7 @@ export declare class CreateMeasurementFormInstanceRequest implements ICreateMeas
13188
13190
  customerId?: string | null;
13189
13191
  customerName?: string | null;
13190
13192
  purchaseOrder?: string | null;
13191
- sequences: CreateMeasurementFormInstanceRequestSequence[];
13193
+ sequences?: CreateMeasurementFormInstanceRequestSequence[];
13192
13194
  serialNumbers: CreateMeasurementFormInstanceRequestSerialNumber[];
13193
13195
  constructor(data?: ICreateMeasurementFormInstanceRequest);
13194
13196
  init(_data?: any): void;
@@ -13200,7 +13202,7 @@ export interface ICreateMeasurementFormInstanceRequest {
13200
13202
  customerId?: string | null;
13201
13203
  customerName?: string | null;
13202
13204
  purchaseOrder?: string | null;
13203
- sequences: CreateMeasurementFormInstanceRequestSequence[];
13205
+ sequences?: CreateMeasurementFormInstanceRequestSequence[];
13204
13206
  serialNumbers: CreateMeasurementFormInstanceRequestSerialNumber[];
13205
13207
  }
13206
13208
  export declare class CreateMeasurementFormInstanceRequestSequence implements ICreateMeasurementFormInstanceRequestSequence {
@@ -11822,9 +11822,7 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11822
11822
  throw new Error("The parameter 'input' cannot be null.");
11823
11823
  else if (input !== undefined)
11824
11824
  url_ += "input=" + encodeURIComponent("" + input) + "&";
11825
- if (fixtureType === null)
11826
- throw new Error("The parameter 'fixtureType' cannot be null.");
11827
- else if (fixtureType !== undefined)
11825
+ if (fixtureType !== undefined && fixtureType !== null)
11828
11826
  url_ += "fixtureType=" + encodeURIComponent("" + fixtureType) + "&";
11829
11827
  url_ = url_.replace(/[?&]$/, "");
11830
11828
  let options_ = {
@@ -11871,9 +11869,7 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11871
11869
  throw new Error("The parameter 'input' cannot be null.");
11872
11870
  else if (input !== undefined)
11873
11871
  url_ += "input=" + encodeURIComponent("" + input) + "&";
11874
- if (fixtureType === null)
11875
- throw new Error("The parameter 'fixtureType' cannot be null.");
11876
- else if (fixtureType !== undefined)
11872
+ if (fixtureType !== undefined && fixtureType !== null)
11877
11873
  url_ += "fixtureType=" + encodeURIComponent("" + fixtureType) + "&";
11878
11874
  url_ = url_.replace(/[?&]$/, "");
11879
11875
  let options_ = {
@@ -35440,10 +35436,18 @@ export class FixtureSuggestionDto {
35440
35436
  this[property] = data[property];
35441
35437
  }
35442
35438
  }
35439
+ if (!data) {
35440
+ this.fixtureTypes = [];
35441
+ }
35443
35442
  }
35444
35443
  init(_data) {
35445
35444
  if (_data) {
35446
35445
  this.suggestion = _data["suggestion"];
35446
+ if (Array.isArray(_data["fixtureTypes"])) {
35447
+ this.fixtureTypes = [];
35448
+ for (let item of _data["fixtureTypes"])
35449
+ this.fixtureTypes.push(item);
35450
+ }
35447
35451
  }
35448
35452
  }
35449
35453
  static fromJS(data) {
@@ -35455,6 +35459,11 @@ export class FixtureSuggestionDto {
35455
35459
  toJSON(data) {
35456
35460
  data = typeof data === 'object' ? data : {};
35457
35461
  data["suggestion"] = this.suggestion;
35462
+ if (Array.isArray(this.fixtureTypes)) {
35463
+ data["fixtureTypes"] = [];
35464
+ for (let item of this.fixtureTypes)
35465
+ data["fixtureTypes"].push(item);
35466
+ }
35458
35467
  return data;
35459
35468
  }
35460
35469
  }
@@ -44529,7 +44538,6 @@ export class CreateMeasurementFormInstanceRequest {
44529
44538
  }
44530
44539
  }
44531
44540
  if (!data) {
44532
- this.sequences = [];
44533
44541
  this.serialNumbers = [];
44534
44542
  }
44535
44543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250901.0.12482",
3
+ "version": "20250904.0.12514",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -12378,9 +12378,9 @@ export interface ICncSetupFixturesClient {
12378
12378
 
12379
12379
  updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
12380
12380
 
12381
- getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
12381
+ getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
12382
12382
 
12383
- getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
12383
+ getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]>;
12384
12384
 
12385
12385
  listFixtureAttachments(fixtureId: string): Promise<FileDto[]>;
12386
12386
 
@@ -12609,15 +12609,13 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12609
12609
  return Promise.resolve<FixtureDto[]>(null as any);
12610
12610
  }
12611
12611
 
12612
- getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]> {
12612
+ getFixtureInterfaceSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]> {
12613
12613
  let url_ = this.baseUrl + "/fixtures/suggestion/interface?";
12614
12614
  if (input === null)
12615
12615
  throw new Error("The parameter 'input' cannot be null.");
12616
12616
  else if (input !== undefined)
12617
12617
  url_ += "input=" + encodeURIComponent("" + input) + "&";
12618
- if (fixtureType === null)
12619
- throw new Error("The parameter 'fixtureType' cannot be null.");
12620
- else if (fixtureType !== undefined)
12618
+ if (fixtureType !== undefined && fixtureType !== null)
12621
12619
  url_ += "fixtureType=" + encodeURIComponent("" + fixtureType) + "&";
12622
12620
  url_ = url_.replace(/[?&]$/, "");
12623
12621
 
@@ -12657,15 +12655,13 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12657
12655
  return Promise.resolve<FixtureSuggestionDto[]>(null as any);
12658
12656
  }
12659
12657
 
12660
- getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]> {
12658
+ getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | null | undefined): Promise<FixtureSuggestionDto[]> {
12661
12659
  let url_ = this.baseUrl + "/fixtures/suggestion/location?";
12662
12660
  if (input === null)
12663
12661
  throw new Error("The parameter 'input' cannot be null.");
12664
12662
  else if (input !== undefined)
12665
12663
  url_ += "input=" + encodeURIComponent("" + input) + "&";
12666
- if (fixtureType === null)
12667
- throw new Error("The parameter 'fixtureType' cannot be null.");
12668
- else if (fixtureType !== undefined)
12664
+ if (fixtureType !== undefined && fixtureType !== null)
12669
12665
  url_ += "fixtureType=" + encodeURIComponent("" + fixtureType) + "&";
12670
12666
  url_ = url_.replace(/[?&]$/, "");
12671
12667
 
@@ -43045,6 +43041,7 @@ export interface IFixtureUpdateDto {
43045
43041
 
43046
43042
  export class FixtureSuggestionDto implements IFixtureSuggestionDto {
43047
43043
  suggestion!: string;
43044
+ fixtureTypes!: FixtureTypeDto[];
43048
43045
 
43049
43046
  constructor(data?: IFixtureSuggestionDto) {
43050
43047
  if (data) {
@@ -43053,11 +43050,19 @@ export class FixtureSuggestionDto implements IFixtureSuggestionDto {
43053
43050
  (<any>this)[property] = (<any>data)[property];
43054
43051
  }
43055
43052
  }
43053
+ if (!data) {
43054
+ this.fixtureTypes = [];
43055
+ }
43056
43056
  }
43057
43057
 
43058
43058
  init(_data?: any) {
43059
43059
  if (_data) {
43060
43060
  this.suggestion = _data["suggestion"];
43061
+ if (Array.isArray(_data["fixtureTypes"])) {
43062
+ this.fixtureTypes = [] as any;
43063
+ for (let item of _data["fixtureTypes"])
43064
+ this.fixtureTypes!.push(item);
43065
+ }
43061
43066
  }
43062
43067
  }
43063
43068
 
@@ -43071,12 +43076,18 @@ export class FixtureSuggestionDto implements IFixtureSuggestionDto {
43071
43076
  toJSON(data?: any) {
43072
43077
  data = typeof data === 'object' ? data : {};
43073
43078
  data["suggestion"] = this.suggestion;
43079
+ if (Array.isArray(this.fixtureTypes)) {
43080
+ data["fixtureTypes"] = [];
43081
+ for (let item of this.fixtureTypes)
43082
+ data["fixtureTypes"].push(item);
43083
+ }
43074
43084
  return data;
43075
43085
  }
43076
43086
  }
43077
43087
 
43078
43088
  export interface IFixtureSuggestionDto {
43079
43089
  suggestion: string;
43090
+ fixtureTypes: FixtureTypeDto[];
43080
43091
  }
43081
43092
 
43082
43093
  export class UploadFixtureAttachmentDto implements IUploadFixtureAttachmentDto {
@@ -53551,8 +53562,8 @@ export interface IUpdateSchemaGroupedElementDto {
53551
53562
  }
53552
53563
 
53553
53564
  export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
53554
- id?: string;
53555
- balloonId?: string;
53565
+ id?: string | null;
53566
+ balloonId?: string | null;
53556
53567
  oldReference!: number;
53557
53568
  newReference!: number;
53558
53569
  section?: string | null;
@@ -53643,8 +53654,8 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
53643
53654
  }
53644
53655
 
53645
53656
  export interface IUpdateSchemaGroupedElementRowDto {
53646
- id?: string;
53647
- balloonId?: string;
53657
+ id?: string | null;
53658
+ balloonId?: string | null;
53648
53659
  oldReference: number;
53649
53660
  newReference: number;
53650
53661
  section?: string | null;
@@ -53725,7 +53736,7 @@ export interface IDeleteSchemaGroupedElementRowsDto {
53725
53736
  export class UploadMeasurementImageRequest implements IUploadMeasurementImageRequest {
53726
53737
  uploadKey!: string;
53727
53738
  filename!: string;
53728
- ballonId?: string;
53739
+ ballonId?: string | null;
53729
53740
  reference!: number;
53730
53741
 
53731
53742
  constructor(data?: IUploadMeasurementImageRequest) {
@@ -53766,7 +53777,7 @@ export class UploadMeasurementImageRequest implements IUploadMeasurementImageReq
53766
53777
  export interface IUploadMeasurementImageRequest {
53767
53778
  uploadKey: string;
53768
53779
  filename: string;
53769
- ballonId?: string;
53780
+ ballonId?: string | null;
53770
53781
  reference: number;
53771
53782
  }
53772
53783
 
@@ -56520,7 +56531,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
56520
56531
  customerId?: string | null;
56521
56532
  customerName?: string | null;
56522
56533
  purchaseOrder?: string | null;
56523
- sequences!: CreateMeasurementFormInstanceRequestSequence[];
56534
+ sequences?: CreateMeasurementFormInstanceRequestSequence[];
56524
56535
  serialNumbers!: CreateMeasurementFormInstanceRequestSerialNumber[];
56525
56536
 
56526
56537
  constructor(data?: ICreateMeasurementFormInstanceRequest) {
@@ -56531,7 +56542,6 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
56531
56542
  }
56532
56543
  }
56533
56544
  if (!data) {
56534
- this.sequences = [];
56535
56545
  this.serialNumbers = [];
56536
56546
  }
56537
56547
  }
@@ -56587,7 +56597,7 @@ export interface ICreateMeasurementFormInstanceRequest {
56587
56597
  customerId?: string | null;
56588
56598
  customerName?: string | null;
56589
56599
  purchaseOrder?: string | null;
56590
- sequences: CreateMeasurementFormInstanceRequestSequence[];
56600
+ sequences?: CreateMeasurementFormInstanceRequestSequence[];
56591
56601
  serialNumbers: CreateMeasurementFormInstanceRequestSerialNumber[];
56592
56602
  }
56593
56603