@ignos/api-client 20260317.78.1 → 20260319.80.1

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.
@@ -21748,7 +21748,7 @@ export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
21748
21748
  }
21749
21749
  }
21750
21750
 
21751
- export interface IMaterialCertificateChecksClient {
21751
+ export interface IInspectMatchCertificateChecksClient {
21752
21752
 
21753
21753
  listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
21754
21754
 
@@ -21759,7 +21759,7 @@ export interface IMaterialCertificateChecksClient {
21759
21759
  updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
21760
21760
  }
21761
21761
 
21762
- export class MaterialCertificateChecksClient extends AuthorizedApiBase implements IMaterialCertificateChecksClient {
21762
+ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase implements IInspectMatchCertificateChecksClient {
21763
21763
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
21764
21764
  private baseUrl: string;
21765
21765
 
@@ -21922,20 +21922,26 @@ export class MaterialCertificateChecksClient extends AuthorizedApiBase implement
21922
21922
  }
21923
21923
  }
21924
21924
 
21925
- export interface IMaterialCertificateSpecificationsClient {
21925
+ export interface IInspectMatchCertificateTypesClient {
21926
21926
 
21927
- listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
21927
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
21928
21928
 
21929
- getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
21929
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
21930
21930
 
21931
- updateSpecifications(id: string, version: number | null | undefined, _: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
21931
+ updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21932
21932
 
21933
21933
  deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
21934
21934
 
21935
- createSpecifications(createDto: CreateImaSpecificationDto): Promise<ImaSpecificationDto>;
21935
+ createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21936
+
21937
+ copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21938
+
21939
+ createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
21940
+
21941
+ releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
21936
21942
  }
21937
21943
 
21938
- export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
21944
+ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
21939
21945
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
21940
21946
  private baseUrl: string;
21941
21947
 
@@ -21945,8 +21951,8 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
21945
21951
  this.baseUrl = baseUrl ?? "";
21946
21952
  }
21947
21953
 
21948
- listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
21949
- let url_ = this.baseUrl + "/inspect/match/specifications/list";
21954
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]> {
21955
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/list";
21950
21956
  url_ = url_.replace(/[?&]$/, "");
21951
21957
 
21952
21958
  let options_: RequestInit = {
@@ -21959,17 +21965,17 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
21959
21965
  return this.transformOptions(options_).then(transformedOptions_ => {
21960
21966
  return this.http.fetch(url_, transformedOptions_);
21961
21967
  }).then((_response: Response) => {
21962
- return this.processListSpecifications(_response);
21968
+ return this.processListMaterialCertificateTypes(_response);
21963
21969
  });
21964
21970
  }
21965
21971
 
21966
- protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
21972
+ protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]> {
21967
21973
  const status = response.status;
21968
21974
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21969
21975
  if (status === 200) {
21970
21976
  return response.text().then((_responseText) => {
21971
21977
  let result200: any = null;
21972
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
21978
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeLiteDto[];
21973
21979
  return result200;
21974
21980
  });
21975
21981
  } else if (status !== 200 && status !== 204) {
@@ -21977,11 +21983,11 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
21977
21983
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21978
21984
  });
21979
21985
  }
21980
- return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
21986
+ return Promise.resolve<ImaCertificateTypeLiteDto[]>(null as any);
21981
21987
  }
21982
21988
 
21983
- getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
21984
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
21989
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
21990
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
21985
21991
  if (id === undefined || id === null)
21986
21992
  throw new globalThis.Error("The parameter 'id' must be defined.");
21987
21993
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -21999,17 +22005,17 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
21999
22005
  return this.transformOptions(options_).then(transformedOptions_ => {
22000
22006
  return this.http.fetch(url_, transformedOptions_);
22001
22007
  }).then((_response: Response) => {
22002
- return this.processGetSpecification(_response);
22008
+ return this.processGetMaterialCertificateTypes(_response);
22003
22009
  });
22004
22010
  }
22005
22011
 
22006
- protected processGetSpecification(response: Response): Promise<ImaSpecificationDto> {
22012
+ protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22007
22013
  const status = response.status;
22008
22014
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22009
22015
  if (status === 200) {
22010
22016
  return response.text().then((_responseText) => {
22011
22017
  let result200: any = null;
22012
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22018
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22013
22019
  return result200;
22014
22020
  });
22015
22021
  } else if (status !== 200 && status !== 204) {
@@ -22017,11 +22023,11 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22017
22023
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22018
22024
  });
22019
22025
  }
22020
- return Promise.resolve<ImaSpecificationDto>(null as any);
22026
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22021
22027
  }
22022
22028
 
22023
- updateSpecifications(id: string, version: number | null | undefined, _: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
22024
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22029
+ updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22030
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22025
22031
  if (id === undefined || id === null)
22026
22032
  throw new globalThis.Error("The parameter 'id' must be defined.");
22027
22033
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22029,7 +22035,7 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22029
22035
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22030
22036
  url_ = url_.replace(/[?&]$/, "");
22031
22037
 
22032
- const content_ = JSON.stringify(_);
22038
+ const content_ = JSON.stringify(payload);
22033
22039
 
22034
22040
  let options_: RequestInit = {
22035
22041
  body: content_,
@@ -22043,17 +22049,17 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22043
22049
  return this.transformOptions(options_).then(transformedOptions_ => {
22044
22050
  return this.http.fetch(url_, transformedOptions_);
22045
22051
  }).then((_response: Response) => {
22046
- return this.processUpdateSpecifications(_response);
22052
+ return this.processUpdateMaterialCertificateTypes(_response);
22047
22053
  });
22048
22054
  }
22049
22055
 
22050
- protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22056
+ protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22051
22057
  const status = response.status;
22052
22058
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22053
22059
  if (status === 200) {
22054
22060
  return response.text().then((_responseText) => {
22055
22061
  let result200: any = null;
22056
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22062
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22057
22063
  return result200;
22058
22064
  });
22059
22065
  } else if (status !== 200 && status !== 204) {
@@ -22061,11 +22067,11 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22061
22067
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22062
22068
  });
22063
22069
  }
22064
- return Promise.resolve<ImaSpecificationDto>(null as any);
22070
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22065
22071
  }
22066
22072
 
22067
22073
  deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
22068
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22074
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22069
22075
  if (id === undefined || id === null)
22070
22076
  throw new globalThis.Error("The parameter 'id' must be defined.");
22071
22077
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22101,11 +22107,11 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22101
22107
  return Promise.resolve<void>(null as any);
22102
22108
  }
22103
22109
 
22104
- createSpecifications(createDto: CreateImaSpecificationDto): Promise<ImaSpecificationDto> {
22105
- let url_ = this.baseUrl + "/inspect/match/specifications";
22110
+ createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22111
+ let url_ = this.baseUrl + "/inspect/match/certificate-types";
22106
22112
  url_ = url_.replace(/[?&]$/, "");
22107
22113
 
22108
- const content_ = JSON.stringify(createDto);
22114
+ const content_ = JSON.stringify(payload);
22109
22115
 
22110
22116
  let options_: RequestInit = {
22111
22117
  body: content_,
@@ -22119,17 +22125,17 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22119
22125
  return this.transformOptions(options_).then(transformedOptions_ => {
22120
22126
  return this.http.fetch(url_, transformedOptions_);
22121
22127
  }).then((_response: Response) => {
22122
- return this.processCreateSpecifications(_response);
22128
+ return this.processCreateMaterialCertificateTypes(_response);
22123
22129
  });
22124
22130
  }
22125
22131
 
22126
- protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22132
+ protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22127
22133
  const status = response.status;
22128
22134
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22129
22135
  if (status === 200) {
22130
22136
  return response.text().then((_responseText) => {
22131
22137
  let result200: any = null;
22132
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22138
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22133
22139
  return result200;
22134
22140
  });
22135
22141
  } else if (status !== 200 && status !== 204) {
@@ -22137,30 +22143,154 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
22137
22143
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22138
22144
  });
22139
22145
  }
22140
- return Promise.resolve<ImaSpecificationDto>(null as any);
22146
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22147
+ }
22148
+
22149
+ copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22150
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
22151
+ if (id === undefined || id === null)
22152
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22153
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22154
+ if (version !== undefined && version !== null)
22155
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
22156
+ url_ = url_.replace(/[?&]$/, "");
22157
+
22158
+ const content_ = JSON.stringify(payload);
22159
+
22160
+ let options_: RequestInit = {
22161
+ body: content_,
22162
+ method: "POST",
22163
+ headers: {
22164
+ "Content-Type": "application/json",
22165
+ "Accept": "application/json"
22166
+ }
22167
+ };
22168
+
22169
+ return this.transformOptions(options_).then(transformedOptions_ => {
22170
+ return this.http.fetch(url_, transformedOptions_);
22171
+ }).then((_response: Response) => {
22172
+ return this.processCopyMaterialCertificateType(_response);
22173
+ });
22174
+ }
22175
+
22176
+ protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22177
+ const status = response.status;
22178
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22179
+ if (status === 200) {
22180
+ return response.text().then((_responseText) => {
22181
+ let result200: any = null;
22182
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22183
+ return result200;
22184
+ });
22185
+ } else if (status !== 200 && status !== 204) {
22186
+ return response.text().then((_responseText) => {
22187
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22188
+ });
22189
+ }
22190
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22191
+ }
22192
+
22193
+ createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22194
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
22195
+ if (id === undefined || id === null)
22196
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22197
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22198
+ if (version !== undefined && version !== null)
22199
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
22200
+ url_ = url_.replace(/[?&]$/, "");
22201
+
22202
+ let options_: RequestInit = {
22203
+ method: "POST",
22204
+ headers: {
22205
+ "Accept": "application/json"
22206
+ }
22207
+ };
22208
+
22209
+ return this.transformOptions(options_).then(transformedOptions_ => {
22210
+ return this.http.fetch(url_, transformedOptions_);
22211
+ }).then((_response: Response) => {
22212
+ return this.processCreateNewVersionForCertificateType(_response);
22213
+ });
22214
+ }
22215
+
22216
+ protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22217
+ const status = response.status;
22218
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22219
+ if (status === 200) {
22220
+ return response.text().then((_responseText) => {
22221
+ let result200: any = null;
22222
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22223
+ return result200;
22224
+ });
22225
+ } else if (status !== 200 && status !== 204) {
22226
+ return response.text().then((_responseText) => {
22227
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22228
+ });
22229
+ }
22230
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22231
+ }
22232
+
22233
+ releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22234
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
22235
+ if (id === undefined || id === null)
22236
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22237
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22238
+ if (version !== undefined && version !== null)
22239
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
22240
+ url_ = url_.replace(/[?&]$/, "");
22241
+
22242
+ let options_: RequestInit = {
22243
+ method: "POST",
22244
+ headers: {
22245
+ "Accept": "application/json"
22246
+ }
22247
+ };
22248
+
22249
+ return this.transformOptions(options_).then(transformedOptions_ => {
22250
+ return this.http.fetch(url_, transformedOptions_);
22251
+ }).then((_response: Response) => {
22252
+ return this.processReleaseMaterialCertificateType(_response);
22253
+ });
22254
+ }
22255
+
22256
+ protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22257
+ const status = response.status;
22258
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22259
+ if (status === 200) {
22260
+ return response.text().then((_responseText) => {
22261
+ let result200: any = null;
22262
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22263
+ return result200;
22264
+ });
22265
+ } else if (status !== 200 && status !== 204) {
22266
+ return response.text().then((_responseText) => {
22267
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22268
+ });
22269
+ }
22270
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22141
22271
  }
22142
22272
  }
22143
22273
 
22144
- export interface IMaterialCertificateTypesClient {
22274
+ export interface IInspectMatchSpecificationsClient {
22145
22275
 
22146
- listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
22276
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
22147
22277
 
22148
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22278
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22149
22279
 
22150
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22280
+ updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
22151
22281
 
22152
22282
  deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
22153
22283
 
22154
- createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22284
+ createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
22155
22285
 
22156
- copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22286
+ copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
22157
22287
 
22158
- createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22288
+ createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22159
22289
 
22160
- releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22290
+ releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22161
22291
  }
22162
22292
 
22163
- export class MaterialCertificateTypesClient extends AuthorizedApiBase implements IMaterialCertificateTypesClient {
22293
+ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
22164
22294
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
22165
22295
  private baseUrl: string;
22166
22296
 
@@ -22170,8 +22300,8 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22170
22300
  this.baseUrl = baseUrl ?? "";
22171
22301
  }
22172
22302
 
22173
- listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]> {
22174
- let url_ = this.baseUrl + "/inspect/match/certificate-types/list";
22303
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
22304
+ let url_ = this.baseUrl + "/inspect/match/specifications/list";
22175
22305
  url_ = url_.replace(/[?&]$/, "");
22176
22306
 
22177
22307
  let options_: RequestInit = {
@@ -22184,17 +22314,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22184
22314
  return this.transformOptions(options_).then(transformedOptions_ => {
22185
22315
  return this.http.fetch(url_, transformedOptions_);
22186
22316
  }).then((_response: Response) => {
22187
- return this.processListMaterialCertificateTypes(_response);
22317
+ return this.processListSpecifications(_response);
22188
22318
  });
22189
22319
  }
22190
22320
 
22191
- protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]> {
22321
+ protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
22192
22322
  const status = response.status;
22193
22323
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22194
22324
  if (status === 200) {
22195
22325
  return response.text().then((_responseText) => {
22196
22326
  let result200: any = null;
22197
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeLiteDto[];
22327
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
22198
22328
  return result200;
22199
22329
  });
22200
22330
  } else if (status !== 200 && status !== 204) {
@@ -22202,11 +22332,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22202
22332
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22203
22333
  });
22204
22334
  }
22205
- return Promise.resolve<ImaCertificateTypeLiteDto[]>(null as any);
22335
+ return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
22206
22336
  }
22207
22337
 
22208
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22209
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22338
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
22339
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22210
22340
  if (id === undefined || id === null)
22211
22341
  throw new globalThis.Error("The parameter 'id' must be defined.");
22212
22342
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22224,17 +22354,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22224
22354
  return this.transformOptions(options_).then(transformedOptions_ => {
22225
22355
  return this.http.fetch(url_, transformedOptions_);
22226
22356
  }).then((_response: Response) => {
22227
- return this.processGetMaterialCertificateTypes(_response);
22357
+ return this.processGetSpecification(_response);
22228
22358
  });
22229
22359
  }
22230
22360
 
22231
- protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22361
+ protected processGetSpecification(response: Response): Promise<ImaSpecificationDto> {
22232
22362
  const status = response.status;
22233
22363
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22234
22364
  if (status === 200) {
22235
22365
  return response.text().then((_responseText) => {
22236
22366
  let result200: any = null;
22237
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22367
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22238
22368
  return result200;
22239
22369
  });
22240
22370
  } else if (status !== 200 && status !== 204) {
@@ -22242,11 +22372,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22242
22372
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22243
22373
  });
22244
22374
  }
22245
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22375
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22246
22376
  }
22247
22377
 
22248
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22249
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22378
+ updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
22379
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22250
22380
  if (id === undefined || id === null)
22251
22381
  throw new globalThis.Error("The parameter 'id' must be defined.");
22252
22382
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22254,7 +22384,7 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22254
22384
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22255
22385
  url_ = url_.replace(/[?&]$/, "");
22256
22386
 
22257
- const content_ = JSON.stringify(payload);
22387
+ const content_ = JSON.stringify(dto);
22258
22388
 
22259
22389
  let options_: RequestInit = {
22260
22390
  body: content_,
@@ -22268,17 +22398,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22268
22398
  return this.transformOptions(options_).then(transformedOptions_ => {
22269
22399
  return this.http.fetch(url_, transformedOptions_);
22270
22400
  }).then((_response: Response) => {
22271
- return this.processUpdateMaterialCertificateTypes(_response);
22401
+ return this.processUpdateSpecifications(_response);
22272
22402
  });
22273
22403
  }
22274
22404
 
22275
- protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22405
+ protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22276
22406
  const status = response.status;
22277
22407
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22278
22408
  if (status === 200) {
22279
22409
  return response.text().then((_responseText) => {
22280
22410
  let result200: any = null;
22281
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22411
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22282
22412
  return result200;
22283
22413
  });
22284
22414
  } else if (status !== 200 && status !== 204) {
@@ -22286,11 +22416,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22286
22416
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22287
22417
  });
22288
22418
  }
22289
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22419
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22290
22420
  }
22291
22421
 
22292
22422
  deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
22293
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22423
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22294
22424
  if (id === undefined || id === null)
22295
22425
  throw new globalThis.Error("The parameter 'id' must be defined.");
22296
22426
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22326,11 +22456,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22326
22456
  return Promise.resolve<void>(null as any);
22327
22457
  }
22328
22458
 
22329
- createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22330
- let url_ = this.baseUrl + "/inspect/match/certificate-types";
22459
+ createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
22460
+ let url_ = this.baseUrl + "/inspect/match/specifications";
22331
22461
  url_ = url_.replace(/[?&]$/, "");
22332
22462
 
22333
- const content_ = JSON.stringify(payload);
22463
+ const content_ = JSON.stringify(createRequestDto);
22334
22464
 
22335
22465
  let options_: RequestInit = {
22336
22466
  body: content_,
@@ -22344,17 +22474,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22344
22474
  return this.transformOptions(options_).then(transformedOptions_ => {
22345
22475
  return this.http.fetch(url_, transformedOptions_);
22346
22476
  }).then((_response: Response) => {
22347
- return this.processCreateMaterialCertificateTypes(_response);
22477
+ return this.processCreateSpecifications(_response);
22348
22478
  });
22349
22479
  }
22350
22480
 
22351
- protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22481
+ protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22352
22482
  const status = response.status;
22353
22483
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22354
22484
  if (status === 200) {
22355
22485
  return response.text().then((_responseText) => {
22356
22486
  let result200: any = null;
22357
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22487
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22358
22488
  return result200;
22359
22489
  });
22360
22490
  } else if (status !== 200 && status !== 204) {
@@ -22362,11 +22492,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22362
22492
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22363
22493
  });
22364
22494
  }
22365
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22495
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22366
22496
  }
22367
22497
 
22368
- copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22369
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
22498
+ copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto> {
22499
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/copy?";
22370
22500
  if (id === undefined || id === null)
22371
22501
  throw new globalThis.Error("The parameter 'id' must be defined.");
22372
22502
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22374,7 +22504,7 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22374
22504
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22375
22505
  url_ = url_.replace(/[?&]$/, "");
22376
22506
 
22377
- const content_ = JSON.stringify(payload);
22507
+ const content_ = JSON.stringify(copyDto);
22378
22508
 
22379
22509
  let options_: RequestInit = {
22380
22510
  body: content_,
@@ -22388,17 +22518,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22388
22518
  return this.transformOptions(options_).then(transformedOptions_ => {
22389
22519
  return this.http.fetch(url_, transformedOptions_);
22390
22520
  }).then((_response: Response) => {
22391
- return this.processCopyMaterialCertificateType(_response);
22521
+ return this.processCopySpecification(_response);
22392
22522
  });
22393
22523
  }
22394
22524
 
22395
- protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22525
+ protected processCopySpecification(response: Response): Promise<ImaSpecificationDto> {
22396
22526
  const status = response.status;
22397
22527
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22398
22528
  if (status === 200) {
22399
22529
  return response.text().then((_responseText) => {
22400
22530
  let result200: any = null;
22401
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22531
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22402
22532
  return result200;
22403
22533
  });
22404
22534
  } else if (status !== 200 && status !== 204) {
@@ -22406,11 +22536,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22406
22536
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22407
22537
  });
22408
22538
  }
22409
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22539
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22410
22540
  }
22411
22541
 
22412
- createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22413
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
22542
+ createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
22543
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/new-version?";
22414
22544
  if (id === undefined || id === null)
22415
22545
  throw new globalThis.Error("The parameter 'id' must be defined.");
22416
22546
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22428,17 +22558,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22428
22558
  return this.transformOptions(options_).then(transformedOptions_ => {
22429
22559
  return this.http.fetch(url_, transformedOptions_);
22430
22560
  }).then((_response: Response) => {
22431
- return this.processCreateNewVersionForCertificateType(_response);
22561
+ return this.processCreateNewVersionForSpecification(_response);
22432
22562
  });
22433
22563
  }
22434
22564
 
22435
- protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22565
+ protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto> {
22436
22566
  const status = response.status;
22437
22567
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22438
22568
  if (status === 200) {
22439
22569
  return response.text().then((_responseText) => {
22440
22570
  let result200: any = null;
22441
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22571
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22442
22572
  return result200;
22443
22573
  });
22444
22574
  } else if (status !== 200 && status !== 204) {
@@ -22446,11 +22576,11 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22446
22576
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22447
22577
  });
22448
22578
  }
22449
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22579
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22450
22580
  }
22451
22581
 
22452
- releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22453
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
22582
+ releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
22583
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/release?";
22454
22584
  if (id === undefined || id === null)
22455
22585
  throw new globalThis.Error("The parameter 'id' must be defined.");
22456
22586
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22468,17 +22598,17 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22468
22598
  return this.transformOptions(options_).then(transformedOptions_ => {
22469
22599
  return this.http.fetch(url_, transformedOptions_);
22470
22600
  }).then((_response: Response) => {
22471
- return this.processReleaseMaterialCertificateType(_response);
22601
+ return this.processReleaseSpecification(_response);
22472
22602
  });
22473
22603
  }
22474
22604
 
22475
- protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22605
+ protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto> {
22476
22606
  const status = response.status;
22477
22607
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22478
22608
  if (status === 200) {
22479
22609
  return response.text().then((_responseText) => {
22480
22610
  let result200: any = null;
22481
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22611
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
22482
22612
  return result200;
22483
22613
  });
22484
22614
  } else if (status !== 200 && status !== 204) {
@@ -22486,7 +22616,7 @@ export class MaterialCertificateTypesClient extends AuthorizedApiBase implements
22486
22616
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22487
22617
  });
22488
22618
  }
22489
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
22619
+ return Promise.resolve<ImaSpecificationDto>(null as any);
22490
22620
  }
22491
22621
  }
22492
22622
 
@@ -31964,6 +32094,10 @@ export interface WorkspaceDto {
31964
32094
  settings: string;
31965
32095
  widgets: WorkspaceWidgetDto[];
31966
32096
  widgetSettings: { [key: string]: string; };
32097
+ isSystemManaged?: boolean;
32098
+ systemManagedKind?: string | null;
32099
+ sourceTemplateId?: string | null;
32100
+ sourceMachineId?: string | null;
31967
32101
  }
31968
32102
 
31969
32103
  export interface WorkspaceWidgetDto {
@@ -33563,127 +33697,6 @@ export interface ImaUpdateSpecificationHeatTreatmentResultsDto {
33563
33697
  export interface ImaCdfEntityReadBase {
33564
33698
  }
33565
33699
 
33566
- export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
33567
- specificationId: string;
33568
- version: number;
33569
- name: string;
33570
- number: string;
33571
- revision: string;
33572
- date: Date;
33573
- status: ImaSpecificationStatus;
33574
- summary?: string | null;
33575
- relatedStandards: string[];
33576
- created: Date;
33577
- createdBy: string;
33578
- createdById: string;
33579
- updatedBy: string;
33580
- updatedById: string;
33581
- }
33582
-
33583
- export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
33584
-
33585
- export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
33586
- specificationId: string;
33587
- version: number;
33588
- allVersions: ImaSpecificationVersionDto[];
33589
- name: string;
33590
- number: string;
33591
- revision: string;
33592
- date: Date;
33593
- status: ImaSpecificationStatus;
33594
- summary?: string | null;
33595
- relatedStandards: string[];
33596
- created: Date;
33597
- createdBy: string;
33598
- createdById: string;
33599
- updatedBy: string;
33600
- updatedById: string;
33601
- updated: Date;
33602
- chemistrySpecification: ImaChemistrySpecificationDto;
33603
- mechanicalSpecification: ImaMechanicalSpecificationDto;
33604
- ferriteSpecification: ImaFerriteSpecificationDto;
33605
- heatSpecification: ImaHeatTreatmentSpecificationDto;
33606
- }
33607
-
33608
- export interface ImaSpecificationVersionDto {
33609
- version?: number;
33610
- status?: ImaSpecificationStatus;
33611
- }
33612
-
33613
- export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
33614
- carbon?: ImaSpecificationLineDto | null;
33615
- manganese?: ImaSpecificationLineDto | null;
33616
- silicon?: ImaSpecificationLineDto | null;
33617
- phosphorus?: ImaSpecificationLineDto | null;
33618
- sulfur?: ImaSpecificationLineDto | null;
33619
- chromium?: ImaSpecificationLineDto | null;
33620
- nickel?: ImaSpecificationLineDto | null;
33621
- molybdenum?: ImaSpecificationLineDto | null;
33622
- copper?: ImaSpecificationLineDto | null;
33623
- nitrogen?: ImaSpecificationLineDto | null;
33624
- wolfram?: ImaSpecificationLineDto | null;
33625
- iron?: ImaSpecificationLineDto | null;
33626
- }
33627
-
33628
- export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
33629
- operator: ImaSpecificationOperator;
33630
- value1: number;
33631
- value2?: number | null;
33632
- symbol: ImaSpecificationSymbol;
33633
- }
33634
-
33635
- export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
33636
-
33637
- export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
33638
-
33639
- export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
33640
- yieldStrength?: ImaSpecificationLineDto | null;
33641
- tensileStrength?: ImaSpecificationLineDto | null;
33642
- elongation?: ImaSpecificationLineDto | null;
33643
- reductionOfArea?: ImaSpecificationLineDto | null;
33644
- impactEnergy?: ImaSpecificationLineDto | null;
33645
- hardness?: ImaSpecificationLineDto | null;
33646
- }
33647
-
33648
- export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
33649
- ferriteContent?: ImaSpecificationLineDto | null;
33650
- }
33651
-
33652
- export interface ImaHeatTreatmentSpecificationDto {
33653
- heatTreatments: ImaHeatTreatmentsSpecificationDto[];
33654
- }
33655
-
33656
- export interface ImaHeatTreatmentsSpecificationDto {
33657
- heatingMethod: ImaHeatingTreatmentMethod;
33658
- heatingTreatmentTemperature?: number | null;
33659
- heatingHoldingTime?: number | null;
33660
- coolingMethods?: ImaCoolingTreatmentMethod[] | null;
33661
- coolingTreatmentTemperature?: number | null;
33662
- coolingHoldingTime?: number | null;
33663
- }
33664
-
33665
- export interface CreateImaSpecificationDto {
33666
- specificationName: string;
33667
- specificationNumber: string;
33668
- revision: string;
33669
- date: Date;
33670
- specificationFile?: UploadFileDto | null;
33671
- }
33672
-
33673
- export interface ImaUpdateSpecificationDto {
33674
- name?: string | null;
33675
- number?: string | null;
33676
- status?: ImaSpecificationStatusUpdate | null;
33677
- summary?: string | null;
33678
- relatedStandards?: string[] | null;
33679
- chemistrySpecification?: ImaChemistrySpecificationDto | null;
33680
- mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
33681
- ferriteSpecification?: ImaFerriteSpecificationDto | null;
33682
- heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
33683
- }
33684
-
33685
- export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
33686
-
33687
33700
  export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
33688
33701
  certificateTypeId: string;
33689
33702
  version: number;
@@ -33895,6 +33908,134 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
33895
33908
  radiologicalReport?: boolean | null;
33896
33909
  }
33897
33910
 
33911
+ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
33912
+ specificationId: string;
33913
+ version: number;
33914
+ name: string;
33915
+ number: string;
33916
+ revision: string;
33917
+ date: Date;
33918
+ status: ImaSpecificationStatus;
33919
+ summary?: string | null;
33920
+ relatedStandards: string[];
33921
+ created: Date;
33922
+ createdBy: string;
33923
+ createdById: string;
33924
+ updatedBy: string;
33925
+ updatedById: string;
33926
+ }
33927
+
33928
+ export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
33929
+
33930
+ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
33931
+ specificationId: string;
33932
+ version: number;
33933
+ allVersions: ImaSpecificationVersionDto[];
33934
+ name: string;
33935
+ number: string;
33936
+ revision: string;
33937
+ date: Date;
33938
+ status: ImaSpecificationStatus;
33939
+ summary?: string | null;
33940
+ relatedStandards: string[];
33941
+ created: Date;
33942
+ createdBy: string;
33943
+ createdById: string;
33944
+ updatedBy: string;
33945
+ updatedById: string;
33946
+ updated: Date;
33947
+ chemistrySpecification: ImaChemistrySpecificationDto;
33948
+ mechanicalSpecification: ImaMechanicalSpecificationDto;
33949
+ ferriteSpecification: ImaFerriteSpecificationDto;
33950
+ heatSpecification: ImaHeatTreatmentSpecificationDto;
33951
+ }
33952
+
33953
+ export interface ImaSpecificationVersionDto {
33954
+ version?: number;
33955
+ status?: ImaSpecificationStatus;
33956
+ }
33957
+
33958
+ export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
33959
+ carbon?: ImaSpecificationLineDto | null;
33960
+ manganese?: ImaSpecificationLineDto | null;
33961
+ silicon?: ImaSpecificationLineDto | null;
33962
+ phosphorus?: ImaSpecificationLineDto | null;
33963
+ sulfur?: ImaSpecificationLineDto | null;
33964
+ chromium?: ImaSpecificationLineDto | null;
33965
+ nickel?: ImaSpecificationLineDto | null;
33966
+ molybdenum?: ImaSpecificationLineDto | null;
33967
+ copper?: ImaSpecificationLineDto | null;
33968
+ nitrogen?: ImaSpecificationLineDto | null;
33969
+ wolfram?: ImaSpecificationLineDto | null;
33970
+ iron?: ImaSpecificationLineDto | null;
33971
+ }
33972
+
33973
+ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
33974
+ operator: ImaSpecificationOperator;
33975
+ value1: number;
33976
+ value2?: number | null;
33977
+ symbol: ImaSpecificationSymbol;
33978
+ }
33979
+
33980
+ export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
33981
+
33982
+ export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
33983
+
33984
+ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
33985
+ yieldStrength?: ImaSpecificationLineDto | null;
33986
+ tensileStrength?: ImaSpecificationLineDto | null;
33987
+ elongation?: ImaSpecificationLineDto | null;
33988
+ reductionOfArea?: ImaSpecificationLineDto | null;
33989
+ impactEnergy?: ImaSpecificationLineDto | null;
33990
+ hardness?: ImaSpecificationLineDto | null;
33991
+ }
33992
+
33993
+ export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
33994
+ ferriteContent?: ImaSpecificationLineDto | null;
33995
+ }
33996
+
33997
+ export interface ImaHeatTreatmentSpecificationDto {
33998
+ heatTreatments: ImaHeatTreatmentsSpecificationDto[];
33999
+ }
34000
+
34001
+ export interface ImaHeatTreatmentsSpecificationDto {
34002
+ heatingMethod: ImaHeatingTreatmentMethod;
34003
+ heatingTreatmentTemperature?: number | null;
34004
+ heatingHoldingTime?: number | null;
34005
+ coolingMethods?: ImaCoolingTreatmentMethod[] | null;
34006
+ coolingTreatmentTemperature?: number | null;
34007
+ coolingHoldingTime?: number | null;
34008
+ }
34009
+
34010
+ export interface ImaCreateSpecificationRequestDto {
34011
+ specificationName: string;
34012
+ specificationNumber: string;
34013
+ revision: string;
34014
+ date: Date;
34015
+ specificationFile?: UploadFileDto | null;
34016
+ }
34017
+
34018
+ export interface ImaCopySpecificationRequestDto {
34019
+ specificationName: string;
34020
+ specificationNumber: string;
34021
+ revision: string;
34022
+ date: Date;
34023
+ }
34024
+
34025
+ export interface ImaUpdateSpecificationDto {
34026
+ name?: string | null;
34027
+ number?: string | null;
34028
+ status?: ImaSpecificationStatusUpdate | null;
34029
+ summary?: string | null;
34030
+ relatedStandards?: string[] | null;
34031
+ chemistrySpecification?: ImaChemistrySpecificationDto | null;
34032
+ mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
34033
+ ferriteSpecification?: ImaFerriteSpecificationDto | null;
34034
+ heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
34035
+ }
34036
+
34037
+ export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
34038
+
33898
34039
  export interface MeasurementFormSchemaDto {
33899
34040
  id: string;
33900
34041
  versionId: number;