@ignos/api-client 20250702.0.12047-alpha → 20250703.0.12052-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.
@@ -788,7 +788,7 @@ export interface IKpiAdminClient {
788
788
  getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
789
789
  updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
790
790
  getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
791
- updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
791
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
792
792
  getCalendarSettings(): Promise<CalendarSettingsDto>;
793
793
  updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
794
794
  }
@@ -805,8 +805,8 @@ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdm
805
805
  protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
806
806
  getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
807
807
  protected processGetCalendarCapacityAdmin(response: Response): Promise<CalendarDayDto[]>;
808
- updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
809
- protected processUpdateCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto>;
808
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
809
+ protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto>;
810
810
  getCalendarSettings(): Promise<CalendarSettingsDto>;
811
811
  protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
812
812
  updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
@@ -5859,7 +5859,7 @@ export interface IUpdateMachinesCapacity {
5859
5859
  }
5860
5860
  export declare class CalendarDayDto implements ICalendarDayDto {
5861
5861
  date?: Date;
5862
- dayCapacity?: CalenderDayCapacityDto;
5862
+ dayCapacity?: CalendarDayCapacityDto;
5863
5863
  capacityHours?: number;
5864
5864
  constructor(data?: ICalendarDayDto);
5865
5865
  init(_data?: any): void;
@@ -5868,33 +5868,33 @@ export declare class CalendarDayDto implements ICalendarDayDto {
5868
5868
  }
5869
5869
  export interface ICalendarDayDto {
5870
5870
  date?: Date;
5871
- dayCapacity?: CalenderDayCapacityDto;
5871
+ dayCapacity?: CalendarDayCapacityDto;
5872
5872
  capacityHours?: number;
5873
5873
  }
5874
- export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
5875
- export declare class CalenderCapacityDto implements ICalenderCapacityDto {
5874
+ export type CalendarDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
5875
+ export declare class CalendarCapacityDto implements ICalendarCapacityDto {
5876
5876
  date?: Date;
5877
- dayCapacity?: CalenderDayCapacityDto;
5878
- constructor(data?: ICalenderCapacityDto);
5877
+ dayCapacity?: CalendarDayCapacityDto;
5878
+ constructor(data?: ICalendarCapacityDto);
5879
5879
  init(_data?: any): void;
5880
- static fromJS(data: any): CalenderCapacityDto;
5880
+ static fromJS(data: any): CalendarCapacityDto;
5881
5881
  toJSON(data?: any): any;
5882
5882
  }
5883
- export interface ICalenderCapacityDto {
5883
+ export interface ICalendarCapacityDto {
5884
5884
  date?: Date;
5885
- dayCapacity?: CalenderDayCapacityDto;
5885
+ dayCapacity?: CalendarDayCapacityDto;
5886
5886
  }
5887
- export declare class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
5887
+ export declare class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
5888
5888
  date?: Date;
5889
- dayCapacity?: CalenderDayCapacityDto;
5890
- constructor(data?: IUpdateCalenderCapacity);
5889
+ dayCapacity?: CalendarDayCapacityDto;
5890
+ constructor(data?: IUpdateCalendarCapacity);
5891
5891
  init(_data?: any): void;
5892
- static fromJS(data: any): UpdateCalenderCapacity;
5892
+ static fromJS(data: any): UpdateCalendarCapacity;
5893
5893
  toJSON(data?: any): any;
5894
5894
  }
5895
- export interface IUpdateCalenderCapacity {
5895
+ export interface IUpdateCalendarCapacity {
5896
5896
  date?: Date;
5897
- dayCapacity?: CalenderDayCapacityDto;
5897
+ dayCapacity?: CalendarDayCapacityDto;
5898
5898
  }
5899
5899
  export declare class CalendarSettingsDto implements ICalendarSettingsDto {
5900
5900
  defaultHoursPerWeekday?: {
@@ -6069,8 +6069,8 @@ export class KpiAdminClient extends AuthorizedApiBase {
6069
6069
  }
6070
6070
  return Promise.resolve(null);
6071
6071
  }
6072
- updateCalenderCapacityAdmin(request) {
6073
- let url_ = this.baseUrl + "/kpiadmin/calender";
6072
+ updateCalendarCapacityAdmin(request) {
6073
+ let url_ = this.baseUrl + "/kpiadmin/calendar";
6074
6074
  url_ = url_.replace(/[?&]$/, "");
6075
6075
  const content_ = JSON.stringify(request);
6076
6076
  let options_ = {
@@ -6084,10 +6084,10 @@ export class KpiAdminClient extends AuthorizedApiBase {
6084
6084
  return this.transformOptions(options_).then(transformedOptions_ => {
6085
6085
  return this.http.fetch(url_, transformedOptions_);
6086
6086
  }).then((_response) => {
6087
- return this.processUpdateCalenderCapacityAdmin(_response);
6087
+ return this.processUpdateCalendarCapacityAdmin(_response);
6088
6088
  });
6089
6089
  }
6090
- processUpdateCalenderCapacityAdmin(response) {
6090
+ processUpdateCalendarCapacityAdmin(response) {
6091
6091
  const status = response.status;
6092
6092
  let _headers = {};
6093
6093
  if (response.headers && response.headers.forEach) {
@@ -6098,7 +6098,7 @@ export class KpiAdminClient extends AuthorizedApiBase {
6098
6098
  return response.text().then((_responseText) => {
6099
6099
  let result200 = null;
6100
6100
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6101
- result200 = CalenderCapacityDto.fromJS(resultData200);
6101
+ result200 = CalendarCapacityDto.fromJS(resultData200);
6102
6102
  return result200;
6103
6103
  });
6104
6104
  }
@@ -29331,7 +29331,7 @@ export class CalendarDayDto {
29331
29331
  return data;
29332
29332
  }
29333
29333
  }
29334
- export class CalenderCapacityDto {
29334
+ export class CalendarCapacityDto {
29335
29335
  constructor(data) {
29336
29336
  if (data) {
29337
29337
  for (var property in data) {
@@ -29348,7 +29348,7 @@ export class CalenderCapacityDto {
29348
29348
  }
29349
29349
  static fromJS(data) {
29350
29350
  data = typeof data === 'object' ? data : {};
29351
- let result = new CalenderCapacityDto();
29351
+ let result = new CalendarCapacityDto();
29352
29352
  result.init(data);
29353
29353
  return result;
29354
29354
  }
@@ -29359,7 +29359,7 @@ export class CalenderCapacityDto {
29359
29359
  return data;
29360
29360
  }
29361
29361
  }
29362
- export class UpdateCalenderCapacity {
29362
+ export class UpdateCalendarCapacity {
29363
29363
  constructor(data) {
29364
29364
  if (data) {
29365
29365
  for (var property in data) {
@@ -29376,7 +29376,7 @@ export class UpdateCalenderCapacity {
29376
29376
  }
29377
29377
  static fromJS(data) {
29378
29378
  data = typeof data === 'object' ? data : {};
29379
- let result = new UpdateCalenderCapacity();
29379
+ let result = new UpdateCalendarCapacity();
29380
29380
  result.init(data);
29381
29381
  return result;
29382
29382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250702.0.12047-alpha",
3
+ "version": "20250703.0.12052-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -6375,7 +6375,7 @@ export interface IKpiAdminClient {
6375
6375
 
6376
6376
  getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
6377
6377
 
6378
- updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
6378
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
6379
6379
 
6380
6380
  getCalendarSettings(): Promise<CalendarSettingsDto>;
6381
6381
 
@@ -6521,8 +6521,8 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6521
6521
  return Promise.resolve<CalendarDayDto[]>(null as any);
6522
6522
  }
6523
6523
 
6524
- updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto> {
6525
- let url_ = this.baseUrl + "/kpiadmin/calender";
6524
+ updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto> {
6525
+ let url_ = this.baseUrl + "/kpiadmin/calendar";
6526
6526
  url_ = url_.replace(/[?&]$/, "");
6527
6527
 
6528
6528
  const content_ = JSON.stringify(request);
@@ -6539,18 +6539,18 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6539
6539
  return this.transformOptions(options_).then(transformedOptions_ => {
6540
6540
  return this.http.fetch(url_, transformedOptions_);
6541
6541
  }).then((_response: Response) => {
6542
- return this.processUpdateCalenderCapacityAdmin(_response);
6542
+ return this.processUpdateCalendarCapacityAdmin(_response);
6543
6543
  });
6544
6544
  }
6545
6545
 
6546
- protected processUpdateCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto> {
6546
+ protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto> {
6547
6547
  const status = response.status;
6548
6548
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6549
6549
  if (status === 200) {
6550
6550
  return response.text().then((_responseText) => {
6551
6551
  let result200: any = null;
6552
6552
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6553
- result200 = CalenderCapacityDto.fromJS(resultData200);
6553
+ result200 = CalendarCapacityDto.fromJS(resultData200);
6554
6554
  return result200;
6555
6555
  });
6556
6556
  } else if (status !== 200 && status !== 204) {
@@ -6558,7 +6558,7 @@ export class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient
6558
6558
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6559
6559
  });
6560
6560
  }
6561
- return Promise.resolve<CalenderCapacityDto>(null as any);
6561
+ return Promise.resolve<CalendarCapacityDto>(null as any);
6562
6562
  }
6563
6563
 
6564
6564
  getCalendarSettings(): Promise<CalendarSettingsDto> {
@@ -33977,7 +33977,7 @@ export interface IUpdateMachinesCapacity {
33977
33977
 
33978
33978
  export class CalendarDayDto implements ICalendarDayDto {
33979
33979
  date?: Date;
33980
- dayCapacity?: CalenderDayCapacityDto;
33980
+ dayCapacity?: CalendarDayCapacityDto;
33981
33981
  capacityHours?: number;
33982
33982
 
33983
33983
  constructor(data?: ICalendarDayDto) {
@@ -34015,17 +34015,17 @@ export class CalendarDayDto implements ICalendarDayDto {
34015
34015
 
34016
34016
  export interface ICalendarDayDto {
34017
34017
  date?: Date;
34018
- dayCapacity?: CalenderDayCapacityDto;
34018
+ dayCapacity?: CalendarDayCapacityDto;
34019
34019
  capacityHours?: number;
34020
34020
  }
34021
34021
 
34022
- export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
34022
+ export type CalendarDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
34023
34023
 
34024
- export class CalenderCapacityDto implements ICalenderCapacityDto {
34024
+ export class CalendarCapacityDto implements ICalendarCapacityDto {
34025
34025
  date?: Date;
34026
- dayCapacity?: CalenderDayCapacityDto;
34026
+ dayCapacity?: CalendarDayCapacityDto;
34027
34027
 
34028
- constructor(data?: ICalenderCapacityDto) {
34028
+ constructor(data?: ICalendarCapacityDto) {
34029
34029
  if (data) {
34030
34030
  for (var property in data) {
34031
34031
  if (data.hasOwnProperty(property))
@@ -34041,9 +34041,9 @@ export class CalenderCapacityDto implements ICalenderCapacityDto {
34041
34041
  }
34042
34042
  }
34043
34043
 
34044
- static fromJS(data: any): CalenderCapacityDto {
34044
+ static fromJS(data: any): CalendarCapacityDto {
34045
34045
  data = typeof data === 'object' ? data : {};
34046
- let result = new CalenderCapacityDto();
34046
+ let result = new CalendarCapacityDto();
34047
34047
  result.init(data);
34048
34048
  return result;
34049
34049
  }
@@ -34056,16 +34056,16 @@ export class CalenderCapacityDto implements ICalenderCapacityDto {
34056
34056
  }
34057
34057
  }
34058
34058
 
34059
- export interface ICalenderCapacityDto {
34059
+ export interface ICalendarCapacityDto {
34060
34060
  date?: Date;
34061
- dayCapacity?: CalenderDayCapacityDto;
34061
+ dayCapacity?: CalendarDayCapacityDto;
34062
34062
  }
34063
34063
 
34064
- export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
34064
+ export class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
34065
34065
  date?: Date;
34066
- dayCapacity?: CalenderDayCapacityDto;
34066
+ dayCapacity?: CalendarDayCapacityDto;
34067
34067
 
34068
- constructor(data?: IUpdateCalenderCapacity) {
34068
+ constructor(data?: IUpdateCalendarCapacity) {
34069
34069
  if (data) {
34070
34070
  for (var property in data) {
34071
34071
  if (data.hasOwnProperty(property))
@@ -34081,9 +34081,9 @@ export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
34081
34081
  }
34082
34082
  }
34083
34083
 
34084
- static fromJS(data: any): UpdateCalenderCapacity {
34084
+ static fromJS(data: any): UpdateCalendarCapacity {
34085
34085
  data = typeof data === 'object' ? data : {};
34086
- let result = new UpdateCalenderCapacity();
34086
+ let result = new UpdateCalendarCapacity();
34087
34087
  result.init(data);
34088
34088
  return result;
34089
34089
  }
@@ -34096,9 +34096,9 @@ export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
34096
34096
  }
34097
34097
  }
34098
34098
 
34099
- export interface IUpdateCalenderCapacity {
34099
+ export interface IUpdateCalendarCapacity {
34100
34100
  date?: Date;
34101
- dayCapacity?: CalenderDayCapacityDto;
34101
+ dayCapacity?: CalendarDayCapacityDto;
34102
34102
  }
34103
34103
 
34104
34104
  export class CalendarSettingsDto implements ICalendarSettingsDto {