@ignos/api-client 20250506.0.11660 → 20250509.0.11689

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.
@@ -1324,9 +1324,10 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
1324
1324
  export interface ICncSetupFixturesClient {
1325
1325
  listFixtures(request: ListFixtures): Promise<FixtureListDto>;
1326
1326
  getFixture(fixtureId: string): Promise<FixtureDto>;
1327
- updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto>;
1328
- createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
1329
- operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
1327
+ createFixture(update: FixtureCreateDto): Promise<FixtureDto>;
1328
+ updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
1329
+ operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
1330
+ operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
1330
1331
  }
1331
1332
  export declare class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
1332
1333
  private http;
@@ -1339,12 +1340,14 @@ export declare class CncSetupFixturesClient extends AuthorizedApiBase implements
1339
1340
  protected processListFixtures(response: Response): Promise<FixtureListDto>;
1340
1341
  getFixture(fixtureId: string): Promise<FixtureDto>;
1341
1342
  protected processGetFixture(response: Response): Promise<FixtureDto>;
1342
- updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto>;
1343
- protected processUpdateFixture(response: Response): Promise<FixtureDto>;
1344
- createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
1343
+ createFixture(update: FixtureCreateDto): Promise<FixtureDto>;
1345
1344
  protected processCreateFixture(response: Response): Promise<FixtureDto>;
1346
- operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
1345
+ updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
1346
+ protected processUpdateFixtures(response: Response): Promise<FixtureDto[]>;
1347
+ operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
1347
1348
  protected processOperationAddFixture(response: Response): Promise<CncMachineOperationDto>;
1349
+ operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
1350
+ protected processOperationRemoveFixture(response: Response): Promise<CncMachineOperationDto>;
1348
1351
  }
1349
1352
  export interface IOperatorCalculatorsClient {
1350
1353
  /**
@@ -7392,7 +7395,7 @@ export declare class CncMachineOperationDto implements ICncMachineOperationDto {
7392
7395
  tailstock?: string | null;
7393
7396
  tailstockPressure?: string | null;
7394
7397
  fixture?: string | null;
7395
- fixtures: FixtureLiteDto[];
7398
+ fixtures: string[];
7396
7399
  status: CncOperationStatus;
7397
7400
  deleted: boolean;
7398
7401
  auditInfo: CncSetupAuditDto;
@@ -7414,27 +7417,11 @@ export interface ICncMachineOperationDto {
7414
7417
  tailstock?: string | null;
7415
7418
  tailstockPressure?: string | null;
7416
7419
  fixture?: string | null;
7417
- fixtures: FixtureLiteDto[];
7420
+ fixtures: string[];
7418
7421
  status: CncOperationStatus;
7419
7422
  deleted: boolean;
7420
7423
  auditInfo: CncSetupAuditDto;
7421
7424
  }
7422
- export declare class FixtureLiteDto implements IFixtureLiteDto {
7423
- id: string;
7424
- name: string;
7425
- instance: number;
7426
- fixtureGroupId: string;
7427
- constructor(data?: IFixtureLiteDto);
7428
- init(_data?: any): void;
7429
- static fromJS(data: any): FixtureLiteDto;
7430
- toJSON(data?: any): any;
7431
- }
7432
- export interface IFixtureLiteDto {
7433
- id: string;
7434
- name: string;
7435
- instance: number;
7436
- fixtureGroupId: string;
7437
- }
7438
7425
  export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
7439
7426
  export declare class CncSetupAuditDto implements ICncSetupAuditDto {
7440
7427
  created: Date;
@@ -8155,12 +8142,12 @@ export interface IFixtureListDto {
8155
8142
  continuationToken?: string | null;
8156
8143
  }
8157
8144
  export declare class FixtureDto implements IFixtureDto {
8158
- id: string;
8159
- deleted?: boolean;
8160
- approved?: boolean;
8145
+ fixtureId: string;
8161
8146
  name: string;
8162
8147
  instance: number;
8163
8148
  fixtureGroupId: string;
8149
+ deleted?: boolean;
8150
+ approved?: boolean;
8164
8151
  drawing?: string | null;
8165
8152
  drawingRev?: string | null;
8166
8153
  sourceMachine?: string | null;
@@ -8183,12 +8170,12 @@ export declare class FixtureDto implements IFixtureDto {
8183
8170
  toJSON(data?: any): any;
8184
8171
  }
8185
8172
  export interface IFixtureDto {
8186
- id: string;
8187
- deleted?: boolean;
8188
- approved?: boolean;
8173
+ fixtureId: string;
8189
8174
  name: string;
8190
8175
  instance: number;
8191
8176
  fixtureGroupId: string;
8177
+ deleted?: boolean;
8178
+ approved?: boolean;
8192
8179
  drawing?: string | null;
8193
8180
  drawingRev?: string | null;
8194
8181
  sourceMachine?: string | null;
@@ -8209,6 +8196,7 @@ export interface IFixtureDto {
8209
8196
  export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
8210
8197
  export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
8211
8198
  operationId: string;
8199
+ cncPartId: string;
8212
8200
  lastUsedBy?: string | null;
8213
8201
  lastUsedById?: string | null;
8214
8202
  lastUsed?: Date | null;
@@ -8219,6 +8207,7 @@ export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOper
8219
8207
  }
8220
8208
  export interface IFixtureLastUsedOperationDto {
8221
8209
  operationId: string;
8210
+ cncPartId: string;
8222
8211
  lastUsedBy?: string | null;
8223
8212
  lastUsedById?: string | null;
8224
8213
  lastUsed?: Date | null;
@@ -8226,6 +8215,8 @@ export interface IFixtureLastUsedOperationDto {
8226
8215
  export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
8227
8216
  export declare class ListFixtures implements IListFixtures {
8228
8217
  pageSize?: number | null;
8218
+ fixtureIdFilter?: string[] | null;
8219
+ fixtureGroupIdFilter?: string[] | null;
8229
8220
  fixtureTypeFilter?: FixtureTypeDto[] | null;
8230
8221
  deletedFilter?: FixtureDeletedDto | null;
8231
8222
  approvedFilter?: FixtureApprovedDto | null;
@@ -8237,6 +8228,8 @@ export declare class ListFixtures implements IListFixtures {
8237
8228
  }
8238
8229
  export interface IListFixtures {
8239
8230
  pageSize?: number | null;
8231
+ fixtureIdFilter?: string[] | null;
8232
+ fixtureGroupIdFilter?: string[] | null;
8240
8233
  fixtureTypeFilter?: FixtureTypeDto[] | null;
8241
8234
  deletedFilter?: FixtureDeletedDto | null;
8242
8235
  approvedFilter?: FixtureApprovedDto | null;
@@ -8244,7 +8237,54 @@ export interface IListFixtures {
8244
8237
  }
8245
8238
  export type FixtureDeletedDto = "NotDeleted" | "Deleted";
8246
8239
  export type FixtureApprovedDto = "NotApproved" | "Approved";
8240
+ export declare class FixtureCreateDto implements IFixtureCreateDto {
8241
+ name: string;
8242
+ fixtureGroupId?: string | null;
8243
+ deleted?: boolean;
8244
+ approved?: boolean;
8245
+ drawing?: string | null;
8246
+ drawingRev?: string | null;
8247
+ sourceMachine?: string | null;
8248
+ location?: string | null;
8249
+ type?: FixtureTypeDto;
8250
+ interface?: string | null;
8251
+ diameter?: number | null;
8252
+ outerDiameter?: number | null;
8253
+ innerDiameter?: number | null;
8254
+ depth?: number | null;
8255
+ totalHeight?: number | null;
8256
+ width?: number | null;
8257
+ totalLength?: number | null;
8258
+ gripSide?: GripSideDto;
8259
+ description?: string | null;
8260
+ constructor(data?: IFixtureCreateDto);
8261
+ init(_data?: any): void;
8262
+ static fromJS(data: any): FixtureCreateDto;
8263
+ toJSON(data?: any): any;
8264
+ }
8265
+ export interface IFixtureCreateDto {
8266
+ name: string;
8267
+ fixtureGroupId?: string | null;
8268
+ deleted?: boolean;
8269
+ approved?: boolean;
8270
+ drawing?: string | null;
8271
+ drawingRev?: string | null;
8272
+ sourceMachine?: string | null;
8273
+ location?: string | null;
8274
+ type?: FixtureTypeDto;
8275
+ interface?: string | null;
8276
+ diameter?: number | null;
8277
+ outerDiameter?: number | null;
8278
+ innerDiameter?: number | null;
8279
+ depth?: number | null;
8280
+ totalHeight?: number | null;
8281
+ width?: number | null;
8282
+ totalLength?: number | null;
8283
+ gripSide?: GripSideDto;
8284
+ description?: string | null;
8285
+ }
8247
8286
  export declare class FixtureUpdateDto implements IFixtureUpdateDto {
8287
+ fixtureId: string;
8248
8288
  name: string;
8249
8289
  fixtureGroupId?: string | null;
8250
8290
  deleted?: boolean;
@@ -8270,6 +8310,7 @@ export declare class FixtureUpdateDto implements IFixtureUpdateDto {
8270
8310
  toJSON(data?: any): any;
8271
8311
  }
8272
8312
  export interface IFixtureUpdateDto {
8313
+ fixtureId: string;
8273
8314
  name: string;
8274
8315
  fixtureGroupId?: string | null;
8275
8316
  deleted?: boolean;
@@ -11529,6 +11570,7 @@ export interface ICreateMeasurementFormSchemaLinkRequest {
11529
11570
  }
11530
11571
  export declare class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
11531
11572
  convertInchToMm: boolean;
11573
+ convertMicroInchToMicroMeter: boolean;
11532
11574
  validateMeasuringTools: boolean;
11533
11575
  validateMeasuringToolsForSuppliers: boolean;
11534
11576
  generateSchemaRequirements: boolean;
@@ -11548,6 +11590,7 @@ export declare class MeasurementFormSettingsDto implements IMeasurementFormSetti
11548
11590
  }
11549
11591
  export interface IMeasurementFormSettingsDto {
11550
11592
  convertInchToMm: boolean;
11593
+ convertMicroInchToMicroMeter: boolean;
11551
11594
  validateMeasuringTools: boolean;
11552
11595
  validateMeasuringToolsForSuppliers: boolean;
11553
11596
  generateSchemaRequirements: boolean;
@@ -11563,6 +11606,7 @@ export interface IMeasurementFormSettingsDto {
11563
11606
  }
11564
11607
  export declare class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSettings {
11565
11608
  convertInchToMm: boolean;
11609
+ convertMicroInchToMicroMeter: boolean;
11566
11610
  validateMeasuringTools: boolean;
11567
11611
  validateMeasuringToolsForSuppliers: boolean;
11568
11612
  generateSchemaRequirements: boolean;
@@ -11582,6 +11626,7 @@ export declare class UpdateMeasurementFormSettings implements IUpdateMeasurement
11582
11626
  }
11583
11627
  export interface IUpdateMeasurementFormSettings {
11584
11628
  convertInchToMm: boolean;
11629
+ convertMicroInchToMicroMeter: boolean;
11585
11630
  validateMeasuringTools: boolean;
11586
11631
  validateMeasuringToolsForSuppliers: boolean;
11587
11632
  generateSchemaRequirements: boolean;
@@ -11281,16 +11281,13 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11281
11281
  }
11282
11282
  return Promise.resolve(null);
11283
11283
  }
11284
- updateFixture(fixtureId, update) {
11285
- let url_ = this.baseUrl + "/fixtures/{fixtureId}";
11286
- if (fixtureId === undefined || fixtureId === null)
11287
- throw new Error("The parameter 'fixtureId' must be defined.");
11288
- url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
11284
+ createFixture(update) {
11285
+ let url_ = this.baseUrl + "/fixtures";
11289
11286
  url_ = url_.replace(/[?&]$/, "");
11290
11287
  const content_ = JSON.stringify(update);
11291
11288
  let options_ = {
11292
11289
  body: content_,
11293
- method: "PUT",
11290
+ method: "POST",
11294
11291
  headers: {
11295
11292
  "Content-Type": "application/json",
11296
11293
  "Accept": "application/json"
@@ -11299,10 +11296,10 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11299
11296
  return this.transformOptions(options_).then(transformedOptions_ => {
11300
11297
  return this.http.fetch(url_, transformedOptions_);
11301
11298
  }).then((_response) => {
11302
- return this.processUpdateFixture(_response);
11299
+ return this.processCreateFixture(_response);
11303
11300
  });
11304
11301
  }
11305
- processUpdateFixture(response) {
11302
+ processCreateFixture(response) {
11306
11303
  const status = response.status;
11307
11304
  let _headers = {};
11308
11305
  if (response.headers && response.headers.forEach) {
@@ -11324,13 +11321,13 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11324
11321
  }
11325
11322
  return Promise.resolve(null);
11326
11323
  }
11327
- createFixture(update) {
11324
+ updateFixtures(update) {
11328
11325
  let url_ = this.baseUrl + "/fixtures";
11329
11326
  url_ = url_.replace(/[?&]$/, "");
11330
11327
  const content_ = JSON.stringify(update);
11331
11328
  let options_ = {
11332
11329
  body: content_,
11333
- method: "POST",
11330
+ method: "PUT",
11334
11331
  headers: {
11335
11332
  "Content-Type": "application/json",
11336
11333
  "Accept": "application/json"
@@ -11339,10 +11336,10 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11339
11336
  return this.transformOptions(options_).then(transformedOptions_ => {
11340
11337
  return this.http.fetch(url_, transformedOptions_);
11341
11338
  }).then((_response) => {
11342
- return this.processCreateFixture(_response);
11339
+ return this.processUpdateFixtures(_response);
11343
11340
  });
11344
11341
  }
11345
- processCreateFixture(response) {
11342
+ processUpdateFixtures(response) {
11346
11343
  const status = response.status;
11347
11344
  let _headers = {};
11348
11345
  if (response.headers && response.headers.forEach) {
@@ -11353,7 +11350,11 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11353
11350
  return response.text().then((_responseText) => {
11354
11351
  let result200 = null;
11355
11352
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
11356
- result200 = FixtureDto.fromJS(resultData200);
11353
+ if (Array.isArray(resultData200)) {
11354
+ result200 = [];
11355
+ for (let item of resultData200)
11356
+ result200.push(FixtureDto.fromJS(item));
11357
+ }
11357
11358
  return result200;
11358
11359
  });
11359
11360
  }
@@ -11364,18 +11365,18 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11364
11365
  }
11365
11366
  return Promise.resolve(null);
11366
11367
  }
11367
- operationAddFixture(fixtureId, operationId) {
11368
- let url_ = this.baseUrl + "/fixtures/{fixtureId}/operation/{operationId}";
11369
- if (fixtureId === undefined || fixtureId === null)
11370
- throw new Error("The parameter 'fixtureId' must be defined.");
11371
- url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
11368
+ operationAddFixture(operationId, fixtureIds) {
11369
+ let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
11372
11370
  if (operationId === undefined || operationId === null)
11373
11371
  throw new Error("The parameter 'operationId' must be defined.");
11374
11372
  url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
11375
11373
  url_ = url_.replace(/[?&]$/, "");
11374
+ const content_ = JSON.stringify(fixtureIds);
11376
11375
  let options_ = {
11377
- method: "PUT",
11376
+ body: content_,
11377
+ method: "POST",
11378
11378
  headers: {
11379
+ "Content-Type": "application/json",
11379
11380
  "Accept": "application/json"
11380
11381
  }
11381
11382
  };
@@ -11407,6 +11408,49 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
11407
11408
  }
11408
11409
  return Promise.resolve(null);
11409
11410
  }
11411
+ operationRemoveFixture(operationId, fixtureIds) {
11412
+ let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
11413
+ if (operationId === undefined || operationId === null)
11414
+ throw new Error("The parameter 'operationId' must be defined.");
11415
+ url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
11416
+ url_ = url_.replace(/[?&]$/, "");
11417
+ const content_ = JSON.stringify(fixtureIds);
11418
+ let options_ = {
11419
+ body: content_,
11420
+ method: "DELETE",
11421
+ headers: {
11422
+ "Content-Type": "application/json",
11423
+ "Accept": "application/json"
11424
+ }
11425
+ };
11426
+ return this.transformOptions(options_).then(transformedOptions_ => {
11427
+ return this.http.fetch(url_, transformedOptions_);
11428
+ }).then((_response) => {
11429
+ return this.processOperationRemoveFixture(_response);
11430
+ });
11431
+ }
11432
+ processOperationRemoveFixture(response) {
11433
+ const status = response.status;
11434
+ let _headers = {};
11435
+ if (response.headers && response.headers.forEach) {
11436
+ response.headers.forEach((v, k) => _headers[k] = v);
11437
+ }
11438
+ ;
11439
+ if (status === 200) {
11440
+ return response.text().then((_responseText) => {
11441
+ let result200 = null;
11442
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
11443
+ result200 = CncMachineOperationDto.fromJS(resultData200);
11444
+ return result200;
11445
+ });
11446
+ }
11447
+ else if (status !== 200 && status !== 204) {
11448
+ return response.text().then((_responseText) => {
11449
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
11450
+ });
11451
+ }
11452
+ return Promise.resolve(null);
11453
+ }
11410
11454
  }
11411
11455
  export class OperatorCalculatorsClient extends AuthorizedApiBase {
11412
11456
  constructor(configuration, baseUrl, http) {
@@ -31588,7 +31632,7 @@ export class CncMachineOperationDto {
31588
31632
  if (Array.isArray(_data["fixtures"])) {
31589
31633
  this.fixtures = [];
31590
31634
  for (let item of _data["fixtures"])
31591
- this.fixtures.push(FixtureLiteDto.fromJS(item));
31635
+ this.fixtures.push(item);
31592
31636
  }
31593
31637
  this.status = _data["status"];
31594
31638
  this.deleted = _data["deleted"];
@@ -31618,7 +31662,7 @@ export class CncMachineOperationDto {
31618
31662
  if (Array.isArray(this.fixtures)) {
31619
31663
  data["fixtures"] = [];
31620
31664
  for (let item of this.fixtures)
31621
- data["fixtures"].push(item.toJSON());
31665
+ data["fixtures"].push(item);
31622
31666
  }
31623
31667
  data["status"] = this.status;
31624
31668
  data["deleted"] = this.deleted;
@@ -31626,38 +31670,6 @@ export class CncMachineOperationDto {
31626
31670
  return data;
31627
31671
  }
31628
31672
  }
31629
- export class FixtureLiteDto {
31630
- constructor(data) {
31631
- if (data) {
31632
- for (var property in data) {
31633
- if (data.hasOwnProperty(property))
31634
- this[property] = data[property];
31635
- }
31636
- }
31637
- }
31638
- init(_data) {
31639
- if (_data) {
31640
- this.id = _data["id"];
31641
- this.name = _data["name"];
31642
- this.instance = _data["instance"];
31643
- this.fixtureGroupId = _data["fixtureGroupId"];
31644
- }
31645
- }
31646
- static fromJS(data) {
31647
- data = typeof data === 'object' ? data : {};
31648
- let result = new FixtureLiteDto();
31649
- result.init(data);
31650
- return result;
31651
- }
31652
- toJSON(data) {
31653
- data = typeof data === 'object' ? data : {};
31654
- data["id"] = this.id;
31655
- data["name"] = this.name;
31656
- data["instance"] = this.instance;
31657
- data["fixtureGroupId"] = this.fixtureGroupId;
31658
- return data;
31659
- }
31660
- }
31661
31673
  export class CncSetupAuditDto {
31662
31674
  constructor(data) {
31663
31675
  if (data) {
@@ -32865,12 +32877,12 @@ export class FixtureDto {
32865
32877
  }
32866
32878
  init(_data) {
32867
32879
  if (_data) {
32868
- this.id = _data["id"];
32869
- this.deleted = _data["deleted"];
32870
- this.approved = _data["approved"];
32880
+ this.fixtureId = _data["fixtureId"];
32871
32881
  this.name = _data["name"];
32872
32882
  this.instance = _data["instance"];
32873
32883
  this.fixtureGroupId = _data["fixtureGroupId"];
32884
+ this.deleted = _data["deleted"];
32885
+ this.approved = _data["approved"];
32874
32886
  this.drawing = _data["drawing"];
32875
32887
  this.drawingRev = _data["drawingRev"];
32876
32888
  this.sourceMachine = _data["sourceMachine"];
@@ -32901,12 +32913,12 @@ export class FixtureDto {
32901
32913
  }
32902
32914
  toJSON(data) {
32903
32915
  data = typeof data === 'object' ? data : {};
32904
- data["id"] = this.id;
32905
- data["deleted"] = this.deleted;
32906
- data["approved"] = this.approved;
32916
+ data["fixtureId"] = this.fixtureId;
32907
32917
  data["name"] = this.name;
32908
32918
  data["instance"] = this.instance;
32909
32919
  data["fixtureGroupId"] = this.fixtureGroupId;
32920
+ data["deleted"] = this.deleted;
32921
+ data["approved"] = this.approved;
32910
32922
  data["drawing"] = this.drawing;
32911
32923
  data["drawingRev"] = this.drawingRev;
32912
32924
  data["sourceMachine"] = this.sourceMachine;
@@ -32942,6 +32954,7 @@ export class FixtureLastUsedOperationDto {
32942
32954
  init(_data) {
32943
32955
  if (_data) {
32944
32956
  this.operationId = _data["operationId"];
32957
+ this.cncPartId = _data["cncPartId"];
32945
32958
  this.lastUsedBy = _data["lastUsedBy"];
32946
32959
  this.lastUsedById = _data["lastUsedById"];
32947
32960
  this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : undefined;
@@ -32956,6 +32969,7 @@ export class FixtureLastUsedOperationDto {
32956
32969
  toJSON(data) {
32957
32970
  data = typeof data === 'object' ? data : {};
32958
32971
  data["operationId"] = this.operationId;
32972
+ data["cncPartId"] = this.cncPartId;
32959
32973
  data["lastUsedBy"] = this.lastUsedBy;
32960
32974
  data["lastUsedById"] = this.lastUsedById;
32961
32975
  data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : undefined;
@@ -32974,6 +32988,16 @@ export class ListFixtures {
32974
32988
  init(_data) {
32975
32989
  if (_data) {
32976
32990
  this.pageSize = _data["pageSize"];
32991
+ if (Array.isArray(_data["fixtureIdFilter"])) {
32992
+ this.fixtureIdFilter = [];
32993
+ for (let item of _data["fixtureIdFilter"])
32994
+ this.fixtureIdFilter.push(item);
32995
+ }
32996
+ if (Array.isArray(_data["fixtureGroupIdFilter"])) {
32997
+ this.fixtureGroupIdFilter = [];
32998
+ for (let item of _data["fixtureGroupIdFilter"])
32999
+ this.fixtureGroupIdFilter.push(item);
33000
+ }
32977
33001
  if (Array.isArray(_data["fixtureTypeFilter"])) {
32978
33002
  this.fixtureTypeFilter = [];
32979
33003
  for (let item of _data["fixtureTypeFilter"])
@@ -32993,6 +33017,16 @@ export class ListFixtures {
32993
33017
  toJSON(data) {
32994
33018
  data = typeof data === 'object' ? data : {};
32995
33019
  data["pageSize"] = this.pageSize;
33020
+ if (Array.isArray(this.fixtureIdFilter)) {
33021
+ data["fixtureIdFilter"] = [];
33022
+ for (let item of this.fixtureIdFilter)
33023
+ data["fixtureIdFilter"].push(item);
33024
+ }
33025
+ if (Array.isArray(this.fixtureGroupIdFilter)) {
33026
+ data["fixtureGroupIdFilter"] = [];
33027
+ for (let item of this.fixtureGroupIdFilter)
33028
+ data["fixtureGroupIdFilter"].push(item);
33029
+ }
32996
33030
  if (Array.isArray(this.fixtureTypeFilter)) {
32997
33031
  data["fixtureTypeFilter"] = [];
32998
33032
  for (let item of this.fixtureTypeFilter)
@@ -33004,6 +33038,68 @@ export class ListFixtures {
33004
33038
  return data;
33005
33039
  }
33006
33040
  }
33041
+ export class FixtureCreateDto {
33042
+ constructor(data) {
33043
+ if (data) {
33044
+ for (var property in data) {
33045
+ if (data.hasOwnProperty(property))
33046
+ this[property] = data[property];
33047
+ }
33048
+ }
33049
+ }
33050
+ init(_data) {
33051
+ if (_data) {
33052
+ this.name = _data["name"];
33053
+ this.fixtureGroupId = _data["fixtureGroupId"];
33054
+ this.deleted = _data["deleted"];
33055
+ this.approved = _data["approved"];
33056
+ this.drawing = _data["drawing"];
33057
+ this.drawingRev = _data["drawingRev"];
33058
+ this.sourceMachine = _data["sourceMachine"];
33059
+ this.location = _data["location"];
33060
+ this.type = _data["type"];
33061
+ this.interface = _data["interface"];
33062
+ this.diameter = _data["diameter"];
33063
+ this.outerDiameter = _data["outerDiameter"];
33064
+ this.innerDiameter = _data["innerDiameter"];
33065
+ this.depth = _data["depth"];
33066
+ this.totalHeight = _data["totalHeight"];
33067
+ this.width = _data["width"];
33068
+ this.totalLength = _data["totalLength"];
33069
+ this.gripSide = _data["gripSide"];
33070
+ this.description = _data["description"];
33071
+ }
33072
+ }
33073
+ static fromJS(data) {
33074
+ data = typeof data === 'object' ? data : {};
33075
+ let result = new FixtureCreateDto();
33076
+ result.init(data);
33077
+ return result;
33078
+ }
33079
+ toJSON(data) {
33080
+ data = typeof data === 'object' ? data : {};
33081
+ data["name"] = this.name;
33082
+ data["fixtureGroupId"] = this.fixtureGroupId;
33083
+ data["deleted"] = this.deleted;
33084
+ data["approved"] = this.approved;
33085
+ data["drawing"] = this.drawing;
33086
+ data["drawingRev"] = this.drawingRev;
33087
+ data["sourceMachine"] = this.sourceMachine;
33088
+ data["location"] = this.location;
33089
+ data["type"] = this.type;
33090
+ data["interface"] = this.interface;
33091
+ data["diameter"] = this.diameter;
33092
+ data["outerDiameter"] = this.outerDiameter;
33093
+ data["innerDiameter"] = this.innerDiameter;
33094
+ data["depth"] = this.depth;
33095
+ data["totalHeight"] = this.totalHeight;
33096
+ data["width"] = this.width;
33097
+ data["totalLength"] = this.totalLength;
33098
+ data["gripSide"] = this.gripSide;
33099
+ data["description"] = this.description;
33100
+ return data;
33101
+ }
33102
+ }
33007
33103
  export class FixtureUpdateDto {
33008
33104
  constructor(data) {
33009
33105
  if (data) {
@@ -33015,6 +33111,7 @@ export class FixtureUpdateDto {
33015
33111
  }
33016
33112
  init(_data) {
33017
33113
  if (_data) {
33114
+ this.fixtureId = _data["fixtureId"];
33018
33115
  this.name = _data["name"];
33019
33116
  this.fixtureGroupId = _data["fixtureGroupId"];
33020
33117
  this.deleted = _data["deleted"];
@@ -33044,6 +33141,7 @@ export class FixtureUpdateDto {
33044
33141
  }
33045
33142
  toJSON(data) {
33046
33143
  data = typeof data === 'object' ? data : {};
33144
+ data["fixtureId"] = this.fixtureId;
33047
33145
  data["name"] = this.name;
33048
33146
  data["fixtureGroupId"] = this.fixtureGroupId;
33049
33147
  data["deleted"] = this.deleted;
@@ -39769,6 +39867,7 @@ export class MeasurementFormSettingsDto {
39769
39867
  init(_data) {
39770
39868
  if (_data) {
39771
39869
  this.convertInchToMm = _data["convertInchToMm"];
39870
+ this.convertMicroInchToMicroMeter = _data["convertMicroInchToMicroMeter"];
39772
39871
  this.validateMeasuringTools = _data["validateMeasuringTools"];
39773
39872
  this.validateMeasuringToolsForSuppliers = _data["validateMeasuringToolsForSuppliers"];
39774
39873
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
@@ -39796,6 +39895,7 @@ export class MeasurementFormSettingsDto {
39796
39895
  toJSON(data) {
39797
39896
  data = typeof data === 'object' ? data : {};
39798
39897
  data["convertInchToMm"] = this.convertInchToMm;
39898
+ data["convertMicroInchToMicroMeter"] = this.convertMicroInchToMicroMeter;
39799
39899
  data["validateMeasuringTools"] = this.validateMeasuringTools;
39800
39900
  data["validateMeasuringToolsForSuppliers"] = this.validateMeasuringToolsForSuppliers;
39801
39901
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
@@ -39830,6 +39930,7 @@ export class UpdateMeasurementFormSettings {
39830
39930
  init(_data) {
39831
39931
  if (_data) {
39832
39932
  this.convertInchToMm = _data["convertInchToMm"];
39933
+ this.convertMicroInchToMicroMeter = _data["convertMicroInchToMicroMeter"];
39833
39934
  this.validateMeasuringTools = _data["validateMeasuringTools"];
39834
39935
  this.validateMeasuringToolsForSuppliers = _data["validateMeasuringToolsForSuppliers"];
39835
39936
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
@@ -39857,6 +39958,7 @@ export class UpdateMeasurementFormSettings {
39857
39958
  toJSON(data) {
39858
39959
  data = typeof data === 'object' ? data : {};
39859
39960
  data["convertInchToMm"] = this.convertInchToMm;
39961
+ data["convertMicroInchToMicroMeter"] = this.convertMicroInchToMicroMeter;
39860
39962
  data["validateMeasuringTools"] = this.validateMeasuringTools;
39861
39963
  data["validateMeasuringToolsForSuppliers"] = this.validateMeasuringToolsForSuppliers;
39862
39964
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250506.0.11660",
3
+ "version": "20250509.0.11689",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -11937,11 +11937,13 @@ export interface ICncSetupFixturesClient {
11937
11937
 
11938
11938
  getFixture(fixtureId: string): Promise<FixtureDto>;
11939
11939
 
11940
- updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto>;
11940
+ createFixture(update: FixtureCreateDto): Promise<FixtureDto>;
11941
11941
 
11942
- createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
11942
+ updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]>;
11943
11943
 
11944
- operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
11944
+ operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
11945
+
11946
+ operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
11945
11947
  }
11946
11948
 
11947
11949
  export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
@@ -12034,18 +12036,15 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12034
12036
  return Promise.resolve<FixtureDto>(null as any);
12035
12037
  }
12036
12038
 
12037
- updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto> {
12038
- let url_ = this.baseUrl + "/fixtures/{fixtureId}";
12039
- if (fixtureId === undefined || fixtureId === null)
12040
- throw new Error("The parameter 'fixtureId' must be defined.");
12041
- url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
12039
+ createFixture(update: FixtureCreateDto): Promise<FixtureDto> {
12040
+ let url_ = this.baseUrl + "/fixtures";
12042
12041
  url_ = url_.replace(/[?&]$/, "");
12043
12042
 
12044
12043
  const content_ = JSON.stringify(update);
12045
12044
 
12046
12045
  let options_: RequestInit = {
12047
12046
  body: content_,
12048
- method: "PUT",
12047
+ method: "POST",
12049
12048
  headers: {
12050
12049
  "Content-Type": "application/json",
12051
12050
  "Accept": "application/json"
@@ -12055,11 +12054,11 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12055
12054
  return this.transformOptions(options_).then(transformedOptions_ => {
12056
12055
  return this.http.fetch(url_, transformedOptions_);
12057
12056
  }).then((_response: Response) => {
12058
- return this.processUpdateFixture(_response);
12057
+ return this.processCreateFixture(_response);
12059
12058
  });
12060
12059
  }
12061
12060
 
12062
- protected processUpdateFixture(response: Response): Promise<FixtureDto> {
12061
+ protected processCreateFixture(response: Response): Promise<FixtureDto> {
12063
12062
  const status = response.status;
12064
12063
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12065
12064
  if (status === 200) {
@@ -12077,7 +12076,7 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12077
12076
  return Promise.resolve<FixtureDto>(null as any);
12078
12077
  }
12079
12078
 
12080
- createFixture(update: FixtureUpdateDto): Promise<FixtureDto> {
12079
+ updateFixtures(update: FixtureUpdateDto[]): Promise<FixtureDto[]> {
12081
12080
  let url_ = this.baseUrl + "/fixtures";
12082
12081
  url_ = url_.replace(/[?&]$/, "");
12083
12082
 
@@ -12085,7 +12084,7 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12085
12084
 
12086
12085
  let options_: RequestInit = {
12087
12086
  body: content_,
12088
- method: "POST",
12087
+ method: "PUT",
12089
12088
  headers: {
12090
12089
  "Content-Type": "application/json",
12091
12090
  "Accept": "application/json"
@@ -12095,18 +12094,22 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12095
12094
  return this.transformOptions(options_).then(transformedOptions_ => {
12096
12095
  return this.http.fetch(url_, transformedOptions_);
12097
12096
  }).then((_response: Response) => {
12098
- return this.processCreateFixture(_response);
12097
+ return this.processUpdateFixtures(_response);
12099
12098
  });
12100
12099
  }
12101
12100
 
12102
- protected processCreateFixture(response: Response): Promise<FixtureDto> {
12101
+ protected processUpdateFixtures(response: Response): Promise<FixtureDto[]> {
12103
12102
  const status = response.status;
12104
12103
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12105
12104
  if (status === 200) {
12106
12105
  return response.text().then((_responseText) => {
12107
12106
  let result200: any = null;
12108
12107
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
12109
- result200 = FixtureDto.fromJS(resultData200);
12108
+ if (Array.isArray(resultData200)) {
12109
+ result200 = [] as any;
12110
+ for (let item of resultData200)
12111
+ result200!.push(FixtureDto.fromJS(item));
12112
+ }
12110
12113
  return result200;
12111
12114
  });
12112
12115
  } else if (status !== 200 && status !== 204) {
@@ -12114,22 +12117,23 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12114
12117
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12115
12118
  });
12116
12119
  }
12117
- return Promise.resolve<FixtureDto>(null as any);
12120
+ return Promise.resolve<FixtureDto[]>(null as any);
12118
12121
  }
12119
12122
 
12120
- operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto> {
12121
- let url_ = this.baseUrl + "/fixtures/{fixtureId}/operation/{operationId}";
12122
- if (fixtureId === undefined || fixtureId === null)
12123
- throw new Error("The parameter 'fixtureId' must be defined.");
12124
- url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
12123
+ operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto> {
12124
+ let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
12125
12125
  if (operationId === undefined || operationId === null)
12126
12126
  throw new Error("The parameter 'operationId' must be defined.");
12127
12127
  url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
12128
12128
  url_ = url_.replace(/[?&]$/, "");
12129
12129
 
12130
+ const content_ = JSON.stringify(fixtureIds);
12131
+
12130
12132
  let options_: RequestInit = {
12131
- method: "PUT",
12133
+ body: content_,
12134
+ method: "POST",
12132
12135
  headers: {
12136
+ "Content-Type": "application/json",
12133
12137
  "Accept": "application/json"
12134
12138
  }
12135
12139
  };
@@ -12158,6 +12162,49 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
12158
12162
  }
12159
12163
  return Promise.resolve<CncMachineOperationDto>(null as any);
12160
12164
  }
12165
+
12166
+ operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto> {
12167
+ let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
12168
+ if (operationId === undefined || operationId === null)
12169
+ throw new Error("The parameter 'operationId' must be defined.");
12170
+ url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
12171
+ url_ = url_.replace(/[?&]$/, "");
12172
+
12173
+ const content_ = JSON.stringify(fixtureIds);
12174
+
12175
+ let options_: RequestInit = {
12176
+ body: content_,
12177
+ method: "DELETE",
12178
+ headers: {
12179
+ "Content-Type": "application/json",
12180
+ "Accept": "application/json"
12181
+ }
12182
+ };
12183
+
12184
+ return this.transformOptions(options_).then(transformedOptions_ => {
12185
+ return this.http.fetch(url_, transformedOptions_);
12186
+ }).then((_response: Response) => {
12187
+ return this.processOperationRemoveFixture(_response);
12188
+ });
12189
+ }
12190
+
12191
+ protected processOperationRemoveFixture(response: Response): Promise<CncMachineOperationDto> {
12192
+ const status = response.status;
12193
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12194
+ if (status === 200) {
12195
+ return response.text().then((_responseText) => {
12196
+ let result200: any = null;
12197
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
12198
+ result200 = CncMachineOperationDto.fromJS(resultData200);
12199
+ return result200;
12200
+ });
12201
+ } else if (status !== 200 && status !== 204) {
12202
+ return response.text().then((_responseText) => {
12203
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12204
+ });
12205
+ }
12206
+ return Promise.resolve<CncMachineOperationDto>(null as any);
12207
+ }
12161
12208
  }
12162
12209
 
12163
12210
  export interface IOperatorCalculatorsClient {
@@ -37843,7 +37890,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
37843
37890
  tailstock?: string | null;
37844
37891
  tailstockPressure?: string | null;
37845
37892
  fixture?: string | null;
37846
- fixtures!: FixtureLiteDto[];
37893
+ fixtures!: string[];
37847
37894
  status!: CncOperationStatus;
37848
37895
  deleted!: boolean;
37849
37896
  auditInfo!: CncSetupAuditDto;
@@ -37878,7 +37925,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
37878
37925
  if (Array.isArray(_data["fixtures"])) {
37879
37926
  this.fixtures = [] as any;
37880
37927
  for (let item of _data["fixtures"])
37881
- this.fixtures!.push(FixtureLiteDto.fromJS(item));
37928
+ this.fixtures!.push(item);
37882
37929
  }
37883
37930
  this.status = _data["status"];
37884
37931
  this.deleted = _data["deleted"];
@@ -37910,7 +37957,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
37910
37957
  if (Array.isArray(this.fixtures)) {
37911
37958
  data["fixtures"] = [];
37912
37959
  for (let item of this.fixtures)
37913
- data["fixtures"].push(item.toJSON());
37960
+ data["fixtures"].push(item);
37914
37961
  }
37915
37962
  data["status"] = this.status;
37916
37963
  data["deleted"] = this.deleted;
@@ -37932,60 +37979,12 @@ export interface ICncMachineOperationDto {
37932
37979
  tailstock?: string | null;
37933
37980
  tailstockPressure?: string | null;
37934
37981
  fixture?: string | null;
37935
- fixtures: FixtureLiteDto[];
37982
+ fixtures: string[];
37936
37983
  status: CncOperationStatus;
37937
37984
  deleted: boolean;
37938
37985
  auditInfo: CncSetupAuditDto;
37939
37986
  }
37940
37987
 
37941
- export class FixtureLiteDto implements IFixtureLiteDto {
37942
- id!: string;
37943
- name!: string;
37944
- instance!: number;
37945
- fixtureGroupId!: string;
37946
-
37947
- constructor(data?: IFixtureLiteDto) {
37948
- if (data) {
37949
- for (var property in data) {
37950
- if (data.hasOwnProperty(property))
37951
- (<any>this)[property] = (<any>data)[property];
37952
- }
37953
- }
37954
- }
37955
-
37956
- init(_data?: any) {
37957
- if (_data) {
37958
- this.id = _data["id"];
37959
- this.name = _data["name"];
37960
- this.instance = _data["instance"];
37961
- this.fixtureGroupId = _data["fixtureGroupId"];
37962
- }
37963
- }
37964
-
37965
- static fromJS(data: any): FixtureLiteDto {
37966
- data = typeof data === 'object' ? data : {};
37967
- let result = new FixtureLiteDto();
37968
- result.init(data);
37969
- return result;
37970
- }
37971
-
37972
- toJSON(data?: any) {
37973
- data = typeof data === 'object' ? data : {};
37974
- data["id"] = this.id;
37975
- data["name"] = this.name;
37976
- data["instance"] = this.instance;
37977
- data["fixtureGroupId"] = this.fixtureGroupId;
37978
- return data;
37979
- }
37980
- }
37981
-
37982
- export interface IFixtureLiteDto {
37983
- id: string;
37984
- name: string;
37985
- instance: number;
37986
- fixtureGroupId: string;
37987
- }
37988
-
37989
37988
  export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
37990
37989
 
37991
37990
  export class CncSetupAuditDto implements ICncSetupAuditDto {
@@ -39902,12 +39901,12 @@ export interface IFixtureListDto {
39902
39901
  }
39903
39902
 
39904
39903
  export class FixtureDto implements IFixtureDto {
39905
- id!: string;
39906
- deleted?: boolean;
39907
- approved?: boolean;
39904
+ fixtureId!: string;
39908
39905
  name!: string;
39909
39906
  instance!: number;
39910
39907
  fixtureGroupId!: string;
39908
+ deleted?: boolean;
39909
+ approved?: boolean;
39911
39910
  drawing?: string | null;
39912
39911
  drawingRev?: string | null;
39913
39912
  sourceMachine?: string | null;
@@ -39939,12 +39938,12 @@ export class FixtureDto implements IFixtureDto {
39939
39938
 
39940
39939
  init(_data?: any) {
39941
39940
  if (_data) {
39942
- this.id = _data["id"];
39943
- this.deleted = _data["deleted"];
39944
- this.approved = _data["approved"];
39941
+ this.fixtureId = _data["fixtureId"];
39945
39942
  this.name = _data["name"];
39946
39943
  this.instance = _data["instance"];
39947
39944
  this.fixtureGroupId = _data["fixtureGroupId"];
39945
+ this.deleted = _data["deleted"];
39946
+ this.approved = _data["approved"];
39948
39947
  this.drawing = _data["drawing"];
39949
39948
  this.drawingRev = _data["drawingRev"];
39950
39949
  this.sourceMachine = _data["sourceMachine"];
@@ -39977,12 +39976,12 @@ export class FixtureDto implements IFixtureDto {
39977
39976
 
39978
39977
  toJSON(data?: any) {
39979
39978
  data = typeof data === 'object' ? data : {};
39980
- data["id"] = this.id;
39981
- data["deleted"] = this.deleted;
39982
- data["approved"] = this.approved;
39979
+ data["fixtureId"] = this.fixtureId;
39983
39980
  data["name"] = this.name;
39984
39981
  data["instance"] = this.instance;
39985
39982
  data["fixtureGroupId"] = this.fixtureGroupId;
39983
+ data["deleted"] = this.deleted;
39984
+ data["approved"] = this.approved;
39986
39985
  data["drawing"] = this.drawing;
39987
39986
  data["drawingRev"] = this.drawingRev;
39988
39987
  data["sourceMachine"] = this.sourceMachine;
@@ -40008,12 +40007,12 @@ export class FixtureDto implements IFixtureDto {
40008
40007
  }
40009
40008
 
40010
40009
  export interface IFixtureDto {
40011
- id: string;
40012
- deleted?: boolean;
40013
- approved?: boolean;
40010
+ fixtureId: string;
40014
40011
  name: string;
40015
40012
  instance: number;
40016
40013
  fixtureGroupId: string;
40014
+ deleted?: boolean;
40015
+ approved?: boolean;
40017
40016
  drawing?: string | null;
40018
40017
  drawingRev?: string | null;
40019
40018
  sourceMachine?: string | null;
@@ -40036,6 +40035,7 @@ export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
40036
40035
 
40037
40036
  export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
40038
40037
  operationId!: string;
40038
+ cncPartId!: string;
40039
40039
  lastUsedBy?: string | null;
40040
40040
  lastUsedById?: string | null;
40041
40041
  lastUsed?: Date | null;
@@ -40052,6 +40052,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
40052
40052
  init(_data?: any) {
40053
40053
  if (_data) {
40054
40054
  this.operationId = _data["operationId"];
40055
+ this.cncPartId = _data["cncPartId"];
40055
40056
  this.lastUsedBy = _data["lastUsedBy"];
40056
40057
  this.lastUsedById = _data["lastUsedById"];
40057
40058
  this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : <any>undefined;
@@ -40068,6 +40069,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
40068
40069
  toJSON(data?: any) {
40069
40070
  data = typeof data === 'object' ? data : {};
40070
40071
  data["operationId"] = this.operationId;
40072
+ data["cncPartId"] = this.cncPartId;
40071
40073
  data["lastUsedBy"] = this.lastUsedBy;
40072
40074
  data["lastUsedById"] = this.lastUsedById;
40073
40075
  data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : <any>undefined;
@@ -40077,6 +40079,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
40077
40079
 
40078
40080
  export interface IFixtureLastUsedOperationDto {
40079
40081
  operationId: string;
40082
+ cncPartId: string;
40080
40083
  lastUsedBy?: string | null;
40081
40084
  lastUsedById?: string | null;
40082
40085
  lastUsed?: Date | null;
@@ -40086,6 +40089,8 @@ export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
40086
40089
 
40087
40090
  export class ListFixtures implements IListFixtures {
40088
40091
  pageSize?: number | null;
40092
+ fixtureIdFilter?: string[] | null;
40093
+ fixtureGroupIdFilter?: string[] | null;
40089
40094
  fixtureTypeFilter?: FixtureTypeDto[] | null;
40090
40095
  deletedFilter?: FixtureDeletedDto | null;
40091
40096
  approvedFilter?: FixtureApprovedDto | null;
@@ -40103,6 +40108,16 @@ export class ListFixtures implements IListFixtures {
40103
40108
  init(_data?: any) {
40104
40109
  if (_data) {
40105
40110
  this.pageSize = _data["pageSize"];
40111
+ if (Array.isArray(_data["fixtureIdFilter"])) {
40112
+ this.fixtureIdFilter = [] as any;
40113
+ for (let item of _data["fixtureIdFilter"])
40114
+ this.fixtureIdFilter!.push(item);
40115
+ }
40116
+ if (Array.isArray(_data["fixtureGroupIdFilter"])) {
40117
+ this.fixtureGroupIdFilter = [] as any;
40118
+ for (let item of _data["fixtureGroupIdFilter"])
40119
+ this.fixtureGroupIdFilter!.push(item);
40120
+ }
40106
40121
  if (Array.isArray(_data["fixtureTypeFilter"])) {
40107
40122
  this.fixtureTypeFilter = [] as any;
40108
40123
  for (let item of _data["fixtureTypeFilter"])
@@ -40124,6 +40139,16 @@ export class ListFixtures implements IListFixtures {
40124
40139
  toJSON(data?: any) {
40125
40140
  data = typeof data === 'object' ? data : {};
40126
40141
  data["pageSize"] = this.pageSize;
40142
+ if (Array.isArray(this.fixtureIdFilter)) {
40143
+ data["fixtureIdFilter"] = [];
40144
+ for (let item of this.fixtureIdFilter)
40145
+ data["fixtureIdFilter"].push(item);
40146
+ }
40147
+ if (Array.isArray(this.fixtureGroupIdFilter)) {
40148
+ data["fixtureGroupIdFilter"] = [];
40149
+ for (let item of this.fixtureGroupIdFilter)
40150
+ data["fixtureGroupIdFilter"].push(item);
40151
+ }
40127
40152
  if (Array.isArray(this.fixtureTypeFilter)) {
40128
40153
  data["fixtureTypeFilter"] = [];
40129
40154
  for (let item of this.fixtureTypeFilter)
@@ -40138,6 +40163,8 @@ export class ListFixtures implements IListFixtures {
40138
40163
 
40139
40164
  export interface IListFixtures {
40140
40165
  pageSize?: number | null;
40166
+ fixtureIdFilter?: string[] | null;
40167
+ fixtureGroupIdFilter?: string[] | null;
40141
40168
  fixtureTypeFilter?: FixtureTypeDto[] | null;
40142
40169
  deletedFilter?: FixtureDeletedDto | null;
40143
40170
  approvedFilter?: FixtureApprovedDto | null;
@@ -40148,7 +40175,116 @@ export type FixtureDeletedDto = "NotDeleted" | "Deleted";
40148
40175
 
40149
40176
  export type FixtureApprovedDto = "NotApproved" | "Approved";
40150
40177
 
40178
+ export class FixtureCreateDto implements IFixtureCreateDto {
40179
+ name!: string;
40180
+ fixtureGroupId?: string | null;
40181
+ deleted?: boolean;
40182
+ approved?: boolean;
40183
+ drawing?: string | null;
40184
+ drawingRev?: string | null;
40185
+ sourceMachine?: string | null;
40186
+ location?: string | null;
40187
+ type?: FixtureTypeDto;
40188
+ interface?: string | null;
40189
+ diameter?: number | null;
40190
+ outerDiameter?: number | null;
40191
+ innerDiameter?: number | null;
40192
+ depth?: number | null;
40193
+ totalHeight?: number | null;
40194
+ width?: number | null;
40195
+ totalLength?: number | null;
40196
+ gripSide?: GripSideDto;
40197
+ description?: string | null;
40198
+
40199
+ constructor(data?: IFixtureCreateDto) {
40200
+ if (data) {
40201
+ for (var property in data) {
40202
+ if (data.hasOwnProperty(property))
40203
+ (<any>this)[property] = (<any>data)[property];
40204
+ }
40205
+ }
40206
+ }
40207
+
40208
+ init(_data?: any) {
40209
+ if (_data) {
40210
+ this.name = _data["name"];
40211
+ this.fixtureGroupId = _data["fixtureGroupId"];
40212
+ this.deleted = _data["deleted"];
40213
+ this.approved = _data["approved"];
40214
+ this.drawing = _data["drawing"];
40215
+ this.drawingRev = _data["drawingRev"];
40216
+ this.sourceMachine = _data["sourceMachine"];
40217
+ this.location = _data["location"];
40218
+ this.type = _data["type"];
40219
+ this.interface = _data["interface"];
40220
+ this.diameter = _data["diameter"];
40221
+ this.outerDiameter = _data["outerDiameter"];
40222
+ this.innerDiameter = _data["innerDiameter"];
40223
+ this.depth = _data["depth"];
40224
+ this.totalHeight = _data["totalHeight"];
40225
+ this.width = _data["width"];
40226
+ this.totalLength = _data["totalLength"];
40227
+ this.gripSide = _data["gripSide"];
40228
+ this.description = _data["description"];
40229
+ }
40230
+ }
40231
+
40232
+ static fromJS(data: any): FixtureCreateDto {
40233
+ data = typeof data === 'object' ? data : {};
40234
+ let result = new FixtureCreateDto();
40235
+ result.init(data);
40236
+ return result;
40237
+ }
40238
+
40239
+ toJSON(data?: any) {
40240
+ data = typeof data === 'object' ? data : {};
40241
+ data["name"] = this.name;
40242
+ data["fixtureGroupId"] = this.fixtureGroupId;
40243
+ data["deleted"] = this.deleted;
40244
+ data["approved"] = this.approved;
40245
+ data["drawing"] = this.drawing;
40246
+ data["drawingRev"] = this.drawingRev;
40247
+ data["sourceMachine"] = this.sourceMachine;
40248
+ data["location"] = this.location;
40249
+ data["type"] = this.type;
40250
+ data["interface"] = this.interface;
40251
+ data["diameter"] = this.diameter;
40252
+ data["outerDiameter"] = this.outerDiameter;
40253
+ data["innerDiameter"] = this.innerDiameter;
40254
+ data["depth"] = this.depth;
40255
+ data["totalHeight"] = this.totalHeight;
40256
+ data["width"] = this.width;
40257
+ data["totalLength"] = this.totalLength;
40258
+ data["gripSide"] = this.gripSide;
40259
+ data["description"] = this.description;
40260
+ return data;
40261
+ }
40262
+ }
40263
+
40264
+ export interface IFixtureCreateDto {
40265
+ name: string;
40266
+ fixtureGroupId?: string | null;
40267
+ deleted?: boolean;
40268
+ approved?: boolean;
40269
+ drawing?: string | null;
40270
+ drawingRev?: string | null;
40271
+ sourceMachine?: string | null;
40272
+ location?: string | null;
40273
+ type?: FixtureTypeDto;
40274
+ interface?: string | null;
40275
+ diameter?: number | null;
40276
+ outerDiameter?: number | null;
40277
+ innerDiameter?: number | null;
40278
+ depth?: number | null;
40279
+ totalHeight?: number | null;
40280
+ width?: number | null;
40281
+ totalLength?: number | null;
40282
+ gripSide?: GripSideDto;
40283
+ description?: string | null;
40284
+ }
40285
+
40151
40286
  export class FixtureUpdateDto implements IFixtureUpdateDto {
40287
+ fixtureId!: string;
40152
40288
  name!: string;
40153
40289
  fixtureGroupId?: string | null;
40154
40290
  deleted?: boolean;
@@ -40180,6 +40316,7 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
40180
40316
 
40181
40317
  init(_data?: any) {
40182
40318
  if (_data) {
40319
+ this.fixtureId = _data["fixtureId"];
40183
40320
  this.name = _data["name"];
40184
40321
  this.fixtureGroupId = _data["fixtureGroupId"];
40185
40322
  this.deleted = _data["deleted"];
@@ -40211,6 +40348,7 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
40211
40348
 
40212
40349
  toJSON(data?: any) {
40213
40350
  data = typeof data === 'object' ? data : {};
40351
+ data["fixtureId"] = this.fixtureId;
40214
40352
  data["name"] = this.name;
40215
40353
  data["fixtureGroupId"] = this.fixtureGroupId;
40216
40354
  data["deleted"] = this.deleted;
@@ -40235,6 +40373,7 @@ export class FixtureUpdateDto implements IFixtureUpdateDto {
40235
40373
  }
40236
40374
 
40237
40375
  export interface IFixtureUpdateDto {
40376
+ fixtureId: string;
40238
40377
  name: string;
40239
40378
  fixtureGroupId?: string | null;
40240
40379
  deleted?: boolean;
@@ -50203,6 +50342,7 @@ export interface ICreateMeasurementFormSchemaLinkRequest {
50203
50342
 
50204
50343
  export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
50205
50344
  convertInchToMm!: boolean;
50345
+ convertMicroInchToMicroMeter!: boolean;
50206
50346
  validateMeasuringTools!: boolean;
50207
50347
  validateMeasuringToolsForSuppliers!: boolean;
50208
50348
  generateSchemaRequirements!: boolean;
@@ -50228,6 +50368,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
50228
50368
  init(_data?: any) {
50229
50369
  if (_data) {
50230
50370
  this.convertInchToMm = _data["convertInchToMm"];
50371
+ this.convertMicroInchToMicroMeter = _data["convertMicroInchToMicroMeter"];
50231
50372
  this.validateMeasuringTools = _data["validateMeasuringTools"];
50232
50373
  this.validateMeasuringToolsForSuppliers = _data["validateMeasuringToolsForSuppliers"];
50233
50374
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
@@ -50257,6 +50398,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
50257
50398
  toJSON(data?: any) {
50258
50399
  data = typeof data === 'object' ? data : {};
50259
50400
  data["convertInchToMm"] = this.convertInchToMm;
50401
+ data["convertMicroInchToMicroMeter"] = this.convertMicroInchToMicroMeter;
50260
50402
  data["validateMeasuringTools"] = this.validateMeasuringTools;
50261
50403
  data["validateMeasuringToolsForSuppliers"] = this.validateMeasuringToolsForSuppliers;
50262
50404
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
@@ -50279,6 +50421,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
50279
50421
 
50280
50422
  export interface IMeasurementFormSettingsDto {
50281
50423
  convertInchToMm: boolean;
50424
+ convertMicroInchToMicroMeter: boolean;
50282
50425
  validateMeasuringTools: boolean;
50283
50426
  validateMeasuringToolsForSuppliers: boolean;
50284
50427
  generateSchemaRequirements: boolean;
@@ -50295,6 +50438,7 @@ export interface IMeasurementFormSettingsDto {
50295
50438
 
50296
50439
  export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSettings {
50297
50440
  convertInchToMm!: boolean;
50441
+ convertMicroInchToMicroMeter!: boolean;
50298
50442
  validateMeasuringTools!: boolean;
50299
50443
  validateMeasuringToolsForSuppliers!: boolean;
50300
50444
  generateSchemaRequirements!: boolean;
@@ -50323,6 +50467,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
50323
50467
  init(_data?: any) {
50324
50468
  if (_data) {
50325
50469
  this.convertInchToMm = _data["convertInchToMm"];
50470
+ this.convertMicroInchToMicroMeter = _data["convertMicroInchToMicroMeter"];
50326
50471
  this.validateMeasuringTools = _data["validateMeasuringTools"];
50327
50472
  this.validateMeasuringToolsForSuppliers = _data["validateMeasuringToolsForSuppliers"];
50328
50473
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
@@ -50352,6 +50497,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
50352
50497
  toJSON(data?: any) {
50353
50498
  data = typeof data === 'object' ? data : {};
50354
50499
  data["convertInchToMm"] = this.convertInchToMm;
50500
+ data["convertMicroInchToMicroMeter"] = this.convertMicroInchToMicroMeter;
50355
50501
  data["validateMeasuringTools"] = this.validateMeasuringTools;
50356
50502
  data["validateMeasuringToolsForSuppliers"] = this.validateMeasuringToolsForSuppliers;
50357
50503
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
@@ -50374,6 +50520,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
50374
50520
 
50375
50521
  export interface IUpdateMeasurementFormSettings {
50376
50522
  convertInchToMm: boolean;
50523
+ convertMicroInchToMicroMeter: boolean;
50377
50524
  validateMeasuringTools: boolean;
50378
50525
  validateMeasuringToolsForSuppliers: boolean;
50379
50526
  generateSchemaRequirements: boolean;