@ignos/api-client 20250409.0.11486 → 20250424.0.11570

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.
@@ -1919,7 +1919,6 @@ export interface IMeasurementFormSchemasClient {
1919
1919
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
1920
1920
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
1921
1921
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
1922
- createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto>;
1923
1922
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
1924
1923
  postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
1925
1924
  createMeasurementFormSchemaLink(schemaId: string, request: CreateMeasurementFormSchemaLinkRequest): Promise<MeasurementFormDto>;
@@ -2001,8 +2000,6 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
2001
2000
  protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
2002
2001
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
2003
2002
  protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
2004
- createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto>;
2005
- protected processCreateSchemaElement(response: Response): Promise<MeasurementFormElementDto>;
2006
2003
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
2007
2004
  protected processListLinkableMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto>;
2008
2005
  postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
@@ -2825,6 +2822,8 @@ export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto
2825
2822
  comment?: string | null;
2826
2823
  companyId?: string | null;
2827
2824
  reasonId: string;
2825
+ createdBy?: EmployeeDto | null;
2826
+ updatedBy?: EmployeeDto | null;
2828
2827
  constructor(data?: IDowntimePeriodReasonDto);
2829
2828
  init(_data?: any): void;
2830
2829
  static fromJS(data: any): DowntimePeriodReasonDto;
@@ -2840,8 +2839,26 @@ export interface IDowntimePeriodReasonDto {
2840
2839
  comment?: string | null;
2841
2840
  companyId?: string | null;
2842
2841
  reasonId: string;
2842
+ createdBy?: EmployeeDto | null;
2843
+ updatedBy?: EmployeeDto | null;
2843
2844
  }
2844
2845
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
2846
+ export declare class EmployeeDto implements IEmployeeDto {
2847
+ id?: string | null;
2848
+ name?: string | null;
2849
+ upn?: string | null;
2850
+ azureAdObjectId?: string | null;
2851
+ constructor(data?: IEmployeeDto);
2852
+ init(_data?: any): void;
2853
+ static fromJS(data: any): EmployeeDto;
2854
+ toJSON(data?: any): any;
2855
+ }
2856
+ export interface IEmployeeDto {
2857
+ id?: string | null;
2858
+ name?: string | null;
2859
+ upn?: string | null;
2860
+ azureAdObjectId?: string | null;
2861
+ }
2845
2862
  export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
2846
2863
  machineUptimes: MachineUptimeDto[];
2847
2864
  sum: MachineUptimeSumDto;
@@ -6152,22 +6169,6 @@ export interface IOperatorAndMachineDto {
6152
6169
  lastWorkOrderEventStartTime?: Date;
6153
6170
  machine?: MachineDto | null;
6154
6171
  }
6155
- export declare class EmployeeDto implements IEmployeeDto {
6156
- id?: string | null;
6157
- name?: string | null;
6158
- upn?: string | null;
6159
- azureAdObjectId?: string | null;
6160
- constructor(data?: IEmployeeDto);
6161
- init(_data?: any): void;
6162
- static fromJS(data: any): EmployeeDto;
6163
- toJSON(data?: any): any;
6164
- }
6165
- export interface IEmployeeDto {
6166
- id?: string | null;
6167
- name?: string | null;
6168
- upn?: string | null;
6169
- azureAdObjectId?: string | null;
6170
- }
6171
6172
  export declare class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
6172
6173
  id: string;
6173
6174
  name: string;
@@ -10950,7 +10951,7 @@ export declare class MeasurementFormGroupedElementDto implements IMeasurementFor
10950
10951
  imageUrl?: string | null;
10951
10952
  thumbnailUrl?: string | null;
10952
10953
  section?: string | null;
10953
- pageNumber?: number;
10954
+ pageNumber?: number | null;
10954
10955
  sheetZone?: string | null;
10955
10956
  places?: number | null;
10956
10957
  nominal?: number | null;
@@ -10995,7 +10996,7 @@ export interface IMeasurementFormGroupedElementDto {
10995
10996
  imageUrl?: string | null;
10996
10997
  thumbnailUrl?: string | null;
10997
10998
  section?: string | null;
10998
- pageNumber?: number;
10999
+ pageNumber?: number | null;
10999
11000
  sheetZone?: string | null;
11000
11001
  places?: number | null;
11001
11002
  nominal?: number | null;
@@ -11194,7 +11195,6 @@ export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGr
11194
11195
  nominalText?: string | null;
11195
11196
  type?: string | null;
11196
11197
  subType?: string | null;
11197
- unitOfMeasure?: string | null;
11198
11198
  plusTolerance?: string | null;
11199
11199
  minusTolerance?: string | null;
11200
11200
  upperLimit?: string | null;
@@ -11220,7 +11220,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
11220
11220
  nominalText?: string | null;
11221
11221
  type?: string | null;
11222
11222
  subType?: string | null;
11223
- unitOfMeasure?: string | null;
11224
11223
  plusTolerance?: string | null;
11225
11224
  minusTolerance?: string | null;
11226
11225
  upperLimit?: string | null;
@@ -11311,152 +11310,6 @@ export interface IMeasurementFormImportStatusDto {
11311
11310
  errorMessage: string;
11312
11311
  timestamp: Date;
11313
11312
  }
11314
- export declare class MeasurementFormElementDto implements IMeasurementFormElementDto {
11315
- id?: string | null;
11316
- imageUrl?: string | null;
11317
- thumbnailUrl?: string | null;
11318
- balloonId?: string | null;
11319
- section?: string | null;
11320
- pageNumber?: number;
11321
- sheetZone?: string | null;
11322
- places?: number | null;
11323
- nominal?: number | null;
11324
- nominalText?: string | null;
11325
- type?: string | null;
11326
- subType?: string | null;
11327
- unitOfMeasure?: string | null;
11328
- typeCharacter?: string | null;
11329
- plusTolerance?: number | null;
11330
- minusTolerance?: number | null;
11331
- upperLimit?: number | null;
11332
- lowerLimit?: number | null;
11333
- comments?: string | null;
11334
- updatedByUser?: string | null;
11335
- updatedDate?: Date | null;
11336
- createdByUser?: string | null;
11337
- createdDate?: Date;
11338
- frequency?: MeasurementFrequency;
11339
- frequencyParameter?: number | null;
11340
- includeInCustomerDocumentation?: boolean;
11341
- isDocumentedExternally?: boolean;
11342
- balloonSequence?: number | null;
11343
- balloonQuantity?: number | null;
11344
- plusToleranceText?: string | null;
11345
- minusToleranceText?: string | null;
11346
- coatingThickness?: number | null;
11347
- canCopy?: boolean;
11348
- valueType?: MeasurementFormValueType;
11349
- bonusType?: BonusType;
11350
- lowerWarningThreshold?: number | null;
11351
- upperWarningThreshold?: number | null;
11352
- machiningDimension?: number | null;
11353
- nominalInch?: number | null;
11354
- constructor(data?: IMeasurementFormElementDto);
11355
- init(_data?: any): void;
11356
- static fromJS(data: any): MeasurementFormElementDto;
11357
- toJSON(data?: any): any;
11358
- }
11359
- export interface IMeasurementFormElementDto {
11360
- id?: string | null;
11361
- imageUrl?: string | null;
11362
- thumbnailUrl?: string | null;
11363
- balloonId?: string | null;
11364
- section?: string | null;
11365
- pageNumber?: number;
11366
- sheetZone?: string | null;
11367
- places?: number | null;
11368
- nominal?: number | null;
11369
- nominalText?: string | null;
11370
- type?: string | null;
11371
- subType?: string | null;
11372
- unitOfMeasure?: string | null;
11373
- typeCharacter?: string | null;
11374
- plusTolerance?: number | null;
11375
- minusTolerance?: number | null;
11376
- upperLimit?: number | null;
11377
- lowerLimit?: number | null;
11378
- comments?: string | null;
11379
- updatedByUser?: string | null;
11380
- updatedDate?: Date | null;
11381
- createdByUser?: string | null;
11382
- createdDate?: Date;
11383
- frequency?: MeasurementFrequency;
11384
- frequencyParameter?: number | null;
11385
- includeInCustomerDocumentation?: boolean;
11386
- isDocumentedExternally?: boolean;
11387
- balloonSequence?: number | null;
11388
- balloonQuantity?: number | null;
11389
- plusToleranceText?: string | null;
11390
- minusToleranceText?: string | null;
11391
- coatingThickness?: number | null;
11392
- canCopy?: boolean;
11393
- valueType?: MeasurementFormValueType;
11394
- bonusType?: BonusType;
11395
- lowerWarningThreshold?: number | null;
11396
- upperWarningThreshold?: number | null;
11397
- machiningDimension?: number | null;
11398
- nominalInch?: number | null;
11399
- }
11400
- export declare class CreateSchemaElement implements ICreateSchemaElement {
11401
- balloonId?: string | null;
11402
- section?: string | null;
11403
- pageNumber?: number;
11404
- sheetZone?: string | null;
11405
- places?: number | null;
11406
- nominal?: number | null;
11407
- nominalText?: string | null;
11408
- type?: string | null;
11409
- subType?: string | null;
11410
- unitOfMeasure?: string | null;
11411
- plusTolerance?: number | null;
11412
- minusTolerance?: number | null;
11413
- upperLimit?: number | null;
11414
- lowerLimit?: number | null;
11415
- inspectionMethod?: string | null;
11416
- process?: string | null;
11417
- classification?: string | null;
11418
- comments?: string | null;
11419
- frequency?: number;
11420
- frequencyParameter?: number | null;
11421
- includeInCustomerDocumentation?: boolean;
11422
- balloonSequence?: number | null;
11423
- balloonQuantity?: number | null;
11424
- plusToleranceText?: string | null;
11425
- minusToleranceText?: string | null;
11426
- coatingThickness?: number | null;
11427
- constructor(data?: ICreateSchemaElement);
11428
- init(_data?: any): void;
11429
- static fromJS(data: any): CreateSchemaElement;
11430
- toJSON(data?: any): any;
11431
- }
11432
- export interface ICreateSchemaElement {
11433
- balloonId?: string | null;
11434
- section?: string | null;
11435
- pageNumber?: number;
11436
- sheetZone?: string | null;
11437
- places?: number | null;
11438
- nominal?: number | null;
11439
- nominalText?: string | null;
11440
- type?: string | null;
11441
- subType?: string | null;
11442
- unitOfMeasure?: string | null;
11443
- plusTolerance?: number | null;
11444
- minusTolerance?: number | null;
11445
- upperLimit?: number | null;
11446
- lowerLimit?: number | null;
11447
- inspectionMethod?: string | null;
11448
- process?: string | null;
11449
- classification?: string | null;
11450
- comments?: string | null;
11451
- frequency?: number;
11452
- frequencyParameter?: number | null;
11453
- includeInCustomerDocumentation?: boolean;
11454
- balloonSequence?: number | null;
11455
- balloonQuantity?: number | null;
11456
- plusToleranceText?: string | null;
11457
- minusToleranceText?: string | null;
11458
- coatingThickness?: number | null;
11459
- }
11460
11313
  export declare class ListLinkableMeasurementFormSchemasRequest implements IListLinkableMeasurementFormSchemasRequest {
11461
11314
  schemaId: string;
11462
11315
  pageSize?: number | null;
@@ -12485,7 +12338,7 @@ export declare class MeasurementFormInstanceElementDto implements IMeasurementFo
12485
12338
  thumbnailUrl?: string | null;
12486
12339
  balloonId?: string | null;
12487
12340
  section?: string | null;
12488
- pageNumber?: number;
12341
+ pageNumber?: number | null;
12489
12342
  sheetZone?: string | null;
12490
12343
  completed: boolean;
12491
12344
  places?: number | null;
@@ -12532,7 +12385,7 @@ export interface IMeasurementFormInstanceElementDto {
12532
12385
  thumbnailUrl?: string | null;
12533
12386
  balloonId?: string | null;
12534
12387
  section?: string | null;
12535
- pageNumber?: number;
12388
+ pageNumber?: number | null;
12536
12389
  sheetZone?: string | null;
12537
12390
  completed: boolean;
12538
12391
  places?: number | null;
@@ -12867,6 +12720,9 @@ export declare class ExportDimensionReportRequest implements IExportDimensionRep
12867
12720
  includeAllSchemasAndElements?: boolean | null;
12868
12721
  createBlankReport?: boolean | null;
12869
12722
  sequences?: string[] | null;
12723
+ customerPO?: string | null;
12724
+ workOrder?: string | null;
12725
+ comment?: string | null;
12870
12726
  constructor(data?: IExportDimensionReportRequest);
12871
12727
  init(_data?: any): void;
12872
12728
  static fromJS(data: any): ExportDimensionReportRequest;
@@ -12878,6 +12734,9 @@ export interface IExportDimensionReportRequest {
12878
12734
  includeAllSchemasAndElements?: boolean | null;
12879
12735
  createBlankReport?: boolean | null;
12880
12736
  sequences?: string[] | null;
12737
+ customerPO?: string | null;
12738
+ workOrder?: string | null;
12739
+ comment?: string | null;
12881
12740
  }
12882
12741
  export declare class UpdateSchemaInstanceElementsRequest implements IUpdateSchemaInstanceElementsRequest {
12883
12742
  elements?: SchemaInstanceElementDto[] | null;
@@ -16133,49 +16133,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
16133
16133
  }
16134
16134
  return Promise.resolve(null);
16135
16135
  }
16136
- createSchemaElement(schemaId, request) {
16137
- let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/elements";
16138
- if (schemaId === undefined || schemaId === null)
16139
- throw new Error("The parameter 'schemaId' must be defined.");
16140
- url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
16141
- url_ = url_.replace(/[?&]$/, "");
16142
- const content_ = JSON.stringify(request);
16143
- let options_ = {
16144
- body: content_,
16145
- method: "POST",
16146
- headers: {
16147
- "Content-Type": "application/json",
16148
- "Accept": "application/json"
16149
- }
16150
- };
16151
- return this.transformOptions(options_).then(transformedOptions_ => {
16152
- return this.http.fetch(url_, transformedOptions_);
16153
- }).then((_response) => {
16154
- return this.processCreateSchemaElement(_response);
16155
- });
16156
- }
16157
- processCreateSchemaElement(response) {
16158
- const status = response.status;
16159
- let _headers = {};
16160
- if (response.headers && response.headers.forEach) {
16161
- response.headers.forEach((v, k) => _headers[k] = v);
16162
- }
16163
- ;
16164
- if (status === 200) {
16165
- return response.text().then((_responseText) => {
16166
- let result200 = null;
16167
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
16168
- result200 = MeasurementFormElementDto.fromJS(resultData200);
16169
- return result200;
16170
- });
16171
- }
16172
- else if (status !== 200 && status !== 204) {
16173
- return response.text().then((_responseText) => {
16174
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
16175
- });
16176
- }
16177
- return Promise.resolve(null);
16178
- }
16179
16136
  listLinkableMeasurementFormSchemas(schemaId, pageSize, filter, continuationToken) {
16180
16137
  let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/listlinkableschemas?";
16181
16138
  if (schemaId === undefined || schemaId === null)
@@ -21757,6 +21714,8 @@ export class DowntimePeriodReasonDto {
21757
21714
  this.comment = _data["comment"];
21758
21715
  this.companyId = _data["companyId"];
21759
21716
  this.reasonId = _data["reasonId"];
21717
+ this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : undefined;
21718
+ this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : undefined;
21760
21719
  }
21761
21720
  }
21762
21721
  static fromJS(data) {
@@ -21776,6 +21735,40 @@ export class DowntimePeriodReasonDto {
21776
21735
  data["comment"] = this.comment;
21777
21736
  data["companyId"] = this.companyId;
21778
21737
  data["reasonId"] = this.reasonId;
21738
+ data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : undefined;
21739
+ data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : undefined;
21740
+ return data;
21741
+ }
21742
+ }
21743
+ export class EmployeeDto {
21744
+ constructor(data) {
21745
+ if (data) {
21746
+ for (var property in data) {
21747
+ if (data.hasOwnProperty(property))
21748
+ this[property] = data[property];
21749
+ }
21750
+ }
21751
+ }
21752
+ init(_data) {
21753
+ if (_data) {
21754
+ this.id = _data["id"];
21755
+ this.name = _data["name"];
21756
+ this.upn = _data["upn"];
21757
+ this.azureAdObjectId = _data["azureAdObjectId"];
21758
+ }
21759
+ }
21760
+ static fromJS(data) {
21761
+ data = typeof data === 'object' ? data : {};
21762
+ let result = new EmployeeDto();
21763
+ result.init(data);
21764
+ return result;
21765
+ }
21766
+ toJSON(data) {
21767
+ data = typeof data === 'object' ? data : {};
21768
+ data["id"] = this.id;
21769
+ data["name"] = this.name;
21770
+ data["upn"] = this.upn;
21771
+ data["azureAdObjectId"] = this.azureAdObjectId;
21779
21772
  return data;
21780
21773
  }
21781
21774
  }
@@ -29020,38 +29013,6 @@ export class OperatorAndMachineDto {
29020
29013
  return data;
29021
29014
  }
29022
29015
  }
29023
- export class EmployeeDto {
29024
- constructor(data) {
29025
- if (data) {
29026
- for (var property in data) {
29027
- if (data.hasOwnProperty(property))
29028
- this[property] = data[property];
29029
- }
29030
- }
29031
- }
29032
- init(_data) {
29033
- if (_data) {
29034
- this.id = _data["id"];
29035
- this.name = _data["name"];
29036
- this.upn = _data["upn"];
29037
- this.azureAdObjectId = _data["azureAdObjectId"];
29038
- }
29039
- }
29040
- static fromJS(data) {
29041
- data = typeof data === 'object' ? data : {};
29042
- let result = new EmployeeDto();
29043
- result.init(data);
29044
- return result;
29045
- }
29046
- toJSON(data) {
29047
- data = typeof data === 'object' ? data : {};
29048
- data["id"] = this.id;
29049
- data["name"] = this.name;
29050
- data["upn"] = this.upn;
29051
- data["azureAdObjectId"] = this.azureAdObjectId;
29052
- return data;
29053
- }
29054
- }
29055
29016
  export class CreateMachineWithoutResource {
29056
29017
  constructor(data) {
29057
29018
  if (data) {
@@ -38999,7 +38960,6 @@ export class UpdateSchemaGroupedElementRowDto {
38999
38960
  this.nominalText = _data["nominalText"];
39000
38961
  this.type = _data["type"];
39001
38962
  this.subType = _data["subType"];
39002
- this.unitOfMeasure = _data["unitOfMeasure"];
39003
38963
  this.plusTolerance = _data["plusTolerance"];
39004
38964
  this.minusTolerance = _data["minusTolerance"];
39005
38965
  this.upperLimit = _data["upperLimit"];
@@ -39029,7 +38989,6 @@ export class UpdateSchemaGroupedElementRowDto {
39029
38989
  data["nominalText"] = this.nominalText;
39030
38990
  data["type"] = this.type;
39031
38991
  data["subType"] = this.subType;
39032
- data["unitOfMeasure"] = this.unitOfMeasure;
39033
38992
  data["plusTolerance"] = this.plusTolerance;
39034
38993
  data["minusTolerance"] = this.minusTolerance;
39035
38994
  data["upperLimit"] = this.upperLimit;
@@ -39229,184 +39188,6 @@ export class MeasurementFormImportStatusDto {
39229
39188
  return data;
39230
39189
  }
39231
39190
  }
39232
- export class MeasurementFormElementDto {
39233
- constructor(data) {
39234
- if (data) {
39235
- for (var property in data) {
39236
- if (data.hasOwnProperty(property))
39237
- this[property] = data[property];
39238
- }
39239
- }
39240
- }
39241
- init(_data) {
39242
- if (_data) {
39243
- this.id = _data["id"];
39244
- this.imageUrl = _data["imageUrl"];
39245
- this.thumbnailUrl = _data["thumbnailUrl"];
39246
- this.balloonId = _data["balloonId"];
39247
- this.section = _data["section"];
39248
- this.pageNumber = _data["pageNumber"];
39249
- this.sheetZone = _data["sheetZone"];
39250
- this.places = _data["places"];
39251
- this.nominal = _data["nominal"];
39252
- this.nominalText = _data["nominalText"];
39253
- this.type = _data["type"];
39254
- this.subType = _data["subType"];
39255
- this.unitOfMeasure = _data["unitOfMeasure"];
39256
- this.typeCharacter = _data["typeCharacter"];
39257
- this.plusTolerance = _data["plusTolerance"];
39258
- this.minusTolerance = _data["minusTolerance"];
39259
- this.upperLimit = _data["upperLimit"];
39260
- this.lowerLimit = _data["lowerLimit"];
39261
- this.comments = _data["comments"];
39262
- this.updatedByUser = _data["updatedByUser"];
39263
- this.updatedDate = _data["updatedDate"] ? new Date(_data["updatedDate"].toString()) : undefined;
39264
- this.createdByUser = _data["createdByUser"];
39265
- this.createdDate = _data["createdDate"] ? new Date(_data["createdDate"].toString()) : undefined;
39266
- this.frequency = _data["frequency"];
39267
- this.frequencyParameter = _data["frequencyParameter"];
39268
- this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
39269
- this.isDocumentedExternally = _data["isDocumentedExternally"];
39270
- this.balloonSequence = _data["balloonSequence"];
39271
- this.balloonQuantity = _data["balloonQuantity"];
39272
- this.plusToleranceText = _data["plusToleranceText"];
39273
- this.minusToleranceText = _data["minusToleranceText"];
39274
- this.coatingThickness = _data["coatingThickness"];
39275
- this.canCopy = _data["canCopy"];
39276
- this.valueType = _data["valueType"];
39277
- this.bonusType = _data["bonusType"];
39278
- this.lowerWarningThreshold = _data["lowerWarningThreshold"];
39279
- this.upperWarningThreshold = _data["upperWarningThreshold"];
39280
- this.machiningDimension = _data["machiningDimension"];
39281
- this.nominalInch = _data["nominalInch"];
39282
- }
39283
- }
39284
- static fromJS(data) {
39285
- data = typeof data === 'object' ? data : {};
39286
- let result = new MeasurementFormElementDto();
39287
- result.init(data);
39288
- return result;
39289
- }
39290
- toJSON(data) {
39291
- data = typeof data === 'object' ? data : {};
39292
- data["id"] = this.id;
39293
- data["imageUrl"] = this.imageUrl;
39294
- data["thumbnailUrl"] = this.thumbnailUrl;
39295
- data["balloonId"] = this.balloonId;
39296
- data["section"] = this.section;
39297
- data["pageNumber"] = this.pageNumber;
39298
- data["sheetZone"] = this.sheetZone;
39299
- data["places"] = this.places;
39300
- data["nominal"] = this.nominal;
39301
- data["nominalText"] = this.nominalText;
39302
- data["type"] = this.type;
39303
- data["subType"] = this.subType;
39304
- data["unitOfMeasure"] = this.unitOfMeasure;
39305
- data["typeCharacter"] = this.typeCharacter;
39306
- data["plusTolerance"] = this.plusTolerance;
39307
- data["minusTolerance"] = this.minusTolerance;
39308
- data["upperLimit"] = this.upperLimit;
39309
- data["lowerLimit"] = this.lowerLimit;
39310
- data["comments"] = this.comments;
39311
- data["updatedByUser"] = this.updatedByUser;
39312
- data["updatedDate"] = this.updatedDate ? this.updatedDate.toISOString() : undefined;
39313
- data["createdByUser"] = this.createdByUser;
39314
- data["createdDate"] = this.createdDate ? this.createdDate.toISOString() : undefined;
39315
- data["frequency"] = this.frequency;
39316
- data["frequencyParameter"] = this.frequencyParameter;
39317
- data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
39318
- data["isDocumentedExternally"] = this.isDocumentedExternally;
39319
- data["balloonSequence"] = this.balloonSequence;
39320
- data["balloonQuantity"] = this.balloonQuantity;
39321
- data["plusToleranceText"] = this.plusToleranceText;
39322
- data["minusToleranceText"] = this.minusToleranceText;
39323
- data["coatingThickness"] = this.coatingThickness;
39324
- data["canCopy"] = this.canCopy;
39325
- data["valueType"] = this.valueType;
39326
- data["bonusType"] = this.bonusType;
39327
- data["lowerWarningThreshold"] = this.lowerWarningThreshold;
39328
- data["upperWarningThreshold"] = this.upperWarningThreshold;
39329
- data["machiningDimension"] = this.machiningDimension;
39330
- data["nominalInch"] = this.nominalInch;
39331
- return data;
39332
- }
39333
- }
39334
- export class CreateSchemaElement {
39335
- constructor(data) {
39336
- if (data) {
39337
- for (var property in data) {
39338
- if (data.hasOwnProperty(property))
39339
- this[property] = data[property];
39340
- }
39341
- }
39342
- }
39343
- init(_data) {
39344
- if (_data) {
39345
- this.balloonId = _data["balloonId"];
39346
- this.section = _data["section"];
39347
- this.pageNumber = _data["pageNumber"];
39348
- this.sheetZone = _data["sheetZone"];
39349
- this.places = _data["places"];
39350
- this.nominal = _data["nominal"];
39351
- this.nominalText = _data["nominalText"];
39352
- this.type = _data["type"];
39353
- this.subType = _data["subType"];
39354
- this.unitOfMeasure = _data["unitOfMeasure"];
39355
- this.plusTolerance = _data["plusTolerance"];
39356
- this.minusTolerance = _data["minusTolerance"];
39357
- this.upperLimit = _data["upperLimit"];
39358
- this.lowerLimit = _data["lowerLimit"];
39359
- this.inspectionMethod = _data["inspectionMethod"];
39360
- this.process = _data["process"];
39361
- this.classification = _data["classification"];
39362
- this.comments = _data["comments"];
39363
- this.frequency = _data["frequency"];
39364
- this.frequencyParameter = _data["frequencyParameter"];
39365
- this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
39366
- this.balloonSequence = _data["balloonSequence"];
39367
- this.balloonQuantity = _data["balloonQuantity"];
39368
- this.plusToleranceText = _data["plusToleranceText"];
39369
- this.minusToleranceText = _data["minusToleranceText"];
39370
- this.coatingThickness = _data["coatingThickness"];
39371
- }
39372
- }
39373
- static fromJS(data) {
39374
- data = typeof data === 'object' ? data : {};
39375
- let result = new CreateSchemaElement();
39376
- result.init(data);
39377
- return result;
39378
- }
39379
- toJSON(data) {
39380
- data = typeof data === 'object' ? data : {};
39381
- data["balloonId"] = this.balloonId;
39382
- data["section"] = this.section;
39383
- data["pageNumber"] = this.pageNumber;
39384
- data["sheetZone"] = this.sheetZone;
39385
- data["places"] = this.places;
39386
- data["nominal"] = this.nominal;
39387
- data["nominalText"] = this.nominalText;
39388
- data["type"] = this.type;
39389
- data["subType"] = this.subType;
39390
- data["unitOfMeasure"] = this.unitOfMeasure;
39391
- data["plusTolerance"] = this.plusTolerance;
39392
- data["minusTolerance"] = this.minusTolerance;
39393
- data["upperLimit"] = this.upperLimit;
39394
- data["lowerLimit"] = this.lowerLimit;
39395
- data["inspectionMethod"] = this.inspectionMethod;
39396
- data["process"] = this.process;
39397
- data["classification"] = this.classification;
39398
- data["comments"] = this.comments;
39399
- data["frequency"] = this.frequency;
39400
- data["frequencyParameter"] = this.frequencyParameter;
39401
- data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
39402
- data["balloonSequence"] = this.balloonSequence;
39403
- data["balloonQuantity"] = this.balloonQuantity;
39404
- data["plusToleranceText"] = this.plusToleranceText;
39405
- data["minusToleranceText"] = this.minusToleranceText;
39406
- data["coatingThickness"] = this.coatingThickness;
39407
- return data;
39408
- }
39409
- }
39410
39191
  export class ListLinkableMeasurementFormSchemasRequest {
39411
39192
  constructor(data) {
39412
39193
  if (data) {
@@ -42212,6 +41993,9 @@ export class ExportDimensionReportRequest {
42212
41993
  for (let item of _data["sequences"])
42213
41994
  this.sequences.push(item);
42214
41995
  }
41996
+ this.customerPO = _data["customerPO"];
41997
+ this.workOrder = _data["workOrder"];
41998
+ this.comment = _data["comment"];
42215
41999
  }
42216
42000
  }
42217
42001
  static fromJS(data) {
@@ -42231,6 +42015,9 @@ export class ExportDimensionReportRequest {
42231
42015
  for (let item of this.sequences)
42232
42016
  data["sequences"].push(item);
42233
42017
  }
42018
+ data["customerPO"] = this.customerPO;
42019
+ data["workOrder"] = this.workOrder;
42020
+ data["comment"] = this.comment;
42234
42021
  return data;
42235
42022
  }
42236
42023
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250409.0.11486",
3
+ "version": "20250424.0.11570",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -16596,8 +16596,6 @@ export interface IMeasurementFormSchemasClient {
16596
16596
 
16597
16597
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
16598
16598
 
16599
- createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto>;
16600
-
16601
16599
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
16602
16600
 
16603
16601
  postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
@@ -17329,49 +17327,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
17329
17327
  return Promise.resolve<MeasurementFormImportStatusDto>(null as any);
17330
17328
  }
17331
17329
 
17332
- createSchemaElement(schemaId: string, request: CreateSchemaElement): Promise<MeasurementFormElementDto> {
17333
- let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/elements";
17334
- if (schemaId === undefined || schemaId === null)
17335
- throw new Error("The parameter 'schemaId' must be defined.");
17336
- url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
17337
- url_ = url_.replace(/[?&]$/, "");
17338
-
17339
- const content_ = JSON.stringify(request);
17340
-
17341
- let options_: RequestInit = {
17342
- body: content_,
17343
- method: "POST",
17344
- headers: {
17345
- "Content-Type": "application/json",
17346
- "Accept": "application/json"
17347
- }
17348
- };
17349
-
17350
- return this.transformOptions(options_).then(transformedOptions_ => {
17351
- return this.http.fetch(url_, transformedOptions_);
17352
- }).then((_response: Response) => {
17353
- return this.processCreateSchemaElement(_response);
17354
- });
17355
- }
17356
-
17357
- protected processCreateSchemaElement(response: Response): Promise<MeasurementFormElementDto> {
17358
- const status = response.status;
17359
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
17360
- if (status === 200) {
17361
- return response.text().then((_responseText) => {
17362
- let result200: any = null;
17363
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
17364
- result200 = MeasurementFormElementDto.fromJS(resultData200);
17365
- return result200;
17366
- });
17367
- } else if (status !== 200 && status !== 204) {
17368
- return response.text().then((_responseText) => {
17369
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
17370
- });
17371
- }
17372
- return Promise.resolve<MeasurementFormElementDto>(null as any);
17373
- }
17374
-
17375
17330
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto> {
17376
17331
  let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/listlinkableschemas?";
17377
17332
  if (schemaId === undefined || schemaId === null)
@@ -23430,6 +23385,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23430
23385
  comment?: string | null;
23431
23386
  companyId?: string | null;
23432
23387
  reasonId!: string;
23388
+ createdBy?: EmployeeDto | null;
23389
+ updatedBy?: EmployeeDto | null;
23433
23390
 
23434
23391
  constructor(data?: IDowntimePeriodReasonDto) {
23435
23392
  if (data) {
@@ -23451,6 +23408,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23451
23408
  this.comment = _data["comment"];
23452
23409
  this.companyId = _data["companyId"];
23453
23410
  this.reasonId = _data["reasonId"];
23411
+ this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : <any>undefined;
23412
+ this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : <any>undefined;
23454
23413
  }
23455
23414
  }
23456
23415
 
@@ -23472,6 +23431,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23472
23431
  data["comment"] = this.comment;
23473
23432
  data["companyId"] = this.companyId;
23474
23433
  data["reasonId"] = this.reasonId;
23434
+ data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : <any>undefined;
23435
+ data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : <any>undefined;
23475
23436
  return data;
23476
23437
  }
23477
23438
  }
@@ -23486,10 +23447,60 @@ export interface IDowntimePeriodReasonDto {
23486
23447
  comment?: string | null;
23487
23448
  companyId?: string | null;
23488
23449
  reasonId: string;
23450
+ createdBy?: EmployeeDto | null;
23451
+ updatedBy?: EmployeeDto | null;
23489
23452
  }
23490
23453
 
23491
23454
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
23492
23455
 
23456
+ export class EmployeeDto implements IEmployeeDto {
23457
+ id?: string | null;
23458
+ name?: string | null;
23459
+ upn?: string | null;
23460
+ azureAdObjectId?: string | null;
23461
+
23462
+ constructor(data?: IEmployeeDto) {
23463
+ if (data) {
23464
+ for (var property in data) {
23465
+ if (data.hasOwnProperty(property))
23466
+ (<any>this)[property] = (<any>data)[property];
23467
+ }
23468
+ }
23469
+ }
23470
+
23471
+ init(_data?: any) {
23472
+ if (_data) {
23473
+ this.id = _data["id"];
23474
+ this.name = _data["name"];
23475
+ this.upn = _data["upn"];
23476
+ this.azureAdObjectId = _data["azureAdObjectId"];
23477
+ }
23478
+ }
23479
+
23480
+ static fromJS(data: any): EmployeeDto {
23481
+ data = typeof data === 'object' ? data : {};
23482
+ let result = new EmployeeDto();
23483
+ result.init(data);
23484
+ return result;
23485
+ }
23486
+
23487
+ toJSON(data?: any) {
23488
+ data = typeof data === 'object' ? data : {};
23489
+ data["id"] = this.id;
23490
+ data["name"] = this.name;
23491
+ data["upn"] = this.upn;
23492
+ data["azureAdObjectId"] = this.azureAdObjectId;
23493
+ return data;
23494
+ }
23495
+ }
23496
+
23497
+ export interface IEmployeeDto {
23498
+ id?: string | null;
23499
+ name?: string | null;
23500
+ upn?: string | null;
23501
+ azureAdObjectId?: string | null;
23502
+ }
23503
+
23493
23504
  export class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
23494
23505
  machineUptimes!: MachineUptimeDto[];
23495
23506
  sum!: MachineUptimeSumDto;
@@ -34061,54 +34072,6 @@ export interface IOperatorAndMachineDto {
34061
34072
  machine?: MachineDto | null;
34062
34073
  }
34063
34074
 
34064
- export class EmployeeDto implements IEmployeeDto {
34065
- id?: string | null;
34066
- name?: string | null;
34067
- upn?: string | null;
34068
- azureAdObjectId?: string | null;
34069
-
34070
- constructor(data?: IEmployeeDto) {
34071
- if (data) {
34072
- for (var property in data) {
34073
- if (data.hasOwnProperty(property))
34074
- (<any>this)[property] = (<any>data)[property];
34075
- }
34076
- }
34077
- }
34078
-
34079
- init(_data?: any) {
34080
- if (_data) {
34081
- this.id = _data["id"];
34082
- this.name = _data["name"];
34083
- this.upn = _data["upn"];
34084
- this.azureAdObjectId = _data["azureAdObjectId"];
34085
- }
34086
- }
34087
-
34088
- static fromJS(data: any): EmployeeDto {
34089
- data = typeof data === 'object' ? data : {};
34090
- let result = new EmployeeDto();
34091
- result.init(data);
34092
- return result;
34093
- }
34094
-
34095
- toJSON(data?: any) {
34096
- data = typeof data === 'object' ? data : {};
34097
- data["id"] = this.id;
34098
- data["name"] = this.name;
34099
- data["upn"] = this.upn;
34100
- data["azureAdObjectId"] = this.azureAdObjectId;
34101
- return data;
34102
- }
34103
- }
34104
-
34105
- export interface IEmployeeDto {
34106
- id?: string | null;
34107
- name?: string | null;
34108
- upn?: string | null;
34109
- azureAdObjectId?: string | null;
34110
- }
34111
-
34112
34075
  export class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
34113
34076
  id!: string;
34114
34077
  name!: string;
@@ -48461,7 +48424,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
48461
48424
  imageUrl?: string | null;
48462
48425
  thumbnailUrl?: string | null;
48463
48426
  section?: string | null;
48464
- pageNumber?: number;
48427
+ pageNumber?: number | null;
48465
48428
  sheetZone?: string | null;
48466
48429
  places?: number | null;
48467
48430
  nominal?: number | null;
@@ -48607,7 +48570,7 @@ export interface IMeasurementFormGroupedElementDto {
48607
48570
  imageUrl?: string | null;
48608
48571
  thumbnailUrl?: string | null;
48609
48572
  section?: string | null;
48610
- pageNumber?: number;
48573
+ pageNumber?: number | null;
48611
48574
  sheetZone?: string | null;
48612
48575
  places?: number | null;
48613
48576
  nominal?: number | null;
@@ -49096,7 +49059,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49096
49059
  nominalText?: string | null;
49097
49060
  type?: string | null;
49098
49061
  subType?: string | null;
49099
- unitOfMeasure?: string | null;
49100
49062
  plusTolerance?: string | null;
49101
49063
  minusTolerance?: string | null;
49102
49064
  upperLimit?: string | null;
@@ -49128,7 +49090,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49128
49090
  this.nominalText = _data["nominalText"];
49129
49091
  this.type = _data["type"];
49130
49092
  this.subType = _data["subType"];
49131
- this.unitOfMeasure = _data["unitOfMeasure"];
49132
49093
  this.plusTolerance = _data["plusTolerance"];
49133
49094
  this.minusTolerance = _data["minusTolerance"];
49134
49095
  this.upperLimit = _data["upperLimit"];
@@ -49160,7 +49121,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49160
49121
  data["nominalText"] = this.nominalText;
49161
49122
  data["type"] = this.type;
49162
49123
  data["subType"] = this.subType;
49163
- data["unitOfMeasure"] = this.unitOfMeasure;
49164
49124
  data["plusTolerance"] = this.plusTolerance;
49165
49125
  data["minusTolerance"] = this.minusTolerance;
49166
49126
  data["upperLimit"] = this.upperLimit;
@@ -49185,7 +49145,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
49185
49145
  nominalText?: string | null;
49186
49146
  type?: string | null;
49187
49147
  subType?: string | null;
49188
- unitOfMeasure?: string | null;
49189
49148
  plusTolerance?: string | null;
49190
49149
  minusTolerance?: string | null;
49191
49150
  upperLimit?: string | null;
@@ -49462,330 +49421,6 @@ export interface IMeasurementFormImportStatusDto {
49462
49421
  timestamp: Date;
49463
49422
  }
49464
49423
 
49465
- export class MeasurementFormElementDto implements IMeasurementFormElementDto {
49466
- id?: string | null;
49467
- imageUrl?: string | null;
49468
- thumbnailUrl?: string | null;
49469
- balloonId?: string | null;
49470
- section?: string | null;
49471
- pageNumber?: number;
49472
- sheetZone?: string | null;
49473
- places?: number | null;
49474
- nominal?: number | null;
49475
- nominalText?: string | null;
49476
- type?: string | null;
49477
- subType?: string | null;
49478
- unitOfMeasure?: string | null;
49479
- typeCharacter?: string | null;
49480
- plusTolerance?: number | null;
49481
- minusTolerance?: number | null;
49482
- upperLimit?: number | null;
49483
- lowerLimit?: number | null;
49484
- comments?: string | null;
49485
- updatedByUser?: string | null;
49486
- updatedDate?: Date | null;
49487
- createdByUser?: string | null;
49488
- createdDate?: Date;
49489
- frequency?: MeasurementFrequency;
49490
- frequencyParameter?: number | null;
49491
- includeInCustomerDocumentation?: boolean;
49492
- isDocumentedExternally?: boolean;
49493
- balloonSequence?: number | null;
49494
- balloonQuantity?: number | null;
49495
- plusToleranceText?: string | null;
49496
- minusToleranceText?: string | null;
49497
- coatingThickness?: number | null;
49498
- canCopy?: boolean;
49499
- valueType?: MeasurementFormValueType;
49500
- bonusType?: BonusType;
49501
- lowerWarningThreshold?: number | null;
49502
- upperWarningThreshold?: number | null;
49503
- machiningDimension?: number | null;
49504
- nominalInch?: number | null;
49505
-
49506
- constructor(data?: IMeasurementFormElementDto) {
49507
- if (data) {
49508
- for (var property in data) {
49509
- if (data.hasOwnProperty(property))
49510
- (<any>this)[property] = (<any>data)[property];
49511
- }
49512
- }
49513
- }
49514
-
49515
- init(_data?: any) {
49516
- if (_data) {
49517
- this.id = _data["id"];
49518
- this.imageUrl = _data["imageUrl"];
49519
- this.thumbnailUrl = _data["thumbnailUrl"];
49520
- this.balloonId = _data["balloonId"];
49521
- this.section = _data["section"];
49522
- this.pageNumber = _data["pageNumber"];
49523
- this.sheetZone = _data["sheetZone"];
49524
- this.places = _data["places"];
49525
- this.nominal = _data["nominal"];
49526
- this.nominalText = _data["nominalText"];
49527
- this.type = _data["type"];
49528
- this.subType = _data["subType"];
49529
- this.unitOfMeasure = _data["unitOfMeasure"];
49530
- this.typeCharacter = _data["typeCharacter"];
49531
- this.plusTolerance = _data["plusTolerance"];
49532
- this.minusTolerance = _data["minusTolerance"];
49533
- this.upperLimit = _data["upperLimit"];
49534
- this.lowerLimit = _data["lowerLimit"];
49535
- this.comments = _data["comments"];
49536
- this.updatedByUser = _data["updatedByUser"];
49537
- this.updatedDate = _data["updatedDate"] ? new Date(_data["updatedDate"].toString()) : <any>undefined;
49538
- this.createdByUser = _data["createdByUser"];
49539
- this.createdDate = _data["createdDate"] ? new Date(_data["createdDate"].toString()) : <any>undefined;
49540
- this.frequency = _data["frequency"];
49541
- this.frequencyParameter = _data["frequencyParameter"];
49542
- this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
49543
- this.isDocumentedExternally = _data["isDocumentedExternally"];
49544
- this.balloonSequence = _data["balloonSequence"];
49545
- this.balloonQuantity = _data["balloonQuantity"];
49546
- this.plusToleranceText = _data["plusToleranceText"];
49547
- this.minusToleranceText = _data["minusToleranceText"];
49548
- this.coatingThickness = _data["coatingThickness"];
49549
- this.canCopy = _data["canCopy"];
49550
- this.valueType = _data["valueType"];
49551
- this.bonusType = _data["bonusType"];
49552
- this.lowerWarningThreshold = _data["lowerWarningThreshold"];
49553
- this.upperWarningThreshold = _data["upperWarningThreshold"];
49554
- this.machiningDimension = _data["machiningDimension"];
49555
- this.nominalInch = _data["nominalInch"];
49556
- }
49557
- }
49558
-
49559
- static fromJS(data: any): MeasurementFormElementDto {
49560
- data = typeof data === 'object' ? data : {};
49561
- let result = new MeasurementFormElementDto();
49562
- result.init(data);
49563
- return result;
49564
- }
49565
-
49566
- toJSON(data?: any) {
49567
- data = typeof data === 'object' ? data : {};
49568
- data["id"] = this.id;
49569
- data["imageUrl"] = this.imageUrl;
49570
- data["thumbnailUrl"] = this.thumbnailUrl;
49571
- data["balloonId"] = this.balloonId;
49572
- data["section"] = this.section;
49573
- data["pageNumber"] = this.pageNumber;
49574
- data["sheetZone"] = this.sheetZone;
49575
- data["places"] = this.places;
49576
- data["nominal"] = this.nominal;
49577
- data["nominalText"] = this.nominalText;
49578
- data["type"] = this.type;
49579
- data["subType"] = this.subType;
49580
- data["unitOfMeasure"] = this.unitOfMeasure;
49581
- data["typeCharacter"] = this.typeCharacter;
49582
- data["plusTolerance"] = this.plusTolerance;
49583
- data["minusTolerance"] = this.minusTolerance;
49584
- data["upperLimit"] = this.upperLimit;
49585
- data["lowerLimit"] = this.lowerLimit;
49586
- data["comments"] = this.comments;
49587
- data["updatedByUser"] = this.updatedByUser;
49588
- data["updatedDate"] = this.updatedDate ? this.updatedDate.toISOString() : <any>undefined;
49589
- data["createdByUser"] = this.createdByUser;
49590
- data["createdDate"] = this.createdDate ? this.createdDate.toISOString() : <any>undefined;
49591
- data["frequency"] = this.frequency;
49592
- data["frequencyParameter"] = this.frequencyParameter;
49593
- data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
49594
- data["isDocumentedExternally"] = this.isDocumentedExternally;
49595
- data["balloonSequence"] = this.balloonSequence;
49596
- data["balloonQuantity"] = this.balloonQuantity;
49597
- data["plusToleranceText"] = this.plusToleranceText;
49598
- data["minusToleranceText"] = this.minusToleranceText;
49599
- data["coatingThickness"] = this.coatingThickness;
49600
- data["canCopy"] = this.canCopy;
49601
- data["valueType"] = this.valueType;
49602
- data["bonusType"] = this.bonusType;
49603
- data["lowerWarningThreshold"] = this.lowerWarningThreshold;
49604
- data["upperWarningThreshold"] = this.upperWarningThreshold;
49605
- data["machiningDimension"] = this.machiningDimension;
49606
- data["nominalInch"] = this.nominalInch;
49607
- return data;
49608
- }
49609
- }
49610
-
49611
- export interface IMeasurementFormElementDto {
49612
- id?: string | null;
49613
- imageUrl?: string | null;
49614
- thumbnailUrl?: string | null;
49615
- balloonId?: string | null;
49616
- section?: string | null;
49617
- pageNumber?: number;
49618
- sheetZone?: string | null;
49619
- places?: number | null;
49620
- nominal?: number | null;
49621
- nominalText?: string | null;
49622
- type?: string | null;
49623
- subType?: string | null;
49624
- unitOfMeasure?: string | null;
49625
- typeCharacter?: string | null;
49626
- plusTolerance?: number | null;
49627
- minusTolerance?: number | null;
49628
- upperLimit?: number | null;
49629
- lowerLimit?: number | null;
49630
- comments?: string | null;
49631
- updatedByUser?: string | null;
49632
- updatedDate?: Date | null;
49633
- createdByUser?: string | null;
49634
- createdDate?: Date;
49635
- frequency?: MeasurementFrequency;
49636
- frequencyParameter?: number | null;
49637
- includeInCustomerDocumentation?: boolean;
49638
- isDocumentedExternally?: boolean;
49639
- balloonSequence?: number | null;
49640
- balloonQuantity?: number | null;
49641
- plusToleranceText?: string | null;
49642
- minusToleranceText?: string | null;
49643
- coatingThickness?: number | null;
49644
- canCopy?: boolean;
49645
- valueType?: MeasurementFormValueType;
49646
- bonusType?: BonusType;
49647
- lowerWarningThreshold?: number | null;
49648
- upperWarningThreshold?: number | null;
49649
- machiningDimension?: number | null;
49650
- nominalInch?: number | null;
49651
- }
49652
-
49653
- export class CreateSchemaElement implements ICreateSchemaElement {
49654
- balloonId?: string | null;
49655
- section?: string | null;
49656
- pageNumber?: number;
49657
- sheetZone?: string | null;
49658
- places?: number | null;
49659
- nominal?: number | null;
49660
- nominalText?: string | null;
49661
- type?: string | null;
49662
- subType?: string | null;
49663
- unitOfMeasure?: string | null;
49664
- plusTolerance?: number | null;
49665
- minusTolerance?: number | null;
49666
- upperLimit?: number | null;
49667
- lowerLimit?: number | null;
49668
- inspectionMethod?: string | null;
49669
- process?: string | null;
49670
- classification?: string | null;
49671
- comments?: string | null;
49672
- frequency?: number;
49673
- frequencyParameter?: number | null;
49674
- includeInCustomerDocumentation?: boolean;
49675
- balloonSequence?: number | null;
49676
- balloonQuantity?: number | null;
49677
- plusToleranceText?: string | null;
49678
- minusToleranceText?: string | null;
49679
- coatingThickness?: number | null;
49680
-
49681
- constructor(data?: ICreateSchemaElement) {
49682
- if (data) {
49683
- for (var property in data) {
49684
- if (data.hasOwnProperty(property))
49685
- (<any>this)[property] = (<any>data)[property];
49686
- }
49687
- }
49688
- }
49689
-
49690
- init(_data?: any) {
49691
- if (_data) {
49692
- this.balloonId = _data["balloonId"];
49693
- this.section = _data["section"];
49694
- this.pageNumber = _data["pageNumber"];
49695
- this.sheetZone = _data["sheetZone"];
49696
- this.places = _data["places"];
49697
- this.nominal = _data["nominal"];
49698
- this.nominalText = _data["nominalText"];
49699
- this.type = _data["type"];
49700
- this.subType = _data["subType"];
49701
- this.unitOfMeasure = _data["unitOfMeasure"];
49702
- this.plusTolerance = _data["plusTolerance"];
49703
- this.minusTolerance = _data["minusTolerance"];
49704
- this.upperLimit = _data["upperLimit"];
49705
- this.lowerLimit = _data["lowerLimit"];
49706
- this.inspectionMethod = _data["inspectionMethod"];
49707
- this.process = _data["process"];
49708
- this.classification = _data["classification"];
49709
- this.comments = _data["comments"];
49710
- this.frequency = _data["frequency"];
49711
- this.frequencyParameter = _data["frequencyParameter"];
49712
- this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
49713
- this.balloonSequence = _data["balloonSequence"];
49714
- this.balloonQuantity = _data["balloonQuantity"];
49715
- this.plusToleranceText = _data["plusToleranceText"];
49716
- this.minusToleranceText = _data["minusToleranceText"];
49717
- this.coatingThickness = _data["coatingThickness"];
49718
- }
49719
- }
49720
-
49721
- static fromJS(data: any): CreateSchemaElement {
49722
- data = typeof data === 'object' ? data : {};
49723
- let result = new CreateSchemaElement();
49724
- result.init(data);
49725
- return result;
49726
- }
49727
-
49728
- toJSON(data?: any) {
49729
- data = typeof data === 'object' ? data : {};
49730
- data["balloonId"] = this.balloonId;
49731
- data["section"] = this.section;
49732
- data["pageNumber"] = this.pageNumber;
49733
- data["sheetZone"] = this.sheetZone;
49734
- data["places"] = this.places;
49735
- data["nominal"] = this.nominal;
49736
- data["nominalText"] = this.nominalText;
49737
- data["type"] = this.type;
49738
- data["subType"] = this.subType;
49739
- data["unitOfMeasure"] = this.unitOfMeasure;
49740
- data["plusTolerance"] = this.plusTolerance;
49741
- data["minusTolerance"] = this.minusTolerance;
49742
- data["upperLimit"] = this.upperLimit;
49743
- data["lowerLimit"] = this.lowerLimit;
49744
- data["inspectionMethod"] = this.inspectionMethod;
49745
- data["process"] = this.process;
49746
- data["classification"] = this.classification;
49747
- data["comments"] = this.comments;
49748
- data["frequency"] = this.frequency;
49749
- data["frequencyParameter"] = this.frequencyParameter;
49750
- data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
49751
- data["balloonSequence"] = this.balloonSequence;
49752
- data["balloonQuantity"] = this.balloonQuantity;
49753
- data["plusToleranceText"] = this.plusToleranceText;
49754
- data["minusToleranceText"] = this.minusToleranceText;
49755
- data["coatingThickness"] = this.coatingThickness;
49756
- return data;
49757
- }
49758
- }
49759
-
49760
- export interface ICreateSchemaElement {
49761
- balloonId?: string | null;
49762
- section?: string | null;
49763
- pageNumber?: number;
49764
- sheetZone?: string | null;
49765
- places?: number | null;
49766
- nominal?: number | null;
49767
- nominalText?: string | null;
49768
- type?: string | null;
49769
- subType?: string | null;
49770
- unitOfMeasure?: string | null;
49771
- plusTolerance?: number | null;
49772
- minusTolerance?: number | null;
49773
- upperLimit?: number | null;
49774
- lowerLimit?: number | null;
49775
- inspectionMethod?: string | null;
49776
- process?: string | null;
49777
- classification?: string | null;
49778
- comments?: string | null;
49779
- frequency?: number;
49780
- frequencyParameter?: number | null;
49781
- includeInCustomerDocumentation?: boolean;
49782
- balloonSequence?: number | null;
49783
- balloonQuantity?: number | null;
49784
- plusToleranceText?: string | null;
49785
- minusToleranceText?: string | null;
49786
- coatingThickness?: number | null;
49787
- }
49788
-
49789
49424
  export class ListLinkableMeasurementFormSchemasRequest implements IListLinkableMeasurementFormSchemasRequest {
49790
49425
  schemaId!: string;
49791
49426
  pageSize?: number | null;
@@ -52865,7 +52500,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
52865
52500
  thumbnailUrl?: string | null;
52866
52501
  balloonId?: string | null;
52867
52502
  section?: string | null;
52868
- pageNumber?: number;
52503
+ pageNumber?: number | null;
52869
52504
  sheetZone?: string | null;
52870
52505
  completed!: boolean;
52871
52506
  places?: number | null;
@@ -53028,7 +52663,7 @@ export interface IMeasurementFormInstanceElementDto {
53028
52663
  thumbnailUrl?: string | null;
53029
52664
  balloonId?: string | null;
53030
52665
  section?: string | null;
53031
- pageNumber?: number;
52666
+ pageNumber?: number | null;
53032
52667
  sheetZone?: string | null;
53033
52668
  completed: boolean;
53034
52669
  places?: number | null;
@@ -53983,6 +53618,9 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
53983
53618
  includeAllSchemasAndElements?: boolean | null;
53984
53619
  createBlankReport?: boolean | null;
53985
53620
  sequences?: string[] | null;
53621
+ customerPO?: string | null;
53622
+ workOrder?: string | null;
53623
+ comment?: string | null;
53986
53624
 
53987
53625
  constructor(data?: IExportDimensionReportRequest) {
53988
53626
  if (data) {
@@ -54004,6 +53642,9 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
54004
53642
  for (let item of _data["sequences"])
54005
53643
  this.sequences!.push(item);
54006
53644
  }
53645
+ this.customerPO = _data["customerPO"];
53646
+ this.workOrder = _data["workOrder"];
53647
+ this.comment = _data["comment"];
54007
53648
  }
54008
53649
  }
54009
53650
 
@@ -54025,6 +53666,9 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
54025
53666
  for (let item of this.sequences)
54026
53667
  data["sequences"].push(item);
54027
53668
  }
53669
+ data["customerPO"] = this.customerPO;
53670
+ data["workOrder"] = this.workOrder;
53671
+ data["comment"] = this.comment;
54028
53672
  return data;
54029
53673
  }
54030
53674
  }
@@ -54035,6 +53679,9 @@ export interface IExportDimensionReportRequest {
54035
53679
  includeAllSchemasAndElements?: boolean | null;
54036
53680
  createBlankReport?: boolean | null;
54037
53681
  sequences?: string[] | null;
53682
+ customerPO?: string | null;
53683
+ workOrder?: string | null;
53684
+ comment?: string | null;
54038
53685
  }
54039
53686
 
54040
53687
  export class UpdateSchemaInstanceElementsRequest implements IUpdateSchemaInstanceElementsRequest {