@ignos/api-client 20250703.0.12052-alpha → 20250704.0.12087-alpha

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.
@@ -2387,11 +2387,11 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
2387
2387
 
2388
2388
  export interface IUtilizationClient {
2389
2389
 
2390
- getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
2390
+ getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto>;
2391
2391
 
2392
- getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
2392
+ getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto>;
2393
2393
 
2394
- getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
2394
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
2395
2395
 
2396
2396
  getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
2397
2397
 
@@ -2409,7 +2409,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2409
2409
  this.baseUrl = baseUrl ?? "";
2410
2410
  }
2411
2411
 
2412
- getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto> {
2412
+ getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto> {
2413
2413
  let url_ = this.baseUrl + "/utilization?";
2414
2414
  if (utilizationType === null)
2415
2415
  throw new Error("The parameter 'utilizationType' cannot be null.");
@@ -2419,6 +2419,10 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2419
2419
  url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
2420
2420
  if (endTime !== undefined && endTime !== null)
2421
2421
  url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
2422
+ if (dataPointCount === null)
2423
+ throw new Error("The parameter 'dataPointCount' cannot be null.");
2424
+ else if (dataPointCount !== undefined)
2425
+ url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
2422
2426
  url_ = url_.replace(/[?&]$/, "");
2423
2427
 
2424
2428
  let options_: RequestInit = {
@@ -2453,7 +2457,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2453
2457
  return Promise.resolve<CompanyUtilizationDto>(null as any);
2454
2458
  }
2455
2459
 
2456
- getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto> {
2460
+ getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto> {
2457
2461
  let url_ = this.baseUrl + "/utilization/cross-company?";
2458
2462
  if (utilizationType === null)
2459
2463
  throw new Error("The parameter 'utilizationType' cannot be null.");
@@ -2463,6 +2467,10 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2463
2467
  url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
2464
2468
  if (endTime !== undefined && endTime !== null)
2465
2469
  url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
2470
+ if (dataPointCount === null)
2471
+ throw new Error("The parameter 'dataPointCount' cannot be null.");
2472
+ else if (dataPointCount !== undefined)
2473
+ url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
2466
2474
  url_ = url_.replace(/[?&]$/, "");
2467
2475
 
2468
2476
  let options_: RequestInit = {
@@ -2497,7 +2505,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2497
2505
  return Promise.resolve<CrossCompanyUtilizationDto>(null as any);
2498
2506
  }
2499
2507
 
2500
- getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto> {
2508
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto> {
2501
2509
  let url_ = this.baseUrl + "/utilization/datapoints?";
2502
2510
  if (utilizationType === null)
2503
2511
  throw new Error("The parameter 'utilizationType' cannot be null.");
@@ -2507,8 +2515,6 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
2507
2515
  url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
2508
2516
  if (endTime !== undefined && endTime !== null)
2509
2517
  url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
2510
- if (assetId !== undefined && assetId !== null)
2511
- url_ += "assetId=" + encodeURIComponent("" + assetId) + "&";
2512
2518
  if (assetExternalId !== undefined && assetExternalId !== null)
2513
2519
  url_ += "assetExternalId=" + encodeURIComponent("" + assetExternalId) + "&";
2514
2520
  url_ = url_.replace(/[?&]$/, "");
@@ -6373,13 +6379,9 @@ export interface IKpiAdminClient {
6373
6379
 
6374
6380
  updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
6375
6381
 
6376
- getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
6377
-
6378
- updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
6382
+ getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]>;
6379
6383
 
6380
- getCalendarSettings(): Promise<CalendarSettingsDto>;
6381
-
6382
- updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
6384
+ updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
6383
6385
  }
6384
6386
 
6385
6387
  export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
@@ -6473,8 +6475,8 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6473
6475
  return Promise.resolve<MachineCapacityDto>(null as any);
6474
6476
  }
6475
6477
 
6476
- getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]> {
6477
- let url_ = this.baseUrl + "/kpiadmin/calendar?";
6478
+ getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]> {
6479
+ let url_ = this.baseUrl + "/kpiadmin/calender?";
6478
6480
  if (startDate === null)
6479
6481
  throw new Error("The parameter 'startDate' cannot be null.");
6480
6482
  else if (startDate !== undefined)
@@ -6495,11 +6497,11 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6495
6497
  return this.transformOptions(options_).then(transformedOptions_ => {
6496
6498
  return this.http.fetch(url_, transformedOptions_);
6497
6499
  }).then((_response: Response) => {
6498
- return this.processGetCalendarCapacityAdmin(_response);
6500
+ return this.processGetCalenderCapacityAdmin(_response);
6499
6501
  });
6500
6502
  }
6501
6503
 
6502
- protected processGetCalendarCapacityAdmin(response: Response): Promise<CalendarDayDto[]> {
6504
+ protected processGetCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto[]> {
6503
6505
  const status = response.status;
6504
6506
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6505
6507
  if (status === 200) {
@@ -6509,7 +6511,7 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6509
6511
  if (Array.isArray(resultData200)) {
6510
6512
  result200 = [] as any;
6511
6513
  for (let item of resultData200)
6512
- result200!.push(CalendarDayDto.fromJS(item));
6514
+ result200!.push(CalenderCapacityDto.fromJS(item));
6513
6515
  }
6514
6516
  return result200;
6515
6517
  });
@@ -6518,11 +6520,11 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6518
6520
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6519
6521
  });
6520
6522
  }
6521
- return Promise.resolve<CalendarDayDto[]>(null as any);
6523
+ return Promise.resolve<CalenderCapacityDto[]>(null as any);
6522
6524
  }
6523
6525
 
6524
- updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto> {
6525
- let url_ = this.baseUrl + "/kpiadmin/calendar";
6526
+ updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto> {
6527
+ let url_ = this.baseUrl + "/kpiadmin/calender";
6526
6528
  url_ = url_.replace(/[?&]$/, "");
6527
6529
 
6528
6530
  const content_ = JSON.stringify(request);
@@ -6539,18 +6541,18 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6539
6541
  return this.transformOptions(options_).then(transformedOptions_ => {
6540
6542
  return this.http.fetch(url_, transformedOptions_);
6541
6543
  }).then((_response: Response) => {
6542
- return this.processUpdateCalendarCapacityAdmin(_response);
6544
+ return this.processUpdateCalenderCapacityAdmin(_response);
6543
6545
  });
6544
6546
  }
6545
6547
 
6546
- protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto> {
6548
+ protected processUpdateCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto> {
6547
6549
  const status = response.status;
6548
6550
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6549
6551
  if (status === 200) {
6550
6552
  return response.text().then((_responseText) => {
6551
6553
  let result200: any = null;
6552
6554
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6553
- result200 = CalendarCapacityDto.fromJS(resultData200);
6555
+ result200 = CalenderCapacityDto.fromJS(resultData200);
6554
6556
  return result200;
6555
6557
  });
6556
6558
  } else if (status !== 200 && status !== 204) {
@@ -6558,83 +6560,7 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6558
6560
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6559
6561
  });
6560
6562
  }
6561
- return Promise.resolve<CalendarCapacityDto>(null as any);
6562
- }
6563
-
6564
- getCalendarSettings(): Promise<CalendarSettingsDto> {
6565
- let url_ = this.baseUrl + "/kpiadmin/calendar/settings";
6566
- url_ = url_.replace(/[?&]$/, "");
6567
-
6568
- let options_: RequestInit = {
6569
- method: "GET",
6570
- headers: {
6571
- "Accept": "application/json"
6572
- }
6573
- };
6574
-
6575
- return this.transformOptions(options_).then(transformedOptions_ => {
6576
- return this.http.fetch(url_, transformedOptions_);
6577
- }).then((_response: Response) => {
6578
- return this.processGetCalendarSettings(_response);
6579
- });
6580
- }
6581
-
6582
- protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto> {
6583
- const status = response.status;
6584
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6585
- if (status === 200) {
6586
- return response.text().then((_responseText) => {
6587
- let result200: any = null;
6588
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6589
- result200 = CalendarSettingsDto.fromJS(resultData200);
6590
- return result200;
6591
- });
6592
- } else if (status !== 200 && status !== 204) {
6593
- return response.text().then((_responseText) => {
6594
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6595
- });
6596
- }
6597
- return Promise.resolve<CalendarSettingsDto>(null as any);
6598
- }
6599
-
6600
- updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto> {
6601
- let url_ = this.baseUrl + "/kpiadmin/calendar/settings";
6602
- url_ = url_.replace(/[?&]$/, "");
6603
-
6604
- const content_ = JSON.stringify(cmd);
6605
-
6606
- let options_: RequestInit = {
6607
- body: content_,
6608
- method: "PUT",
6609
- headers: {
6610
- "Content-Type": "application/json",
6611
- "Accept": "application/json"
6612
- }
6613
- };
6614
-
6615
- return this.transformOptions(options_).then(transformedOptions_ => {
6616
- return this.http.fetch(url_, transformedOptions_);
6617
- }).then((_response: Response) => {
6618
- return this.processUpdateCalendarSettings(_response);
6619
- });
6620
- }
6621
-
6622
- protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto> {
6623
- const status = response.status;
6624
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6625
- if (status === 200) {
6626
- return response.text().then((_responseText) => {
6627
- let result200: any = null;
6628
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6629
- result200 = CalendarSettingsDto.fromJS(resultData200);
6630
- return result200;
6631
- });
6632
- } else if (status !== 200 && status !== 204) {
6633
- return response.text().then((_responseText) => {
6634
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6635
- });
6636
- }
6637
- return Promise.resolve<CalendarSettingsDto>(null as any);
6563
+ return Promise.resolve<CalenderCapacityDto>(null as any);
6638
6564
  }
6639
6565
  }
6640
6566
 
@@ -27303,12 +27229,14 @@ export interface IPulseSettingsDto {
27303
27229
  utilizationTypeEnabling: UtilizationTypeEnablingDto;
27304
27230
  }
27305
27231
 
27306
- export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder";
27232
+ export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder" | "MachineCalendar" | "FactoryCalendar";
27307
27233
 
27308
27234
  export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
27309
27235
  powerOnEnabled!: boolean;
27310
27236
  twentyFourSevenEnabled!: boolean;
27311
27237
  activeOrderEnabled!: boolean;
27238
+ machineCalendarEnabled!: boolean;
27239
+ factoryCalendarEnabled!: boolean;
27312
27240
 
27313
27241
  constructor(data?: IUtilizationTypeEnablingDto) {
27314
27242
  if (data) {
@@ -27324,6 +27252,8 @@ export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
27324
27252
  this.powerOnEnabled = _data["powerOnEnabled"];
27325
27253
  this.twentyFourSevenEnabled = _data["twentyFourSevenEnabled"];
27326
27254
  this.activeOrderEnabled = _data["activeOrderEnabled"];
27255
+ this.machineCalendarEnabled = _data["machineCalendarEnabled"];
27256
+ this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
27327
27257
  }
27328
27258
  }
27329
27259
 
@@ -27339,6 +27269,8 @@ export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
27339
27269
  data["powerOnEnabled"] = this.powerOnEnabled;
27340
27270
  data["twentyFourSevenEnabled"] = this.twentyFourSevenEnabled;
27341
27271
  data["activeOrderEnabled"] = this.activeOrderEnabled;
27272
+ data["machineCalendarEnabled"] = this.machineCalendarEnabled;
27273
+ data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
27342
27274
  return data;
27343
27275
  }
27344
27276
  }
@@ -27347,6 +27279,8 @@ export interface IUtilizationTypeEnablingDto {
27347
27279
  powerOnEnabled: boolean;
27348
27280
  twentyFourSevenEnabled: boolean;
27349
27281
  activeOrderEnabled: boolean;
27282
+ machineCalendarEnabled: boolean;
27283
+ factoryCalendarEnabled: boolean;
27350
27284
  }
27351
27285
 
27352
27286
  export class UpdatePulseSettings implements IUpdatePulseSettings {
@@ -27354,6 +27288,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
27354
27288
  powerOnEnabled!: boolean;
27355
27289
  twentyfourSevenEnabled!: boolean;
27356
27290
  activeOrderEnabled!: boolean;
27291
+ machineCalendarEnabled!: boolean;
27292
+ factoryCalendarEnabled!: boolean;
27357
27293
 
27358
27294
  constructor(data?: IUpdatePulseSettings) {
27359
27295
  if (data) {
@@ -27370,6 +27306,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
27370
27306
  this.powerOnEnabled = _data["powerOnEnabled"];
27371
27307
  this.twentyfourSevenEnabled = _data["twentyfourSevenEnabled"];
27372
27308
  this.activeOrderEnabled = _data["activeOrderEnabled"];
27309
+ this.machineCalendarEnabled = _data["machineCalendarEnabled"];
27310
+ this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
27373
27311
  }
27374
27312
  }
27375
27313
 
@@ -27386,6 +27324,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
27386
27324
  data["powerOnEnabled"] = this.powerOnEnabled;
27387
27325
  data["twentyfourSevenEnabled"] = this.twentyfourSevenEnabled;
27388
27326
  data["activeOrderEnabled"] = this.activeOrderEnabled;
27327
+ data["machineCalendarEnabled"] = this.machineCalendarEnabled;
27328
+ data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
27389
27329
  return data;
27390
27330
  }
27391
27331
  }
@@ -27395,6 +27335,8 @@ export interface IUpdatePulseSettings {
27395
27335
  powerOnEnabled: boolean;
27396
27336
  twentyfourSevenEnabled: boolean;
27397
27337
  activeOrderEnabled: boolean;
27338
+ machineCalendarEnabled: boolean;
27339
+ factoryCalendarEnabled: boolean;
27398
27340
  }
27399
27341
 
27400
27342
  export class CompanyUtilizationDto implements ICompanyUtilizationDto {
@@ -27468,6 +27410,7 @@ export interface ICompanyUtilizationDto {
27468
27410
 
27469
27411
  export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
27470
27412
  utilizationPercent?: number | null;
27413
+ capacityInMilliseconds?: number;
27471
27414
  uptimeInSeconds?: number | null;
27472
27415
  downtimeInSeconds?: number | null;
27473
27416
  totalTimeInSeconds?: number | null;
@@ -27487,6 +27430,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
27487
27430
  init(_data?: any) {
27488
27431
  if (_data) {
27489
27432
  this.utilizationPercent = _data["utilizationPercent"];
27433
+ this.capacityInMilliseconds = _data["capacityInMilliseconds"];
27490
27434
  this.uptimeInSeconds = _data["uptimeInSeconds"];
27491
27435
  this.downtimeInSeconds = _data["downtimeInSeconds"];
27492
27436
  this.totalTimeInSeconds = _data["totalTimeInSeconds"];
@@ -27506,6 +27450,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
27506
27450
  toJSON(data?: any) {
27507
27451
  data = typeof data === 'object' ? data : {};
27508
27452
  data["utilizationPercent"] = this.utilizationPercent;
27453
+ data["capacityInMilliseconds"] = this.capacityInMilliseconds;
27509
27454
  data["uptimeInSeconds"] = this.uptimeInSeconds;
27510
27455
  data["downtimeInSeconds"] = this.downtimeInSeconds;
27511
27456
  data["totalTimeInSeconds"] = this.totalTimeInSeconds;
@@ -27518,6 +27463,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
27518
27463
 
27519
27464
  export interface IUtilizationDetailsV2Dto {
27520
27465
  utilizationPercent?: number | null;
27466
+ capacityInMilliseconds?: number;
27521
27467
  uptimeInSeconds?: number | null;
27522
27468
  downtimeInSeconds?: number | null;
27523
27469
  totalTimeInSeconds?: number | null;
@@ -33975,12 +33921,11 @@ export interface IUpdateMachinesCapacity {
33975
33921
  capacity?: MachineCapacitySettingsDto[] | null;
33976
33922
  }
33977
33923
 
33978
- export class CalendarDayDto implements ICalendarDayDto {
33924
+ export class CalenderCapacityDto implements ICalenderCapacityDto {
33979
33925
  date?: Date;
33980
- dayCapacity?: CalendarDayCapacityDto;
33981
- capacityHours?: number;
33926
+ dayCapacity?: CalenderDayCapacityDto;
33982
33927
 
33983
- constructor(data?: ICalendarDayDto) {
33928
+ constructor(data?: ICalenderCapacityDto) {
33984
33929
  if (data) {
33985
33930
  for (var property in data) {
33986
33931
  if (data.hasOwnProperty(property))
@@ -33993,13 +33938,12 @@ export class CalendarDayDto implements ICalendarDayDto {
33993
33938
  if (_data) {
33994
33939
  this.date = _data["date"] ? new Date(_data["date"].toString()) : <any>undefined;
33995
33940
  this.dayCapacity = _data["dayCapacity"];
33996
- this.capacityHours = _data["capacityHours"];
33997
33941
  }
33998
33942
  }
33999
33943
 
34000
- static fromJS(data: any): CalendarDayDto {
33944
+ static fromJS(data: any): CalenderCapacityDto {
34001
33945
  data = typeof data === 'object' ? data : {};
34002
- let result = new CalendarDayDto();
33946
+ let result = new CalenderCapacityDto();
34003
33947
  result.init(data);
34004
33948
  return result;
34005
33949
  }
@@ -34008,64 +33952,22 @@ export class CalendarDayDto implements ICalendarDayDto {
34008
33952
  data = typeof data === 'object' ? data : {};
34009
33953
  data["date"] = this.date ? this.date.toISOString() : <any>undefined;
34010
33954
  data["dayCapacity"] = this.dayCapacity;
34011
- data["capacityHours"] = this.capacityHours;
34012
33955
  return data;
34013
33956
  }
34014
33957
  }
34015
33958
 
34016
- export interface ICalendarDayDto {
33959
+ export interface ICalenderCapacityDto {
34017
33960
  date?: Date;
34018
- dayCapacity?: CalendarDayCapacityDto;
34019
- capacityHours?: number;
34020
- }
34021
-
34022
- export type CalendarDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
34023
-
34024
- export class CalendarCapacityDto implements ICalendarCapacityDto {
34025
- date?: Date;
34026
- dayCapacity?: CalendarDayCapacityDto;
34027
-
34028
- constructor(data?: ICalendarCapacityDto) {
34029
- if (data) {
34030
- for (var property in data) {
34031
- if (data.hasOwnProperty(property))
34032
- (<any>this)[property] = (<any>data)[property];
34033
- }
34034
- }
34035
- }
34036
-
34037
- init(_data?: any) {
34038
- if (_data) {
34039
- this.date = _data["date"] ? new Date(_data["date"].toString()) : <any>undefined;
34040
- this.dayCapacity = _data["dayCapacity"];
34041
- }
34042
- }
34043
-
34044
- static fromJS(data: any): CalendarCapacityDto {
34045
- data = typeof data === 'object' ? data : {};
34046
- let result = new CalendarCapacityDto();
34047
- result.init(data);
34048
- return result;
34049
- }
34050
-
34051
- toJSON(data?: any) {
34052
- data = typeof data === 'object' ? data : {};
34053
- data["date"] = this.date ? this.date.toISOString() : <any>undefined;
34054
- data["dayCapacity"] = this.dayCapacity;
34055
- return data;
34056
- }
33961
+ dayCapacity?: CalenderDayCapacityDto;
34057
33962
  }
34058
33963
 
34059
- export interface ICalendarCapacityDto {
34060
- date?: Date;
34061
- dayCapacity?: CalendarDayCapacityDto;
34062
- }
33964
+ export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
34063
33965
 
34064
- export class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
33966
+ export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
34065
33967
  date?: Date;
34066
- dayCapacity?: CalendarDayCapacityDto;
33968
+ dayCapacity?: CalenderDayCapacityDto;
34067
33969
 
34068
- constructor(data?: IUpdateCalendarCapacity) {
33970
+ constructor(data?: IUpdateCalenderCapacity) {
34069
33971
  if (data) {
34070
33972
  for (var property in data) {
34071
33973
  if (data.hasOwnProperty(property))
@@ -34081,9 +33983,9 @@ export class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
34081
33983
  }
34082
33984
  }
34083
33985
 
34084
- static fromJS(data: any): UpdateCalendarCapacity {
33986
+ static fromJS(data: any): UpdateCalenderCapacity {
34085
33987
  data = typeof data === 'object' ? data : {};
34086
- let result = new UpdateCalendarCapacity();
33988
+ let result = new UpdateCalenderCapacity();
34087
33989
  result.init(data);
34088
33990
  return result;
34089
33991
  }
@@ -34096,123 +33998,9 @@ export class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
34096
33998
  }
34097
33999
  }
34098
34000
 
34099
- export interface IUpdateCalendarCapacity {
34001
+ export interface IUpdateCalenderCapacity {
34100
34002
  date?: Date;
34101
- dayCapacity?: CalendarDayCapacityDto;
34102
- }
34103
-
34104
- export class CalendarSettingsDto implements ICalendarSettingsDto {
34105
- defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
34106
- halfDayHours?: number;
34107
- holidayHours?: number;
34108
-
34109
- constructor(data?: ICalendarSettingsDto) {
34110
- if (data) {
34111
- for (var property in data) {
34112
- if (data.hasOwnProperty(property))
34113
- (<any>this)[property] = (<any>data)[property];
34114
- }
34115
- }
34116
- }
34117
-
34118
- init(_data?: any) {
34119
- if (_data) {
34120
- if (_data["defaultHoursPerWeekday"]) {
34121
- this.defaultHoursPerWeekday = {} as any;
34122
- for (let key in _data["defaultHoursPerWeekday"]) {
34123
- if (_data["defaultHoursPerWeekday"].hasOwnProperty(key))
34124
- (<any>this.defaultHoursPerWeekday)![key] = _data["defaultHoursPerWeekday"][key];
34125
- }
34126
- }
34127
- this.halfDayHours = _data["halfDayHours"];
34128
- this.holidayHours = _data["holidayHours"];
34129
- }
34130
- }
34131
-
34132
- static fromJS(data: any): CalendarSettingsDto {
34133
- data = typeof data === 'object' ? data : {};
34134
- let result = new CalendarSettingsDto();
34135
- result.init(data);
34136
- return result;
34137
- }
34138
-
34139
- toJSON(data?: any) {
34140
- data = typeof data === 'object' ? data : {};
34141
- if (this.defaultHoursPerWeekday) {
34142
- data["defaultHoursPerWeekday"] = {};
34143
- for (let key in this.defaultHoursPerWeekday) {
34144
- if (this.defaultHoursPerWeekday.hasOwnProperty(key))
34145
- (<any>data["defaultHoursPerWeekday"])[key] = (<any>this.defaultHoursPerWeekday)[key];
34146
- }
34147
- }
34148
- data["halfDayHours"] = this.halfDayHours;
34149
- data["holidayHours"] = this.holidayHours;
34150
- return data;
34151
- }
34152
- }
34153
-
34154
- export interface ICalendarSettingsDto {
34155
- defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
34156
- halfDayHours?: number;
34157
- holidayHours?: number;
34158
- }
34159
-
34160
- export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
34161
-
34162
- export class UpdateCalendarSettingsCommand implements IUpdateCalendarSettingsCommand {
34163
- defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
34164
- halfDayHours?: number;
34165
- holidayHours?: number;
34166
-
34167
- constructor(data?: IUpdateCalendarSettingsCommand) {
34168
- if (data) {
34169
- for (var property in data) {
34170
- if (data.hasOwnProperty(property))
34171
- (<any>this)[property] = (<any>data)[property];
34172
- }
34173
- }
34174
- }
34175
-
34176
- init(_data?: any) {
34177
- if (_data) {
34178
- if (_data["defaultHoursPerWeekday"]) {
34179
- this.defaultHoursPerWeekday = {} as any;
34180
- for (let key in _data["defaultHoursPerWeekday"]) {
34181
- if (_data["defaultHoursPerWeekday"].hasOwnProperty(key))
34182
- (<any>this.defaultHoursPerWeekday)![key] = _data["defaultHoursPerWeekday"][key];
34183
- }
34184
- }
34185
- this.halfDayHours = _data["halfDayHours"];
34186
- this.holidayHours = _data["holidayHours"];
34187
- }
34188
- }
34189
-
34190
- static fromJS(data: any): UpdateCalendarSettingsCommand {
34191
- data = typeof data === 'object' ? data : {};
34192
- let result = new UpdateCalendarSettingsCommand();
34193
- result.init(data);
34194
- return result;
34195
- }
34196
-
34197
- toJSON(data?: any) {
34198
- data = typeof data === 'object' ? data : {};
34199
- if (this.defaultHoursPerWeekday) {
34200
- data["defaultHoursPerWeekday"] = {};
34201
- for (let key in this.defaultHoursPerWeekday) {
34202
- if (this.defaultHoursPerWeekday.hasOwnProperty(key))
34203
- (<any>data["defaultHoursPerWeekday"])[key] = (<any>this.defaultHoursPerWeekday)[key];
34204
- }
34205
- }
34206
- data["halfDayHours"] = this.halfDayHours;
34207
- data["holidayHours"] = this.holidayHours;
34208
- return data;
34209
- }
34210
- }
34211
-
34212
- export interface IUpdateCalendarSettingsCommand {
34213
- defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
34214
- halfDayHours?: number;
34215
- holidayHours?: number;
34003
+ dayCapacity?: CalenderDayCapacityDto;
34216
34004
  }
34217
34005
 
34218
34006
  export class MachineKpiDto implements IMachineKpiDto {
@@ -51815,6 +51603,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
51815
51603
  machiningDimension?: number | null;
51816
51604
  nominalInch?: number | null;
51817
51605
  isValid!: boolean;
51606
+ validationErrorMessage?: string | null;
51818
51607
 
51819
51608
  constructor(data?: IMeasurementFormGroupedElementDto) {
51820
51609
  if (data) {
@@ -51866,6 +51655,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
51866
51655
  this.machiningDimension = _data["machiningDimension"];
51867
51656
  this.nominalInch = _data["nominalInch"];
51868
51657
  this.isValid = _data["isValid"];
51658
+ this.validationErrorMessage = _data["validationErrorMessage"];
51869
51659
  }
51870
51660
  }
51871
51661
 
@@ -51917,6 +51707,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
51917
51707
  data["machiningDimension"] = this.machiningDimension;
51918
51708
  data["nominalInch"] = this.nominalInch;
51919
51709
  data["isValid"] = this.isValid;
51710
+ data["validationErrorMessage"] = this.validationErrorMessage;
51920
51711
  return data;
51921
51712
  }
51922
51713
  }
@@ -51961,9 +51752,10 @@ export interface IMeasurementFormGroupedElementDto {
51961
51752
  machiningDimension?: number | null;
51962
51753
  nominalInch?: number | null;
51963
51754
  isValid: boolean;
51755
+ validationErrorMessage?: string | null;
51964
51756
  }
51965
51757
 
51966
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "None";
51758
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
51967
51759
 
51968
51760
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
51969
51761
 
@@ -52358,6 +52150,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
52358
52150
  includeInCustomerDocumentation!: boolean;
52359
52151
  canCopy?: boolean | null;
52360
52152
  isDocumentedExternally!: boolean;
52153
+ coatingThickness?: number | null;
52361
52154
 
52362
52155
  constructor(data?: IUpdateSchemaGroupedElementDto) {
52363
52156
  if (data) {
@@ -52376,6 +52169,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
52376
52169
  this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
52377
52170
  this.canCopy = _data["canCopy"];
52378
52171
  this.isDocumentedExternally = _data["isDocumentedExternally"];
52172
+ this.coatingThickness = _data["coatingThickness"];
52379
52173
  }
52380
52174
  }
52381
52175
 
@@ -52394,6 +52188,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
52394
52188
  data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
52395
52189
  data["canCopy"] = this.canCopy;
52396
52190
  data["isDocumentedExternally"] = this.isDocumentedExternally;
52191
+ data["coatingThickness"] = this.coatingThickness;
52397
52192
  return data;
52398
52193
  }
52399
52194
  }
@@ -52405,6 +52200,7 @@ export interface IUpdateSchemaGroupedElementDto {
52405
52200
  includeInCustomerDocumentation: boolean;
52406
52201
  canCopy?: boolean | null;
52407
52202
  isDocumentedExternally: boolean;
52203
+ coatingThickness?: number | null;
52408
52204
  }
52409
52205
 
52410
52206
  export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {