@ignos/api-client 20250307.0.11324 → 20250310.0.11331

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.
@@ -1906,6 +1906,7 @@ export interface IMeasurementFormSchemasClient {
1906
1906
  updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
1907
1907
  updateSchemaRow(id: string, request: UpdateSchemaGroupedElementRowDto): Promise<MeasurementFormSchemaDto>;
1908
1908
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
1909
+ updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
1909
1910
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
1910
1911
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
1911
1912
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
@@ -1977,6 +1978,8 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
1977
1978
  protected processUpdateSchemaRow(response: Response): Promise<MeasurementFormSchemaDto>;
1978
1979
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
1979
1980
  protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
1981
+ updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
1982
+ protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
1980
1983
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
1981
1984
  protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
1982
1985
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
@@ -10826,6 +10829,9 @@ export declare class MeasurementFormSchemaDto implements IMeasurementFormSchemaD
10826
10829
  isUsed: boolean;
10827
10830
  status: MeasurementFormStatus;
10828
10831
  source: MeasurementFormSource;
10832
+ unitOfMeasure?: UnitOfMeasureDto;
10833
+ dimensionSetting?: DimensionSettingDto;
10834
+ generalTolerance?: GeneralToleranceDto;
10829
10835
  markedDrawingUrl?: string | null;
10830
10836
  sourceFileUrl?: string | null;
10831
10837
  projectFileUrl?: string | null;
@@ -10854,6 +10860,9 @@ export interface IMeasurementFormSchemaDto {
10854
10860
  isUsed: boolean;
10855
10861
  status: MeasurementFormStatus;
10856
10862
  source: MeasurementFormSource;
10863
+ unitOfMeasure?: UnitOfMeasureDto;
10864
+ dimensionSetting?: DimensionSettingDto;
10865
+ generalTolerance?: GeneralToleranceDto;
10857
10866
  markedDrawingUrl?: string | null;
10858
10867
  sourceFileUrl?: string | null;
10859
10868
  projectFileUrl?: string | null;
@@ -10863,6 +10872,9 @@ export interface IMeasurementFormSchemaDto {
10863
10872
  groupedElements: MeasurementFormGroupedElementDto[];
10864
10873
  extraSchemas: MeasurementFormLinkedSchemaDto[];
10865
10874
  }
10875
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
10876
+ export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
10877
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
10866
10878
  export declare class MeasurementFormSchemaAttachmentDto implements IMeasurementFormSchemaAttachmentDto {
10867
10879
  url: string;
10868
10880
  title: string;
@@ -11088,11 +11100,14 @@ export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGr
11088
11100
  pageNumber?: number | null;
11089
11101
  measurements?: number | null;
11090
11102
  nominal?: number | null;
11103
+ nominalText?: string | null;
11091
11104
  type?: string | null;
11092
11105
  subType?: string | null;
11093
11106
  unitOfMeasure?: string | null;
11094
11107
  plusTolerance?: number | null;
11095
11108
  minusTolerance?: number | null;
11109
+ upperLimit?: number | null;
11110
+ lowerLimit?: number | null;
11096
11111
  coatingThickness?: number | null;
11097
11112
  comments?: string | null;
11098
11113
  frequency: MeasurementFrequency;
@@ -11111,11 +11126,14 @@ export interface IUpdateSchemaGroupedElementRowDto {
11111
11126
  pageNumber?: number | null;
11112
11127
  measurements?: number | null;
11113
11128
  nominal?: number | null;
11129
+ nominalText?: string | null;
11114
11130
  type?: string | null;
11115
11131
  subType?: string | null;
11116
11132
  unitOfMeasure?: string | null;
11117
11133
  plusTolerance?: number | null;
11118
11134
  minusTolerance?: number | null;
11135
+ upperLimit?: number | null;
11136
+ lowerLimit?: number | null;
11119
11137
  coatingThickness?: number | null;
11120
11138
  comments?: string | null;
11121
11139
  frequency: MeasurementFrequency;
@@ -11138,6 +11156,20 @@ export interface IUploadMeasurementImageRequest {
11138
11156
  filename: string;
11139
11157
  ballonId: string;
11140
11158
  }
11159
+ export declare class UpdateSchemaSettingsRequest implements IUpdateSchemaSettingsRequest {
11160
+ unitOfMeasure: UnitOfMeasureDto;
11161
+ dimensionSetting: DimensionSettingDto;
11162
+ generalTolerance: GeneralToleranceDto;
11163
+ constructor(data?: IUpdateSchemaSettingsRequest);
11164
+ init(_data?: any): void;
11165
+ static fromJS(data: any): UpdateSchemaSettingsRequest;
11166
+ toJSON(data?: any): any;
11167
+ }
11168
+ export interface IUpdateSchemaSettingsRequest {
11169
+ unitOfMeasure: UnitOfMeasureDto;
11170
+ dimensionSetting: DimensionSettingDto;
11171
+ generalTolerance: GeneralToleranceDto;
11172
+ }
11141
11173
  export declare class UploadDrawingRequest implements IUploadDrawingRequest {
11142
11174
  uploadKey: string;
11143
11175
  filename: string;
@@ -15759,6 +15759,49 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
15759
15759
  }
15760
15760
  return Promise.resolve(null);
15761
15761
  }
15762
+ updateSchemaSettings(id, request) {
15763
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/schemasettings";
15764
+ if (id === undefined || id === null)
15765
+ throw new Error("The parameter 'id' must be defined.");
15766
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
15767
+ url_ = url_.replace(/[?&]$/, "");
15768
+ const content_ = JSON.stringify(request);
15769
+ let options_ = {
15770
+ body: content_,
15771
+ method: "PUT",
15772
+ headers: {
15773
+ "Content-Type": "application/json",
15774
+ "Accept": "application/json"
15775
+ }
15776
+ };
15777
+ return this.transformOptions(options_).then(transformedOptions_ => {
15778
+ return this.http.fetch(url_, transformedOptions_);
15779
+ }).then((_response) => {
15780
+ return this.processUpdateSchemaSettings(_response);
15781
+ });
15782
+ }
15783
+ processUpdateSchemaSettings(response) {
15784
+ const status = response.status;
15785
+ let _headers = {};
15786
+ if (response.headers && response.headers.forEach) {
15787
+ response.headers.forEach((v, k) => _headers[k] = v);
15788
+ }
15789
+ ;
15790
+ if (status === 200) {
15791
+ return response.text().then((_responseText) => {
15792
+ let result200 = null;
15793
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
15794
+ result200 = UpdateSchemaSettingsRequest.fromJS(resultData200);
15795
+ return result200;
15796
+ });
15797
+ }
15798
+ else if (status !== 200 && status !== 204) {
15799
+ return response.text().then((_responseText) => {
15800
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
15801
+ });
15802
+ }
15803
+ return Promise.resolve(null);
15804
+ }
15762
15805
  uploadSchemaDrawing(id, request) {
15763
15806
  let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
15764
15807
  if (id === undefined || id === null)
@@ -38149,6 +38192,9 @@ export class MeasurementFormSchemaDto {
38149
38192
  this.isUsed = _data["isUsed"];
38150
38193
  this.status = _data["status"];
38151
38194
  this.source = _data["source"];
38195
+ this.unitOfMeasure = _data["unitOfMeasure"];
38196
+ this.dimensionSetting = _data["dimensionSetting"];
38197
+ this.generalTolerance = _data["generalTolerance"];
38152
38198
  this.markedDrawingUrl = _data["markedDrawingUrl"];
38153
38199
  this.sourceFileUrl = _data["sourceFileUrl"];
38154
38200
  this.projectFileUrl = _data["projectFileUrl"];
@@ -38193,6 +38239,9 @@ export class MeasurementFormSchemaDto {
38193
38239
  data["isUsed"] = this.isUsed;
38194
38240
  data["status"] = this.status;
38195
38241
  data["source"] = this.source;
38242
+ data["unitOfMeasure"] = this.unitOfMeasure;
38243
+ data["dimensionSetting"] = this.dimensionSetting;
38244
+ data["generalTolerance"] = this.generalTolerance;
38196
38245
  data["markedDrawingUrl"] = this.markedDrawingUrl;
38197
38246
  data["sourceFileUrl"] = this.sourceFileUrl;
38198
38247
  data["projectFileUrl"] = this.projectFileUrl;
@@ -38598,11 +38647,14 @@ export class UpdateSchemaGroupedElementRowDto {
38598
38647
  this.pageNumber = _data["pageNumber"];
38599
38648
  this.measurements = _data["measurements"];
38600
38649
  this.nominal = _data["nominal"];
38650
+ this.nominalText = _data["nominalText"];
38601
38651
  this.type = _data["type"];
38602
38652
  this.subType = _data["subType"];
38603
38653
  this.unitOfMeasure = _data["unitOfMeasure"];
38604
38654
  this.plusTolerance = _data["plusTolerance"];
38605
38655
  this.minusTolerance = _data["minusTolerance"];
38656
+ this.upperLimit = _data["upperLimit"];
38657
+ this.lowerLimit = _data["lowerLimit"];
38606
38658
  this.coatingThickness = _data["coatingThickness"];
38607
38659
  this.comments = _data["comments"];
38608
38660
  this.frequency = _data["frequency"];
@@ -38625,11 +38677,14 @@ export class UpdateSchemaGroupedElementRowDto {
38625
38677
  data["pageNumber"] = this.pageNumber;
38626
38678
  data["measurements"] = this.measurements;
38627
38679
  data["nominal"] = this.nominal;
38680
+ data["nominalText"] = this.nominalText;
38628
38681
  data["type"] = this.type;
38629
38682
  data["subType"] = this.subType;
38630
38683
  data["unitOfMeasure"] = this.unitOfMeasure;
38631
38684
  data["plusTolerance"] = this.plusTolerance;
38632
38685
  data["minusTolerance"] = this.minusTolerance;
38686
+ data["upperLimit"] = this.upperLimit;
38687
+ data["lowerLimit"] = this.lowerLimit;
38633
38688
  data["coatingThickness"] = this.coatingThickness;
38634
38689
  data["comments"] = this.comments;
38635
38690
  data["frequency"] = this.frequency;
@@ -38670,6 +38725,36 @@ export class UploadMeasurementImageRequest {
38670
38725
  return data;
38671
38726
  }
38672
38727
  }
38728
+ export class UpdateSchemaSettingsRequest {
38729
+ constructor(data) {
38730
+ if (data) {
38731
+ for (var property in data) {
38732
+ if (data.hasOwnProperty(property))
38733
+ this[property] = data[property];
38734
+ }
38735
+ }
38736
+ }
38737
+ init(_data) {
38738
+ if (_data) {
38739
+ this.unitOfMeasure = _data["unitOfMeasure"];
38740
+ this.dimensionSetting = _data["dimensionSetting"];
38741
+ this.generalTolerance = _data["generalTolerance"];
38742
+ }
38743
+ }
38744
+ static fromJS(data) {
38745
+ data = typeof data === 'object' ? data : {};
38746
+ let result = new UpdateSchemaSettingsRequest();
38747
+ result.init(data);
38748
+ return result;
38749
+ }
38750
+ toJSON(data) {
38751
+ data = typeof data === 'object' ? data : {};
38752
+ data["unitOfMeasure"] = this.unitOfMeasure;
38753
+ data["dimensionSetting"] = this.dimensionSetting;
38754
+ data["generalTolerance"] = this.generalTolerance;
38755
+ return data;
38756
+ }
38757
+ }
38673
38758
  export class UploadDrawingRequest {
38674
38759
  constructor(data) {
38675
38760
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250307.0.11324",
3
+ "version": "20250310.0.11331",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -16495,6 +16495,8 @@ export interface IMeasurementFormSchemasClient {
16495
16495
 
16496
16496
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
16497
16497
 
16498
+ updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
16499
+
16498
16500
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
16499
16501
 
16500
16502
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
@@ -16945,6 +16947,49 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
16945
16947
  return Promise.resolve<MeasurementFormSchemaDto>(null as any);
16946
16948
  }
16947
16949
 
16950
+ updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest> {
16951
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/schemasettings";
16952
+ if (id === undefined || id === null)
16953
+ throw new Error("The parameter 'id' must be defined.");
16954
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
16955
+ url_ = url_.replace(/[?&]$/, "");
16956
+
16957
+ const content_ = JSON.stringify(request);
16958
+
16959
+ let options_: RequestInit = {
16960
+ body: content_,
16961
+ method: "PUT",
16962
+ headers: {
16963
+ "Content-Type": "application/json",
16964
+ "Accept": "application/json"
16965
+ }
16966
+ };
16967
+
16968
+ return this.transformOptions(options_).then(transformedOptions_ => {
16969
+ return this.http.fetch(url_, transformedOptions_);
16970
+ }).then((_response: Response) => {
16971
+ return this.processUpdateSchemaSettings(_response);
16972
+ });
16973
+ }
16974
+
16975
+ protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest> {
16976
+ const status = response.status;
16977
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
16978
+ if (status === 200) {
16979
+ return response.text().then((_responseText) => {
16980
+ let result200: any = null;
16981
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
16982
+ result200 = UpdateSchemaSettingsRequest.fromJS(resultData200);
16983
+ return result200;
16984
+ });
16985
+ } else if (status !== 200 && status !== 204) {
16986
+ return response.text().then((_responseText) => {
16987
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
16988
+ });
16989
+ }
16990
+ return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
16991
+ }
16992
+
16948
16993
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
16949
16994
  let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
16950
16995
  if (id === undefined || id === null)
@@ -47867,6 +47912,9 @@ export class MeasurementFormSchemaDto implements IMeasurementFormSchemaDto {
47867
47912
  isUsed!: boolean;
47868
47913
  status!: MeasurementFormStatus;
47869
47914
  source!: MeasurementFormSource;
47915
+ unitOfMeasure?: UnitOfMeasureDto;
47916
+ dimensionSetting?: DimensionSettingDto;
47917
+ generalTolerance?: GeneralToleranceDto;
47870
47918
  markedDrawingUrl?: string | null;
47871
47919
  sourceFileUrl?: string | null;
47872
47920
  projectFileUrl?: string | null;
@@ -47906,6 +47954,9 @@ export class MeasurementFormSchemaDto implements IMeasurementFormSchemaDto {
47906
47954
  this.isUsed = _data["isUsed"];
47907
47955
  this.status = _data["status"];
47908
47956
  this.source = _data["source"];
47957
+ this.unitOfMeasure = _data["unitOfMeasure"];
47958
+ this.dimensionSetting = _data["dimensionSetting"];
47959
+ this.generalTolerance = _data["generalTolerance"];
47909
47960
  this.markedDrawingUrl = _data["markedDrawingUrl"];
47910
47961
  this.sourceFileUrl = _data["sourceFileUrl"];
47911
47962
  this.projectFileUrl = _data["projectFileUrl"];
@@ -47952,6 +48003,9 @@ export class MeasurementFormSchemaDto implements IMeasurementFormSchemaDto {
47952
48003
  data["isUsed"] = this.isUsed;
47953
48004
  data["status"] = this.status;
47954
48005
  data["source"] = this.source;
48006
+ data["unitOfMeasure"] = this.unitOfMeasure;
48007
+ data["dimensionSetting"] = this.dimensionSetting;
48008
+ data["generalTolerance"] = this.generalTolerance;
47955
48009
  data["markedDrawingUrl"] = this.markedDrawingUrl;
47956
48010
  data["sourceFileUrl"] = this.sourceFileUrl;
47957
48011
  data["projectFileUrl"] = this.projectFileUrl;
@@ -47991,6 +48045,9 @@ export interface IMeasurementFormSchemaDto {
47991
48045
  isUsed: boolean;
47992
48046
  status: MeasurementFormStatus;
47993
48047
  source: MeasurementFormSource;
48048
+ unitOfMeasure?: UnitOfMeasureDto;
48049
+ dimensionSetting?: DimensionSettingDto;
48050
+ generalTolerance?: GeneralToleranceDto;
47994
48051
  markedDrawingUrl?: string | null;
47995
48052
  sourceFileUrl?: string | null;
47996
48053
  projectFileUrl?: string | null;
@@ -48001,6 +48058,12 @@ export interface IMeasurementFormSchemaDto {
48001
48058
  extraSchemas: MeasurementFormLinkedSchemaDto[];
48002
48059
  }
48003
48060
 
48061
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
48062
+
48063
+ export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
48064
+
48065
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
48066
+
48004
48067
  export class MeasurementFormSchemaAttachmentDto implements IMeasurementFormSchemaAttachmentDto {
48005
48068
  url!: string;
48006
48069
  title!: string;
@@ -48595,11 +48658,14 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
48595
48658
  pageNumber?: number | null;
48596
48659
  measurements?: number | null;
48597
48660
  nominal?: number | null;
48661
+ nominalText?: string | null;
48598
48662
  type?: string | null;
48599
48663
  subType?: string | null;
48600
48664
  unitOfMeasure?: string | null;
48601
48665
  plusTolerance?: number | null;
48602
48666
  minusTolerance?: number | null;
48667
+ upperLimit?: number | null;
48668
+ lowerLimit?: number | null;
48603
48669
  coatingThickness?: number | null;
48604
48670
  comments?: string | null;
48605
48671
  frequency!: MeasurementFrequency;
@@ -48624,11 +48690,14 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
48624
48690
  this.pageNumber = _data["pageNumber"];
48625
48691
  this.measurements = _data["measurements"];
48626
48692
  this.nominal = _data["nominal"];
48693
+ this.nominalText = _data["nominalText"];
48627
48694
  this.type = _data["type"];
48628
48695
  this.subType = _data["subType"];
48629
48696
  this.unitOfMeasure = _data["unitOfMeasure"];
48630
48697
  this.plusTolerance = _data["plusTolerance"];
48631
48698
  this.minusTolerance = _data["minusTolerance"];
48699
+ this.upperLimit = _data["upperLimit"];
48700
+ this.lowerLimit = _data["lowerLimit"];
48632
48701
  this.coatingThickness = _data["coatingThickness"];
48633
48702
  this.comments = _data["comments"];
48634
48703
  this.frequency = _data["frequency"];
@@ -48653,11 +48722,14 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
48653
48722
  data["pageNumber"] = this.pageNumber;
48654
48723
  data["measurements"] = this.measurements;
48655
48724
  data["nominal"] = this.nominal;
48725
+ data["nominalText"] = this.nominalText;
48656
48726
  data["type"] = this.type;
48657
48727
  data["subType"] = this.subType;
48658
48728
  data["unitOfMeasure"] = this.unitOfMeasure;
48659
48729
  data["plusTolerance"] = this.plusTolerance;
48660
48730
  data["minusTolerance"] = this.minusTolerance;
48731
+ data["upperLimit"] = this.upperLimit;
48732
+ data["lowerLimit"] = this.lowerLimit;
48661
48733
  data["coatingThickness"] = this.coatingThickness;
48662
48734
  data["comments"] = this.comments;
48663
48735
  data["frequency"] = this.frequency;
@@ -48675,11 +48747,14 @@ export interface IUpdateSchemaGroupedElementRowDto {
48675
48747
  pageNumber?: number | null;
48676
48748
  measurements?: number | null;
48677
48749
  nominal?: number | null;
48750
+ nominalText?: string | null;
48678
48751
  type?: string | null;
48679
48752
  subType?: string | null;
48680
48753
  unitOfMeasure?: string | null;
48681
48754
  plusTolerance?: number | null;
48682
48755
  minusTolerance?: number | null;
48756
+ upperLimit?: number | null;
48757
+ lowerLimit?: number | null;
48683
48758
  coatingThickness?: number | null;
48684
48759
  comments?: string | null;
48685
48760
  frequency: MeasurementFrequency;
@@ -48733,6 +48808,50 @@ export interface IUploadMeasurementImageRequest {
48733
48808
  ballonId: string;
48734
48809
  }
48735
48810
 
48811
+ export class UpdateSchemaSettingsRequest implements IUpdateSchemaSettingsRequest {
48812
+ unitOfMeasure!: UnitOfMeasureDto;
48813
+ dimensionSetting!: DimensionSettingDto;
48814
+ generalTolerance!: GeneralToleranceDto;
48815
+
48816
+ constructor(data?: IUpdateSchemaSettingsRequest) {
48817
+ if (data) {
48818
+ for (var property in data) {
48819
+ if (data.hasOwnProperty(property))
48820
+ (<any>this)[property] = (<any>data)[property];
48821
+ }
48822
+ }
48823
+ }
48824
+
48825
+ init(_data?: any) {
48826
+ if (_data) {
48827
+ this.unitOfMeasure = _data["unitOfMeasure"];
48828
+ this.dimensionSetting = _data["dimensionSetting"];
48829
+ this.generalTolerance = _data["generalTolerance"];
48830
+ }
48831
+ }
48832
+
48833
+ static fromJS(data: any): UpdateSchemaSettingsRequest {
48834
+ data = typeof data === 'object' ? data : {};
48835
+ let result = new UpdateSchemaSettingsRequest();
48836
+ result.init(data);
48837
+ return result;
48838
+ }
48839
+
48840
+ toJSON(data?: any) {
48841
+ data = typeof data === 'object' ? data : {};
48842
+ data["unitOfMeasure"] = this.unitOfMeasure;
48843
+ data["dimensionSetting"] = this.dimensionSetting;
48844
+ data["generalTolerance"] = this.generalTolerance;
48845
+ return data;
48846
+ }
48847
+ }
48848
+
48849
+ export interface IUpdateSchemaSettingsRequest {
48850
+ unitOfMeasure: UnitOfMeasureDto;
48851
+ dimensionSetting: DimensionSettingDto;
48852
+ generalTolerance: GeneralToleranceDto;
48853
+ }
48854
+
48736
48855
  export class UploadDrawingRequest implements IUploadDrawingRequest {
48737
48856
  uploadKey!: string;
48738
48857
  filename!: string;