@ignos/api-client 20260303.69.1 → 20260306.71.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.
@@ -3234,9 +3234,9 @@ export declare class MaterialCertificateChecksClient extends AuthorizedApiBase i
3234
3234
  export interface IMaterialCertificateSpecificationsClient {
3235
3235
  listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
3236
3236
  getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3237
+ updateSpecifications(id: string, version: number | null | undefined, _: AmcUpdateSpecificationDto): Promise<AmcSpecificationDto>;
3238
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
3237
3239
  createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3238
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3239
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
3240
3240
  }
3241
3241
  export declare class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
3242
3242
  private http;
@@ -3248,12 +3248,12 @@ export declare class MaterialCertificateSpecificationsClient extends AuthorizedA
3248
3248
  protected processListSpecifications(response: Response): Promise<AmcSpecificationLiteDto[]>;
3249
3249
  getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3250
3250
  protected processGetSpecification(response: Response): Promise<AmcSpecificationDto>;
3251
- createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3252
- protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3253
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3251
+ updateSpecifications(id: string, version: number | null | undefined, _: AmcUpdateSpecificationDto): Promise<AmcSpecificationDto>;
3254
3252
  protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3255
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
3253
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
3256
3254
  protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
3255
+ createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3256
+ protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3257
3257
  }
3258
3258
  export interface IMaterialCertificateTypesClient {
3259
3259
  listMaterialCertificateTypes(): Promise<AmcCertificateTypeLiteDto[]>;
@@ -3911,6 +3911,7 @@ export interface CalendarSettingsDto {
3911
3911
  };
3912
3912
  halfDayHours?: number;
3913
3913
  holidayHours?: number;
3914
+ defaultPerformancePercent?: number;
3914
3915
  }
3915
3916
  export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
3916
3917
  export interface UpdateCalendarSettingsCommand {
@@ -3919,6 +3920,7 @@ export interface UpdateCalendarSettingsCommand {
3919
3920
  };
3920
3921
  halfDayHours?: number;
3921
3922
  holidayHours?: number;
3923
+ defaultPerformancePercent?: number | null;
3922
3924
  }
3923
3925
  export interface ResourceKpiDto {
3924
3926
  uptimeToNow: number;
@@ -4232,6 +4234,7 @@ export interface UtilizationDetailsV2Dto {
4232
4234
  uptimeInMilliseconds?: number | null;
4233
4235
  downtimeInMilliseconds?: number | null;
4234
4236
  totalTimeInMilliseconds?: number | null;
4237
+ performancePercent?: number | null;
4235
4238
  }
4236
4239
  export interface MachineGroupUtilizationV2Dto {
4237
4240
  name: string;
@@ -8868,16 +8871,16 @@ export interface AmcSpecificationDto extends AmcCdfEntityReadBase {
8868
8871
  updatedBy: string;
8869
8872
  updatedById: string;
8870
8873
  updated: Date;
8871
- chemistrySpecification?: AmcChemistrySpecificationDto | null;
8872
- mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
8873
- ferriteSpecification?: AmcFerriteSpecificationDto | null;
8874
- heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
8874
+ chemistrySpecification: AmcChemistrySpecificationDto;
8875
+ mechanicalSpecification: AmcMechanicalSpecificationDto;
8876
+ ferriteSpecification: AmcFerriteSpecificationDto;
8877
+ heatSpecification: AmcHeatTreatmentSpecificationDto;
8875
8878
  }
8876
8879
  export interface AmcSpecificationVersionDto {
8877
8880
  version?: number;
8878
8881
  status?: AmcSpecificationStatus;
8879
8882
  }
8880
- export interface AmcChemistrySpecificationDto {
8883
+ export interface AmcChemistrySpecificationDto extends AmcCdfEntityReadBase {
8881
8884
  carbon?: AmcSpecificationLineDto | null;
8882
8885
  manganese?: AmcSpecificationLineDto | null;
8883
8886
  silicon?: AmcSpecificationLineDto | null;
@@ -8893,13 +8896,13 @@ export interface AmcChemistrySpecificationDto {
8893
8896
  }
8894
8897
  export interface AmcSpecificationLineDto extends AmcCdfEntityReadBase {
8895
8898
  operator: AmcSpecificationOperator;
8896
- value1?: number | null;
8899
+ value1: number;
8897
8900
  value2?: number | null;
8898
8901
  symbol: AmcSpecificationSymbol;
8899
8902
  }
8900
8903
  export type AmcSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
8901
8904
  export type AmcSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
8902
- export interface AmcMechanicalSpecificationDto {
8905
+ export interface AmcMechanicalSpecificationDto extends AmcCdfEntityReadBase {
8903
8906
  yieldStrength?: AmcSpecificationLineDto | null;
8904
8907
  tensileStrength?: AmcSpecificationLineDto | null;
8905
8908
  elongation?: AmcSpecificationLineDto | null;
@@ -8907,7 +8910,7 @@ export interface AmcMechanicalSpecificationDto {
8907
8910
  impactEnergy?: AmcSpecificationLineDto | null;
8908
8911
  hardness?: AmcSpecificationLineDto | null;
8909
8912
  }
8910
- export interface AmcFerriteSpecificationDto {
8913
+ export interface AmcFerriteSpecificationDto extends AmcCdfEntityReadBase {
8911
8914
  ferriteContent?: AmcSpecificationLineDto | null;
8912
8915
  }
8913
8916
  export interface AmcHeatTreatmentSpecificationDto {
@@ -8928,16 +8931,16 @@ export interface CreateAmcSpecificationDto {
8928
8931
  date: Date;
8929
8932
  specificationFile?: UploadFileDto | null;
8930
8933
  }
8931
- export interface UpdateAmcSpecificationDto {
8932
- specificationId: string;
8933
- version: number;
8934
- status: AmcSpecificationStatusUpdate;
8934
+ export interface AmcUpdateSpecificationDto {
8935
+ name?: string | null;
8936
+ number?: string | null;
8937
+ status?: AmcSpecificationStatusUpdate | null;
8935
8938
  summary?: string | null;
8936
- relatedStandards: string[];
8937
- chemistrySpecification: AmcChemistrySpecificationDto;
8938
- mechanicalSpecification: AmcMechanicalSpecificationDto;
8939
- ferriteSpecification: AmcFerriteSpecificationDto;
8940
- heatSpecification: AmcHeatTreatmentSpecificationDto;
8939
+ relatedStandards?: string[] | null;
8940
+ chemistrySpecification?: AmcChemistrySpecificationDto | null;
8941
+ mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
8942
+ ferriteSpecification?: AmcFerriteSpecificationDto | null;
8943
+ heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
8941
8944
  }
8942
8945
  export type AmcSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
8943
8946
  export interface AmcCertificateTypeLiteDto extends AmcCdfEntityReadBase {
@@ -26140,13 +26140,18 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
26140
26140
  }
26141
26141
  return Promise.resolve(null);
26142
26142
  }
26143
- createSpecifications(createDto) {
26144
- let url_ = this.baseUrl + "/material-certificate/specifications";
26143
+ updateSpecifications(id, version, _) {
26144
+ let url_ = this.baseUrl + "/material-certificate/specifications/{id}?";
26145
+ if (id === undefined || id === null)
26146
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26147
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26148
+ if (version !== undefined && version !== null)
26149
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
26145
26150
  url_ = url_.replace(/[?&]$/, "");
26146
- const content_ = JSON.stringify(createDto);
26151
+ const content_ = JSON.stringify(_);
26147
26152
  let options_ = {
26148
26153
  body: content_,
26149
- method: "POST",
26154
+ method: "PUT",
26150
26155
  headers: {
26151
26156
  "Content-Type": "application/json",
26152
26157
  "Accept": "application/json"
@@ -26155,10 +26160,10 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
26155
26160
  return this.transformOptions(options_).then(transformedOptions_ => {
26156
26161
  return this.http.fetch(url_, transformedOptions_);
26157
26162
  }).then((_response) => {
26158
- return this.processCreateSpecifications(_response);
26163
+ return this.processUpdateSpecifications(_response);
26159
26164
  });
26160
26165
  }
26161
- processCreateSpecifications(response) {
26166
+ processUpdateSpecifications(response) {
26162
26167
  const status = response.status;
26163
26168
  let _headers = {};
26164
26169
  if (response.headers && response.headers.forEach) {
@@ -26179,36 +26184,34 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
26179
26184
  }
26180
26185
  return Promise.resolve(null);
26181
26186
  }
26182
- updateSpecifications(specificationsRequest) {
26183
- let url_ = this.baseUrl + "/material-certificate/specifications";
26187
+ deleteMaterialCertificateTypes(id, version) {
26188
+ let url_ = this.baseUrl + "/material-certificate/specifications/{id}?";
26189
+ if (id === undefined || id === null)
26190
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26191
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26192
+ if (version !== undefined && version !== null)
26193
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
26184
26194
  url_ = url_.replace(/[?&]$/, "");
26185
- const content_ = JSON.stringify(specificationsRequest);
26186
26195
  let options_ = {
26187
- body: content_,
26188
- method: "PUT",
26189
- headers: {
26190
- "Content-Type": "application/json",
26191
- "Accept": "application/json"
26192
- }
26196
+ method: "DELETE",
26197
+ headers: {}
26193
26198
  };
26194
26199
  return this.transformOptions(options_).then(transformedOptions_ => {
26195
26200
  return this.http.fetch(url_, transformedOptions_);
26196
26201
  }).then((_response) => {
26197
- return this.processUpdateSpecifications(_response);
26202
+ return this.processDeleteMaterialCertificateTypes(_response);
26198
26203
  });
26199
26204
  }
26200
- processUpdateSpecifications(response) {
26205
+ processDeleteMaterialCertificateTypes(response) {
26201
26206
  const status = response.status;
26202
26207
  let _headers = {};
26203
26208
  if (response.headers && response.headers.forEach) {
26204
26209
  response.headers.forEach((v, k) => _headers[k] = v);
26205
26210
  }
26206
26211
  ;
26207
- if (status === 200) {
26212
+ if (status === 204) {
26208
26213
  return response.text().then((_responseText) => {
26209
- let result200 = null;
26210
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
26211
- return result200;
26214
+ return;
26212
26215
  });
26213
26216
  }
26214
26217
  else if (status !== 200 && status !== 204) {
@@ -26218,35 +26221,36 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
26218
26221
  }
26219
26222
  return Promise.resolve(null);
26220
26223
  }
26221
- deleteMaterialCertificateTypes(materialCertificateSpecificationId, version) {
26222
- let url_ = this.baseUrl + "/material-certificate/specifications/{materialCertificateSpecificationId}/{version}";
26223
- if (materialCertificateSpecificationId === undefined || materialCertificateSpecificationId === null)
26224
- throw new globalThis.Error("The parameter 'materialCertificateSpecificationId' must be defined.");
26225
- url_ = url_.replace("{materialCertificateSpecificationId}", encodeURIComponent("" + materialCertificateSpecificationId));
26226
- if (version === undefined || version === null)
26227
- throw new globalThis.Error("The parameter 'version' must be defined.");
26228
- url_ = url_.replace("{version}", encodeURIComponent("" + version));
26224
+ createSpecifications(createDto) {
26225
+ let url_ = this.baseUrl + "/material-certificate/specifications";
26229
26226
  url_ = url_.replace(/[?&]$/, "");
26227
+ const content_ = JSON.stringify(createDto);
26230
26228
  let options_ = {
26231
- method: "DELETE",
26232
- headers: {}
26229
+ body: content_,
26230
+ method: "POST",
26231
+ headers: {
26232
+ "Content-Type": "application/json",
26233
+ "Accept": "application/json"
26234
+ }
26233
26235
  };
26234
26236
  return this.transformOptions(options_).then(transformedOptions_ => {
26235
26237
  return this.http.fetch(url_, transformedOptions_);
26236
26238
  }).then((_response) => {
26237
- return this.processDeleteMaterialCertificateTypes(_response);
26239
+ return this.processCreateSpecifications(_response);
26238
26240
  });
26239
26241
  }
26240
- processDeleteMaterialCertificateTypes(response) {
26242
+ processCreateSpecifications(response) {
26241
26243
  const status = response.status;
26242
26244
  let _headers = {};
26243
26245
  if (response.headers && response.headers.forEach) {
26244
26246
  response.headers.forEach((v, k) => _headers[k] = v);
26245
26247
  }
26246
26248
  ;
26247
- if (status === 204) {
26249
+ if (status === 200) {
26248
26250
  return response.text().then((_responseText) => {
26249
- return;
26251
+ let result200 = null;
26252
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
26253
+ return result200;
26250
26254
  });
26251
26255
  }
26252
26256
  else if (status !== 200 && status !== 204) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260303.69.1",
3
+ "version": "20260306.71.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -27898,11 +27898,11 @@ export interface IMaterialCertificateSpecificationsClient {
27898
27898
 
27899
27899
  getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
27900
27900
 
27901
- createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
27901
+ updateSpecifications(id: string, version: number | null | undefined, _: AmcUpdateSpecificationDto): Promise<AmcSpecificationDto>;
27902
27902
 
27903
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
27903
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
27904
27904
 
27905
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
27905
+ createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
27906
27906
  }
27907
27907
 
27908
27908
  export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase implements IMaterialCertificateSpecificationsClient {
@@ -27990,15 +27990,20 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
27990
27990
  return Promise.resolve<AmcSpecificationDto>(null as any);
27991
27991
  }
27992
27992
 
27993
- createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto> {
27994
- let url_ = this.baseUrl + "/material-certificate/specifications";
27993
+ updateSpecifications(id: string, version: number | null | undefined, _: AmcUpdateSpecificationDto): Promise<AmcSpecificationDto> {
27994
+ let url_ = this.baseUrl + "/material-certificate/specifications/{id}?";
27995
+ if (id === undefined || id === null)
27996
+ throw new globalThis.Error("The parameter 'id' must be defined.");
27997
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
27998
+ if (version !== undefined && version !== null)
27999
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
27995
28000
  url_ = url_.replace(/[?&]$/, "");
27996
28001
 
27997
- const content_ = JSON.stringify(createDto);
28002
+ const content_ = JSON.stringify(_);
27998
28003
 
27999
28004
  let options_: RequestInit = {
28000
28005
  body: content_,
28001
- method: "POST",
28006
+ method: "PUT",
28002
28007
  headers: {
28003
28008
  "Content-Type": "application/json",
28004
28009
  "Accept": "application/json"
@@ -28008,11 +28013,11 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
28008
28013
  return this.transformOptions(options_).then(transformedOptions_ => {
28009
28014
  return this.http.fetch(url_, transformedOptions_);
28010
28015
  }).then((_response: Response) => {
28011
- return this.processCreateSpecifications(_response);
28016
+ return this.processUpdateSpecifications(_response);
28012
28017
  });
28013
28018
  }
28014
28019
 
28015
- protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto> {
28020
+ protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto> {
28016
28021
  const status = response.status;
28017
28022
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
28018
28023
  if (status === 200) {
@@ -28029,81 +28034,80 @@ export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase i
28029
28034
  return Promise.resolve<AmcSpecificationDto>(null as any);
28030
28035
  }
28031
28036
 
28032
- updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto> {
28033
- let url_ = this.baseUrl + "/material-certificate/specifications";
28037
+ deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
28038
+ let url_ = this.baseUrl + "/material-certificate/specifications/{id}?";
28039
+ if (id === undefined || id === null)
28040
+ throw new globalThis.Error("The parameter 'id' must be defined.");
28041
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
28042
+ if (version !== undefined && version !== null)
28043
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
28034
28044
  url_ = url_.replace(/[?&]$/, "");
28035
28045
 
28036
- const content_ = JSON.stringify(specificationsRequest);
28037
-
28038
28046
  let options_: RequestInit = {
28039
- body: content_,
28040
- method: "PUT",
28047
+ method: "DELETE",
28041
28048
  headers: {
28042
- "Content-Type": "application/json",
28043
- "Accept": "application/json"
28044
28049
  }
28045
28050
  };
28046
28051
 
28047
28052
  return this.transformOptions(options_).then(transformedOptions_ => {
28048
28053
  return this.http.fetch(url_, transformedOptions_);
28049
28054
  }).then((_response: Response) => {
28050
- return this.processUpdateSpecifications(_response);
28055
+ return this.processDeleteMaterialCertificateTypes(_response);
28051
28056
  });
28052
28057
  }
28053
28058
 
28054
- protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto> {
28059
+ protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
28055
28060
  const status = response.status;
28056
28061
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
28057
- if (status === 200) {
28062
+ if (status === 204) {
28058
28063
  return response.text().then((_responseText) => {
28059
- let result200: any = null;
28060
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AmcSpecificationDto;
28061
- return result200;
28064
+ return;
28062
28065
  });
28063
28066
  } else if (status !== 200 && status !== 204) {
28064
28067
  return response.text().then((_responseText) => {
28065
28068
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
28066
28069
  });
28067
28070
  }
28068
- return Promise.resolve<AmcSpecificationDto>(null as any);
28071
+ return Promise.resolve<void>(null as any);
28069
28072
  }
28070
28073
 
28071
- deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void> {
28072
- let url_ = this.baseUrl + "/material-certificate/specifications/{materialCertificateSpecificationId}/{version}";
28073
- if (materialCertificateSpecificationId === undefined || materialCertificateSpecificationId === null)
28074
- throw new globalThis.Error("The parameter 'materialCertificateSpecificationId' must be defined.");
28075
- url_ = url_.replace("{materialCertificateSpecificationId}", encodeURIComponent("" + materialCertificateSpecificationId));
28076
- if (version === undefined || version === null)
28077
- throw new globalThis.Error("The parameter 'version' must be defined.");
28078
- url_ = url_.replace("{version}", encodeURIComponent("" + version));
28074
+ createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto> {
28075
+ let url_ = this.baseUrl + "/material-certificate/specifications";
28079
28076
  url_ = url_.replace(/[?&]$/, "");
28080
28077
 
28078
+ const content_ = JSON.stringify(createDto);
28079
+
28081
28080
  let options_: RequestInit = {
28082
- method: "DELETE",
28081
+ body: content_,
28082
+ method: "POST",
28083
28083
  headers: {
28084
+ "Content-Type": "application/json",
28085
+ "Accept": "application/json"
28084
28086
  }
28085
28087
  };
28086
28088
 
28087
28089
  return this.transformOptions(options_).then(transformedOptions_ => {
28088
28090
  return this.http.fetch(url_, transformedOptions_);
28089
28091
  }).then((_response: Response) => {
28090
- return this.processDeleteMaterialCertificateTypes(_response);
28092
+ return this.processCreateSpecifications(_response);
28091
28093
  });
28092
28094
  }
28093
28095
 
28094
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
28096
+ protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto> {
28095
28097
  const status = response.status;
28096
28098
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
28097
- if (status === 204) {
28099
+ if (status === 200) {
28098
28100
  return response.text().then((_responseText) => {
28099
- return;
28101
+ let result200: any = null;
28102
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AmcSpecificationDto;
28103
+ return result200;
28100
28104
  });
28101
28105
  } else if (status !== 200 && status !== 204) {
28102
28106
  return response.text().then((_responseText) => {
28103
28107
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
28104
28108
  });
28105
28109
  }
28106
- return Promise.resolve<void>(null as any);
28110
+ return Promise.resolve<AmcSpecificationDto>(null as any);
28107
28111
  }
28108
28112
  }
28109
28113
 
@@ -29059,6 +29063,7 @@ export interface CalendarSettingsDto {
29059
29063
  defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
29060
29064
  halfDayHours?: number;
29061
29065
  holidayHours?: number;
29066
+ defaultPerformancePercent?: number;
29062
29067
  }
29063
29068
 
29064
29069
  export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
@@ -29067,6 +29072,7 @@ export interface UpdateCalendarSettingsCommand {
29067
29072
  defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
29068
29073
  halfDayHours?: number;
29069
29074
  holidayHours?: number;
29075
+ defaultPerformancePercent?: number | null;
29070
29076
  }
29071
29077
 
29072
29078
  export interface ResourceKpiDto {
@@ -29427,6 +29433,7 @@ export interface UtilizationDetailsV2Dto {
29427
29433
  uptimeInMilliseconds?: number | null;
29428
29434
  downtimeInMilliseconds?: number | null;
29429
29435
  totalTimeInMilliseconds?: number | null;
29436
+ performancePercent?: number | null;
29430
29437
  }
29431
29438
 
29432
29439
  export interface MachineGroupUtilizationV2Dto {
@@ -34686,10 +34693,10 @@ export interface AmcSpecificationDto extends AmcCdfEntityReadBase {
34686
34693
  updatedBy: string;
34687
34694
  updatedById: string;
34688
34695
  updated: Date;
34689
- chemistrySpecification?: AmcChemistrySpecificationDto | null;
34690
- mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
34691
- ferriteSpecification?: AmcFerriteSpecificationDto | null;
34692
- heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
34696
+ chemistrySpecification: AmcChemistrySpecificationDto;
34697
+ mechanicalSpecification: AmcMechanicalSpecificationDto;
34698
+ ferriteSpecification: AmcFerriteSpecificationDto;
34699
+ heatSpecification: AmcHeatTreatmentSpecificationDto;
34693
34700
  }
34694
34701
 
34695
34702
  export interface AmcSpecificationVersionDto {
@@ -34697,7 +34704,7 @@ export interface AmcSpecificationVersionDto {
34697
34704
  status?: AmcSpecificationStatus;
34698
34705
  }
34699
34706
 
34700
- export interface AmcChemistrySpecificationDto {
34707
+ export interface AmcChemistrySpecificationDto extends AmcCdfEntityReadBase {
34701
34708
  carbon?: AmcSpecificationLineDto | null;
34702
34709
  manganese?: AmcSpecificationLineDto | null;
34703
34710
  silicon?: AmcSpecificationLineDto | null;
@@ -34714,7 +34721,7 @@ export interface AmcChemistrySpecificationDto {
34714
34721
 
34715
34722
  export interface AmcSpecificationLineDto extends AmcCdfEntityReadBase {
34716
34723
  operator: AmcSpecificationOperator;
34717
- value1?: number | null;
34724
+ value1: number;
34718
34725
  value2?: number | null;
34719
34726
  symbol: AmcSpecificationSymbol;
34720
34727
  }
@@ -34723,7 +34730,7 @@ export type AmcSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "G
34723
34730
 
34724
34731
  export type AmcSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
34725
34732
 
34726
- export interface AmcMechanicalSpecificationDto {
34733
+ export interface AmcMechanicalSpecificationDto extends AmcCdfEntityReadBase {
34727
34734
  yieldStrength?: AmcSpecificationLineDto | null;
34728
34735
  tensileStrength?: AmcSpecificationLineDto | null;
34729
34736
  elongation?: AmcSpecificationLineDto | null;
@@ -34732,7 +34739,7 @@ export interface AmcMechanicalSpecificationDto {
34732
34739
  hardness?: AmcSpecificationLineDto | null;
34733
34740
  }
34734
34741
 
34735
- export interface AmcFerriteSpecificationDto {
34742
+ export interface AmcFerriteSpecificationDto extends AmcCdfEntityReadBase {
34736
34743
  ferriteContent?: AmcSpecificationLineDto | null;
34737
34744
  }
34738
34745
 
@@ -34757,16 +34764,16 @@ export interface CreateAmcSpecificationDto {
34757
34764
  specificationFile?: UploadFileDto | null;
34758
34765
  }
34759
34766
 
34760
- export interface UpdateAmcSpecificationDto {
34761
- specificationId: string;
34762
- version: number;
34763
- status: AmcSpecificationStatusUpdate;
34767
+ export interface AmcUpdateSpecificationDto {
34768
+ name?: string | null;
34769
+ number?: string | null;
34770
+ status?: AmcSpecificationStatusUpdate | null;
34764
34771
  summary?: string | null;
34765
- relatedStandards: string[];
34766
- chemistrySpecification: AmcChemistrySpecificationDto;
34767
- mechanicalSpecification: AmcMechanicalSpecificationDto;
34768
- ferriteSpecification: AmcFerriteSpecificationDto;
34769
- heatSpecification: AmcHeatTreatmentSpecificationDto;
34772
+ relatedStandards?: string[] | null;
34773
+ chemistrySpecification?: AmcChemistrySpecificationDto | null;
34774
+ mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
34775
+ ferriteSpecification?: AmcFerriteSpecificationDto | null;
34776
+ heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
34770
34777
  }
34771
34778
 
34772
34779
  export type AmcSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";