@ignos/api-client 20260220.62.1-alpha → 20260223.65.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.
- package/lib/ignosportal-api.d.ts +55 -5
- package/lib/ignosportal-api.js +202 -2
- package/package.json +1 -1
- package/src/ignosportal-api.ts +250 -6
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2076,8 +2076,32 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
|
|
|
2076
2076
|
exportBookings(includeTracking: boolean | undefined): Promise<DownloadDto>;
|
|
2077
2077
|
protected processExportBookings(response: Response): Promise<DownloadDto>;
|
|
2078
2078
|
}
|
|
2079
|
+
export interface IMoveInfoscreenClient {
|
|
2080
|
+
listInfoscreens(): Promise<MoveInfoscreenDto[]>;
|
|
2081
|
+
createInfoscreen(request: CreateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
2082
|
+
getInfoscreenBySlug(slug: string): Promise<MoveInfoscreenDto>;
|
|
2083
|
+
updateInfoscreen(id: string, request: UpdateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
2084
|
+
deleteInfoscreen(id: string): Promise<void>;
|
|
2085
|
+
}
|
|
2086
|
+
export declare class MoveInfoscreenClient extends AuthorizedApiBase implements IMoveInfoscreenClient {
|
|
2087
|
+
private http;
|
|
2088
|
+
private baseUrl;
|
|
2089
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2090
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2091
|
+
});
|
|
2092
|
+
listInfoscreens(): Promise<MoveInfoscreenDto[]>;
|
|
2093
|
+
protected processListInfoscreens(response: Response): Promise<MoveInfoscreenDto[]>;
|
|
2094
|
+
createInfoscreen(request: CreateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
2095
|
+
protected processCreateInfoscreen(response: Response): Promise<MoveInfoscreenDto>;
|
|
2096
|
+
getInfoscreenBySlug(slug: string): Promise<MoveInfoscreenDto>;
|
|
2097
|
+
protected processGetInfoscreenBySlug(response: Response): Promise<MoveInfoscreenDto>;
|
|
2098
|
+
updateInfoscreen(id: string, request: UpdateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
2099
|
+
protected processUpdateInfoscreen(response: Response): Promise<MoveInfoscreenDto>;
|
|
2100
|
+
deleteInfoscreen(id: string): Promise<void>;
|
|
2101
|
+
protected processDeleteInfoscreen(response: Response): Promise<void>;
|
|
2102
|
+
}
|
|
2079
2103
|
export interface IMoveLocationsClient {
|
|
2080
|
-
listLocations(): Promise<LocationZoneGroupDto[]>;
|
|
2104
|
+
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
|
|
2081
2105
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
|
|
2082
2106
|
suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
|
|
2083
2107
|
suggestionsParcel(parcelId: string[] | undefined): Promise<SuggestionsResponseDto>;
|
|
@@ -2090,7 +2114,7 @@ export declare class MoveLocationsClient extends AuthorizedApiBase implements IM
|
|
|
2090
2114
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2091
2115
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2092
2116
|
});
|
|
2093
|
-
listLocations(): Promise<LocationZoneGroupDto[]>;
|
|
2117
|
+
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
|
|
2094
2118
|
protected processListLocations(response: Response): Promise<LocationZoneGroupDto[]>;
|
|
2095
2119
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
|
|
2096
2120
|
protected processSearchLocations(response: Response): Promise<LocationDto[]>;
|
|
@@ -3333,7 +3357,9 @@ export interface DowntimePeriodReasonDto {
|
|
|
3333
3357
|
id: number;
|
|
3334
3358
|
reason: string;
|
|
3335
3359
|
parentReasonId?: string | null;
|
|
3360
|
+
categoryId?: string | null;
|
|
3336
3361
|
parentReason?: string | null;
|
|
3362
|
+
category?: string | null;
|
|
3337
3363
|
reasonType: DowntimeReasonTypeDto;
|
|
3338
3364
|
startTime: Date;
|
|
3339
3365
|
endTime?: Date | null;
|
|
@@ -3810,6 +3836,7 @@ export interface IgnosPortalControllersResourcesApiModelsCreateDowntimeReasonsRe
|
|
|
3810
3836
|
resourceGroupNames?: string[] | null;
|
|
3811
3837
|
startTime?: Date | null;
|
|
3812
3838
|
endTime?: Date | null;
|
|
3839
|
+
workOrderAndPartSearch?: string | null;
|
|
3813
3840
|
}
|
|
3814
3841
|
export interface DowntimeReasonsReportCsvDto {
|
|
3815
3842
|
downtimeCsv?: DownloadDto | null;
|
|
@@ -3863,7 +3890,6 @@ export interface CalendarSettingsDto {
|
|
|
3863
3890
|
};
|
|
3864
3891
|
halfDayHours?: number;
|
|
3865
3892
|
holidayHours?: number;
|
|
3866
|
-
defaultPerformancePercent?: number;
|
|
3867
3893
|
}
|
|
3868
3894
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3869
3895
|
export interface UpdateCalendarSettingsCommand {
|
|
@@ -3872,7 +3898,6 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
3872
3898
|
};
|
|
3873
3899
|
halfDayHours?: number;
|
|
3874
3900
|
holidayHours?: number;
|
|
3875
|
-
defaultPerformancePercent?: number | null;
|
|
3876
3901
|
}
|
|
3877
3902
|
export interface ResourceKpiDto {
|
|
3878
3903
|
uptimeToNow: number;
|
|
@@ -4186,7 +4211,6 @@ export interface UtilizationDetailsV2Dto {
|
|
|
4186
4211
|
uptimeInMilliseconds?: number | null;
|
|
4187
4212
|
downtimeInMilliseconds?: number | null;
|
|
4188
4213
|
totalTimeInMilliseconds?: number | null;
|
|
4189
|
-
performancePercent?: number | null;
|
|
4190
4214
|
}
|
|
4191
4215
|
export interface MachineGroupUtilizationV2Dto {
|
|
4192
4216
|
name: string;
|
|
@@ -6500,6 +6524,29 @@ export interface BookingStatusUpdateDto {
|
|
|
6500
6524
|
deliveryExceptionToLocationId?: string | null;
|
|
6501
6525
|
deliveryExceptionComment?: string | null;
|
|
6502
6526
|
}
|
|
6527
|
+
export interface MoveInfoscreenDto {
|
|
6528
|
+
id?: string;
|
|
6529
|
+
name?: string;
|
|
6530
|
+
slug?: string;
|
|
6531
|
+
fromZoneIds?: string[];
|
|
6532
|
+
fromLocationIds?: string[];
|
|
6533
|
+
toZoneIds?: string[];
|
|
6534
|
+
toLocationIds?: string[];
|
|
6535
|
+
}
|
|
6536
|
+
export interface CreateMoveInfoscreenRequestDto {
|
|
6537
|
+
name?: string;
|
|
6538
|
+
fromZoneIds?: string[];
|
|
6539
|
+
fromLocationIds?: string[];
|
|
6540
|
+
toZoneIds?: string[];
|
|
6541
|
+
toLocationIds?: string[];
|
|
6542
|
+
}
|
|
6543
|
+
export interface UpdateMoveInfoscreenRequestDto {
|
|
6544
|
+
name?: string;
|
|
6545
|
+
fromZoneIds?: string[];
|
|
6546
|
+
fromLocationIds?: string[];
|
|
6547
|
+
toZoneIds?: string[];
|
|
6548
|
+
toLocationIds?: string[];
|
|
6549
|
+
}
|
|
6503
6550
|
export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
|
|
6504
6551
|
export interface SuggestionsResponseDto {
|
|
6505
6552
|
parcels: SuggestionsParcelDto[];
|
|
@@ -7586,6 +7633,7 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
7586
7633
|
includeToolsInReport: boolean;
|
|
7587
7634
|
validationRuleId?: string | null;
|
|
7588
7635
|
requireCalibratedTools: boolean;
|
|
7636
|
+
allowEmptyToolListInValue: boolean;
|
|
7589
7637
|
}
|
|
7590
7638
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
7591
7639
|
customerId: string;
|
|
@@ -7593,6 +7641,7 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
7593
7641
|
includeToolsInReport: boolean;
|
|
7594
7642
|
validationRuleId?: string | null;
|
|
7595
7643
|
requireCalibratedTools: boolean;
|
|
7644
|
+
allowEmptyToolListInValue: boolean;
|
|
7596
7645
|
}
|
|
7597
7646
|
export interface MeasurementFormMappingDto {
|
|
7598
7647
|
id: string;
|
|
@@ -7982,6 +8031,7 @@ export interface SaveValueResponseDto {
|
|
|
7982
8031
|
isOutsideTolerances: boolean;
|
|
7983
8032
|
isCloseToTolerances: boolean;
|
|
7984
8033
|
tools: MeasurementFormToolValueDto[];
|
|
8034
|
+
valueCompleted: boolean;
|
|
7985
8035
|
}
|
|
7986
8036
|
export interface SaveValueRequest {
|
|
7987
8037
|
operation?: number | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -17056,14 +17056,214 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
17056
17056
|
return Promise.resolve(null);
|
|
17057
17057
|
}
|
|
17058
17058
|
}
|
|
17059
|
+
export class MoveInfoscreenClient extends AuthorizedApiBase {
|
|
17060
|
+
constructor(configuration, baseUrl, http) {
|
|
17061
|
+
super(configuration);
|
|
17062
|
+
this.http = http ? http : window;
|
|
17063
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
17064
|
+
}
|
|
17065
|
+
listInfoscreens() {
|
|
17066
|
+
let url_ = this.baseUrl + "/move/infoscreens";
|
|
17067
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17068
|
+
let options_ = {
|
|
17069
|
+
method: "GET",
|
|
17070
|
+
headers: {
|
|
17071
|
+
"Accept": "application/json"
|
|
17072
|
+
}
|
|
17073
|
+
};
|
|
17074
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17075
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17076
|
+
}).then((_response) => {
|
|
17077
|
+
return this.processListInfoscreens(_response);
|
|
17078
|
+
});
|
|
17079
|
+
}
|
|
17080
|
+
processListInfoscreens(response) {
|
|
17081
|
+
const status = response.status;
|
|
17082
|
+
let _headers = {};
|
|
17083
|
+
if (response.headers && response.headers.forEach) {
|
|
17084
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17085
|
+
}
|
|
17086
|
+
;
|
|
17087
|
+
if (status === 200) {
|
|
17088
|
+
return response.text().then((_responseText) => {
|
|
17089
|
+
let result200 = null;
|
|
17090
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17091
|
+
return result200;
|
|
17092
|
+
});
|
|
17093
|
+
}
|
|
17094
|
+
else if (status !== 200 && status !== 204) {
|
|
17095
|
+
return response.text().then((_responseText) => {
|
|
17096
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17097
|
+
});
|
|
17098
|
+
}
|
|
17099
|
+
return Promise.resolve(null);
|
|
17100
|
+
}
|
|
17101
|
+
createInfoscreen(request) {
|
|
17102
|
+
let url_ = this.baseUrl + "/move/infoscreens";
|
|
17103
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17104
|
+
const content_ = JSON.stringify(request);
|
|
17105
|
+
let options_ = {
|
|
17106
|
+
body: content_,
|
|
17107
|
+
method: "POST",
|
|
17108
|
+
headers: {
|
|
17109
|
+
"Content-Type": "application/json",
|
|
17110
|
+
"Accept": "application/json"
|
|
17111
|
+
}
|
|
17112
|
+
};
|
|
17113
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17114
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17115
|
+
}).then((_response) => {
|
|
17116
|
+
return this.processCreateInfoscreen(_response);
|
|
17117
|
+
});
|
|
17118
|
+
}
|
|
17119
|
+
processCreateInfoscreen(response) {
|
|
17120
|
+
const status = response.status;
|
|
17121
|
+
let _headers = {};
|
|
17122
|
+
if (response.headers && response.headers.forEach) {
|
|
17123
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17124
|
+
}
|
|
17125
|
+
;
|
|
17126
|
+
if (status === 200) {
|
|
17127
|
+
return response.text().then((_responseText) => {
|
|
17128
|
+
let result200 = null;
|
|
17129
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17130
|
+
return result200;
|
|
17131
|
+
});
|
|
17132
|
+
}
|
|
17133
|
+
else if (status !== 200 && status !== 204) {
|
|
17134
|
+
return response.text().then((_responseText) => {
|
|
17135
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17136
|
+
});
|
|
17137
|
+
}
|
|
17138
|
+
return Promise.resolve(null);
|
|
17139
|
+
}
|
|
17140
|
+
getInfoscreenBySlug(slug) {
|
|
17141
|
+
let url_ = this.baseUrl + "/move/infoscreens/{slug}";
|
|
17142
|
+
if (slug === undefined || slug === null)
|
|
17143
|
+
throw new globalThis.Error("The parameter 'slug' must be defined.");
|
|
17144
|
+
url_ = url_.replace("{slug}", encodeURIComponent("" + slug));
|
|
17145
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17146
|
+
let options_ = {
|
|
17147
|
+
method: "GET",
|
|
17148
|
+
headers: {
|
|
17149
|
+
"Accept": "application/json"
|
|
17150
|
+
}
|
|
17151
|
+
};
|
|
17152
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17153
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17154
|
+
}).then((_response) => {
|
|
17155
|
+
return this.processGetInfoscreenBySlug(_response);
|
|
17156
|
+
});
|
|
17157
|
+
}
|
|
17158
|
+
processGetInfoscreenBySlug(response) {
|
|
17159
|
+
const status = response.status;
|
|
17160
|
+
let _headers = {};
|
|
17161
|
+
if (response.headers && response.headers.forEach) {
|
|
17162
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17163
|
+
}
|
|
17164
|
+
;
|
|
17165
|
+
if (status === 200) {
|
|
17166
|
+
return response.text().then((_responseText) => {
|
|
17167
|
+
let result200 = null;
|
|
17168
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17169
|
+
return result200;
|
|
17170
|
+
});
|
|
17171
|
+
}
|
|
17172
|
+
else if (status !== 200 && status !== 204) {
|
|
17173
|
+
return response.text().then((_responseText) => {
|
|
17174
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17175
|
+
});
|
|
17176
|
+
}
|
|
17177
|
+
return Promise.resolve(null);
|
|
17178
|
+
}
|
|
17179
|
+
updateInfoscreen(id, request) {
|
|
17180
|
+
let url_ = this.baseUrl + "/move/infoscreens/{id}";
|
|
17181
|
+
if (id === undefined || id === null)
|
|
17182
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17183
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17184
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17185
|
+
const content_ = JSON.stringify(request);
|
|
17186
|
+
let options_ = {
|
|
17187
|
+
body: content_,
|
|
17188
|
+
method: "PUT",
|
|
17189
|
+
headers: {
|
|
17190
|
+
"Content-Type": "application/json",
|
|
17191
|
+
"Accept": "application/json"
|
|
17192
|
+
}
|
|
17193
|
+
};
|
|
17194
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17195
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17196
|
+
}).then((_response) => {
|
|
17197
|
+
return this.processUpdateInfoscreen(_response);
|
|
17198
|
+
});
|
|
17199
|
+
}
|
|
17200
|
+
processUpdateInfoscreen(response) {
|
|
17201
|
+
const status = response.status;
|
|
17202
|
+
let _headers = {};
|
|
17203
|
+
if (response.headers && response.headers.forEach) {
|
|
17204
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17205
|
+
}
|
|
17206
|
+
;
|
|
17207
|
+
if (status === 200) {
|
|
17208
|
+
return response.text().then((_responseText) => {
|
|
17209
|
+
let result200 = null;
|
|
17210
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17211
|
+
return result200;
|
|
17212
|
+
});
|
|
17213
|
+
}
|
|
17214
|
+
else if (status !== 200 && status !== 204) {
|
|
17215
|
+
return response.text().then((_responseText) => {
|
|
17216
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17217
|
+
});
|
|
17218
|
+
}
|
|
17219
|
+
return Promise.resolve(null);
|
|
17220
|
+
}
|
|
17221
|
+
deleteInfoscreen(id) {
|
|
17222
|
+
let url_ = this.baseUrl + "/move/infoscreens/{id}";
|
|
17223
|
+
if (id === undefined || id === null)
|
|
17224
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17225
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17226
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17227
|
+
let options_ = {
|
|
17228
|
+
method: "DELETE",
|
|
17229
|
+
headers: {}
|
|
17230
|
+
};
|
|
17231
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17232
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17233
|
+
}).then((_response) => {
|
|
17234
|
+
return this.processDeleteInfoscreen(_response);
|
|
17235
|
+
});
|
|
17236
|
+
}
|
|
17237
|
+
processDeleteInfoscreen(response) {
|
|
17238
|
+
const status = response.status;
|
|
17239
|
+
let _headers = {};
|
|
17240
|
+
if (response.headers && response.headers.forEach) {
|
|
17241
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17242
|
+
}
|
|
17243
|
+
;
|
|
17244
|
+
if (status === 204) {
|
|
17245
|
+
return response.text().then((_responseText) => {
|
|
17246
|
+
return;
|
|
17247
|
+
});
|
|
17248
|
+
}
|
|
17249
|
+
else if (status !== 200 && status !== 204) {
|
|
17250
|
+
return response.text().then((_responseText) => {
|
|
17251
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17252
|
+
});
|
|
17253
|
+
}
|
|
17254
|
+
return Promise.resolve(null);
|
|
17255
|
+
}
|
|
17256
|
+
}
|
|
17059
17257
|
export class MoveLocationsClient extends AuthorizedApiBase {
|
|
17060
17258
|
constructor(configuration, baseUrl, http) {
|
|
17061
17259
|
super(configuration);
|
|
17062
17260
|
this.http = http ? http : window;
|
|
17063
17261
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
17064
17262
|
}
|
|
17065
|
-
listLocations() {
|
|
17066
|
-
let url_ = this.baseUrl + "/move/locations/list";
|
|
17263
|
+
listLocations(includeAllLocations) {
|
|
17264
|
+
let url_ = this.baseUrl + "/move/locations/list?";
|
|
17265
|
+
if (includeAllLocations !== undefined && includeAllLocations !== null)
|
|
17266
|
+
url_ += "includeAllLocations=" + encodeURIComponent("" + includeAllLocations) + "&";
|
|
17067
17267
|
url_ = url_.replace(/[?&]$/, "");
|
|
17068
17268
|
let options_ = {
|
|
17069
17269
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -18230,9 +18230,222 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
18230
18230
|
}
|
|
18231
18231
|
}
|
|
18232
18232
|
|
|
18233
|
+
export interface IMoveInfoscreenClient {
|
|
18234
|
+
|
|
18235
|
+
listInfoscreens(): Promise<MoveInfoscreenDto[]>;
|
|
18236
|
+
|
|
18237
|
+
createInfoscreen(request: CreateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
18238
|
+
|
|
18239
|
+
getInfoscreenBySlug(slug: string): Promise<MoveInfoscreenDto>;
|
|
18240
|
+
|
|
18241
|
+
updateInfoscreen(id: string, request: UpdateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto>;
|
|
18242
|
+
|
|
18243
|
+
deleteInfoscreen(id: string): Promise<void>;
|
|
18244
|
+
}
|
|
18245
|
+
|
|
18246
|
+
export class MoveInfoscreenClient extends AuthorizedApiBase implements IMoveInfoscreenClient {
|
|
18247
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18248
|
+
private baseUrl: string;
|
|
18249
|
+
|
|
18250
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18251
|
+
super(configuration);
|
|
18252
|
+
this.http = http ? http : window as any;
|
|
18253
|
+
this.baseUrl = baseUrl ?? "";
|
|
18254
|
+
}
|
|
18255
|
+
|
|
18256
|
+
listInfoscreens(): Promise<MoveInfoscreenDto[]> {
|
|
18257
|
+
let url_ = this.baseUrl + "/move/infoscreens";
|
|
18258
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18259
|
+
|
|
18260
|
+
let options_: RequestInit = {
|
|
18261
|
+
method: "GET",
|
|
18262
|
+
headers: {
|
|
18263
|
+
"Accept": "application/json"
|
|
18264
|
+
}
|
|
18265
|
+
};
|
|
18266
|
+
|
|
18267
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18268
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18269
|
+
}).then((_response: Response) => {
|
|
18270
|
+
return this.processListInfoscreens(_response);
|
|
18271
|
+
});
|
|
18272
|
+
}
|
|
18273
|
+
|
|
18274
|
+
protected processListInfoscreens(response: Response): Promise<MoveInfoscreenDto[]> {
|
|
18275
|
+
const status = response.status;
|
|
18276
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18277
|
+
if (status === 200) {
|
|
18278
|
+
return response.text().then((_responseText) => {
|
|
18279
|
+
let result200: any = null;
|
|
18280
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MoveInfoscreenDto[];
|
|
18281
|
+
return result200;
|
|
18282
|
+
});
|
|
18283
|
+
} else if (status !== 200 && status !== 204) {
|
|
18284
|
+
return response.text().then((_responseText) => {
|
|
18285
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18286
|
+
});
|
|
18287
|
+
}
|
|
18288
|
+
return Promise.resolve<MoveInfoscreenDto[]>(null as any);
|
|
18289
|
+
}
|
|
18290
|
+
|
|
18291
|
+
createInfoscreen(request: CreateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto> {
|
|
18292
|
+
let url_ = this.baseUrl + "/move/infoscreens";
|
|
18293
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18294
|
+
|
|
18295
|
+
const content_ = JSON.stringify(request);
|
|
18296
|
+
|
|
18297
|
+
let options_: RequestInit = {
|
|
18298
|
+
body: content_,
|
|
18299
|
+
method: "POST",
|
|
18300
|
+
headers: {
|
|
18301
|
+
"Content-Type": "application/json",
|
|
18302
|
+
"Accept": "application/json"
|
|
18303
|
+
}
|
|
18304
|
+
};
|
|
18305
|
+
|
|
18306
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18307
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18308
|
+
}).then((_response: Response) => {
|
|
18309
|
+
return this.processCreateInfoscreen(_response);
|
|
18310
|
+
});
|
|
18311
|
+
}
|
|
18312
|
+
|
|
18313
|
+
protected processCreateInfoscreen(response: Response): Promise<MoveInfoscreenDto> {
|
|
18314
|
+
const status = response.status;
|
|
18315
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18316
|
+
if (status === 200) {
|
|
18317
|
+
return response.text().then((_responseText) => {
|
|
18318
|
+
let result200: any = null;
|
|
18319
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MoveInfoscreenDto;
|
|
18320
|
+
return result200;
|
|
18321
|
+
});
|
|
18322
|
+
} else if (status !== 200 && status !== 204) {
|
|
18323
|
+
return response.text().then((_responseText) => {
|
|
18324
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18325
|
+
});
|
|
18326
|
+
}
|
|
18327
|
+
return Promise.resolve<MoveInfoscreenDto>(null as any);
|
|
18328
|
+
}
|
|
18329
|
+
|
|
18330
|
+
getInfoscreenBySlug(slug: string): Promise<MoveInfoscreenDto> {
|
|
18331
|
+
let url_ = this.baseUrl + "/move/infoscreens/{slug}";
|
|
18332
|
+
if (slug === undefined || slug === null)
|
|
18333
|
+
throw new globalThis.Error("The parameter 'slug' must be defined.");
|
|
18334
|
+
url_ = url_.replace("{slug}", encodeURIComponent("" + slug));
|
|
18335
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18336
|
+
|
|
18337
|
+
let options_: RequestInit = {
|
|
18338
|
+
method: "GET",
|
|
18339
|
+
headers: {
|
|
18340
|
+
"Accept": "application/json"
|
|
18341
|
+
}
|
|
18342
|
+
};
|
|
18343
|
+
|
|
18344
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18345
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18346
|
+
}).then((_response: Response) => {
|
|
18347
|
+
return this.processGetInfoscreenBySlug(_response);
|
|
18348
|
+
});
|
|
18349
|
+
}
|
|
18350
|
+
|
|
18351
|
+
protected processGetInfoscreenBySlug(response: Response): Promise<MoveInfoscreenDto> {
|
|
18352
|
+
const status = response.status;
|
|
18353
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18354
|
+
if (status === 200) {
|
|
18355
|
+
return response.text().then((_responseText) => {
|
|
18356
|
+
let result200: any = null;
|
|
18357
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MoveInfoscreenDto;
|
|
18358
|
+
return result200;
|
|
18359
|
+
});
|
|
18360
|
+
} else if (status !== 200 && status !== 204) {
|
|
18361
|
+
return response.text().then((_responseText) => {
|
|
18362
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18363
|
+
});
|
|
18364
|
+
}
|
|
18365
|
+
return Promise.resolve<MoveInfoscreenDto>(null as any);
|
|
18366
|
+
}
|
|
18367
|
+
|
|
18368
|
+
updateInfoscreen(id: string, request: UpdateMoveInfoscreenRequestDto): Promise<MoveInfoscreenDto> {
|
|
18369
|
+
let url_ = this.baseUrl + "/move/infoscreens/{id}";
|
|
18370
|
+
if (id === undefined || id === null)
|
|
18371
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18372
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18373
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18374
|
+
|
|
18375
|
+
const content_ = JSON.stringify(request);
|
|
18376
|
+
|
|
18377
|
+
let options_: RequestInit = {
|
|
18378
|
+
body: content_,
|
|
18379
|
+
method: "PUT",
|
|
18380
|
+
headers: {
|
|
18381
|
+
"Content-Type": "application/json",
|
|
18382
|
+
"Accept": "application/json"
|
|
18383
|
+
}
|
|
18384
|
+
};
|
|
18385
|
+
|
|
18386
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18387
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18388
|
+
}).then((_response: Response) => {
|
|
18389
|
+
return this.processUpdateInfoscreen(_response);
|
|
18390
|
+
});
|
|
18391
|
+
}
|
|
18392
|
+
|
|
18393
|
+
protected processUpdateInfoscreen(response: Response): Promise<MoveInfoscreenDto> {
|
|
18394
|
+
const status = response.status;
|
|
18395
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18396
|
+
if (status === 200) {
|
|
18397
|
+
return response.text().then((_responseText) => {
|
|
18398
|
+
let result200: any = null;
|
|
18399
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MoveInfoscreenDto;
|
|
18400
|
+
return result200;
|
|
18401
|
+
});
|
|
18402
|
+
} else if (status !== 200 && status !== 204) {
|
|
18403
|
+
return response.text().then((_responseText) => {
|
|
18404
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18405
|
+
});
|
|
18406
|
+
}
|
|
18407
|
+
return Promise.resolve<MoveInfoscreenDto>(null as any);
|
|
18408
|
+
}
|
|
18409
|
+
|
|
18410
|
+
deleteInfoscreen(id: string): Promise<void> {
|
|
18411
|
+
let url_ = this.baseUrl + "/move/infoscreens/{id}";
|
|
18412
|
+
if (id === undefined || id === null)
|
|
18413
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18414
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18415
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18416
|
+
|
|
18417
|
+
let options_: RequestInit = {
|
|
18418
|
+
method: "DELETE",
|
|
18419
|
+
headers: {
|
|
18420
|
+
}
|
|
18421
|
+
};
|
|
18422
|
+
|
|
18423
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18424
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18425
|
+
}).then((_response: Response) => {
|
|
18426
|
+
return this.processDeleteInfoscreen(_response);
|
|
18427
|
+
});
|
|
18428
|
+
}
|
|
18429
|
+
|
|
18430
|
+
protected processDeleteInfoscreen(response: Response): Promise<void> {
|
|
18431
|
+
const status = response.status;
|
|
18432
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18433
|
+
if (status === 204) {
|
|
18434
|
+
return response.text().then((_responseText) => {
|
|
18435
|
+
return;
|
|
18436
|
+
});
|
|
18437
|
+
} else if (status !== 200 && status !== 204) {
|
|
18438
|
+
return response.text().then((_responseText) => {
|
|
18439
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18440
|
+
});
|
|
18441
|
+
}
|
|
18442
|
+
return Promise.resolve<void>(null as any);
|
|
18443
|
+
}
|
|
18444
|
+
}
|
|
18445
|
+
|
|
18233
18446
|
export interface IMoveLocationsClient {
|
|
18234
18447
|
|
|
18235
|
-
listLocations(): Promise<LocationZoneGroupDto[]>;
|
|
18448
|
+
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
|
|
18236
18449
|
|
|
18237
18450
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
|
|
18238
18451
|
|
|
@@ -18255,8 +18468,10 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
|
|
|
18255
18468
|
this.baseUrl = baseUrl ?? "";
|
|
18256
18469
|
}
|
|
18257
18470
|
|
|
18258
|
-
listLocations(): Promise<LocationZoneGroupDto[]> {
|
|
18259
|
-
let url_ = this.baseUrl + "/move/locations/list";
|
|
18471
|
+
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]> {
|
|
18472
|
+
let url_ = this.baseUrl + "/move/locations/list?";
|
|
18473
|
+
if (includeAllLocations !== undefined && includeAllLocations !== null)
|
|
18474
|
+
url_ += "includeAllLocations=" + encodeURIComponent("" + includeAllLocations) + "&";
|
|
18260
18475
|
url_ = url_.replace(/[?&]$/, "");
|
|
18261
18476
|
|
|
18262
18477
|
let options_: RequestInit = {
|
|
@@ -28051,7 +28266,9 @@ export interface DowntimePeriodReasonDto {
|
|
|
28051
28266
|
id: number;
|
|
28052
28267
|
reason: string;
|
|
28053
28268
|
parentReasonId?: string | null;
|
|
28269
|
+
categoryId?: string | null;
|
|
28054
28270
|
parentReason?: string | null;
|
|
28271
|
+
category?: string | null;
|
|
28055
28272
|
reasonType: DowntimeReasonTypeDto;
|
|
28056
28273
|
startTime: Date;
|
|
28057
28274
|
endTime?: Date | null;
|
|
@@ -28604,6 +28821,7 @@ export interface IgnosPortalControllersResourcesApiModelsCreateDowntimeReasonsRe
|
|
|
28604
28821
|
resourceGroupNames?: string[] | null;
|
|
28605
28822
|
startTime?: Date | null;
|
|
28606
28823
|
endTime?: Date | null;
|
|
28824
|
+
workOrderAndPartSearch?: string | null;
|
|
28607
28825
|
}
|
|
28608
28826
|
|
|
28609
28827
|
export interface DowntimeReasonsReportCsvDto {
|
|
@@ -28665,7 +28883,6 @@ export interface CalendarSettingsDto {
|
|
|
28665
28883
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28666
28884
|
halfDayHours?: number;
|
|
28667
28885
|
holidayHours?: number;
|
|
28668
|
-
defaultPerformancePercent?: number;
|
|
28669
28886
|
}
|
|
28670
28887
|
|
|
28671
28888
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -28674,7 +28891,6 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
28674
28891
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28675
28892
|
halfDayHours?: number;
|
|
28676
28893
|
holidayHours?: number;
|
|
28677
|
-
defaultPerformancePercent?: number | null;
|
|
28678
28894
|
}
|
|
28679
28895
|
|
|
28680
28896
|
export interface ResourceKpiDto {
|
|
@@ -29035,7 +29251,6 @@ export interface UtilizationDetailsV2Dto {
|
|
|
29035
29251
|
uptimeInMilliseconds?: number | null;
|
|
29036
29252
|
downtimeInMilliseconds?: number | null;
|
|
29037
29253
|
totalTimeInMilliseconds?: number | null;
|
|
29038
|
-
performancePercent?: number | null;
|
|
29039
29254
|
}
|
|
29040
29255
|
|
|
29041
29256
|
export interface MachineGroupUtilizationV2Dto {
|
|
@@ -31676,6 +31891,32 @@ export interface BookingStatusUpdateDto {
|
|
|
31676
31891
|
deliveryExceptionComment?: string | null;
|
|
31677
31892
|
}
|
|
31678
31893
|
|
|
31894
|
+
export interface MoveInfoscreenDto {
|
|
31895
|
+
id?: string;
|
|
31896
|
+
name?: string;
|
|
31897
|
+
slug?: string;
|
|
31898
|
+
fromZoneIds?: string[];
|
|
31899
|
+
fromLocationIds?: string[];
|
|
31900
|
+
toZoneIds?: string[];
|
|
31901
|
+
toLocationIds?: string[];
|
|
31902
|
+
}
|
|
31903
|
+
|
|
31904
|
+
export interface CreateMoveInfoscreenRequestDto {
|
|
31905
|
+
name?: string;
|
|
31906
|
+
fromZoneIds?: string[];
|
|
31907
|
+
fromLocationIds?: string[];
|
|
31908
|
+
toZoneIds?: string[];
|
|
31909
|
+
toLocationIds?: string[];
|
|
31910
|
+
}
|
|
31911
|
+
|
|
31912
|
+
export interface UpdateMoveInfoscreenRequestDto {
|
|
31913
|
+
name?: string;
|
|
31914
|
+
fromZoneIds?: string[];
|
|
31915
|
+
fromLocationIds?: string[];
|
|
31916
|
+
toZoneIds?: string[];
|
|
31917
|
+
toLocationIds?: string[];
|
|
31918
|
+
}
|
|
31919
|
+
|
|
31679
31920
|
export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
|
|
31680
31921
|
|
|
31681
31922
|
export interface SuggestionsResponseDto {
|
|
@@ -32897,6 +33138,7 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
32897
33138
|
includeToolsInReport: boolean;
|
|
32898
33139
|
validationRuleId?: string | null;
|
|
32899
33140
|
requireCalibratedTools: boolean;
|
|
33141
|
+
allowEmptyToolListInValue: boolean;
|
|
32900
33142
|
}
|
|
32901
33143
|
|
|
32902
33144
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -32905,6 +33147,7 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
32905
33147
|
includeToolsInReport: boolean;
|
|
32906
33148
|
validationRuleId?: string | null;
|
|
32907
33149
|
requireCalibratedTools: boolean;
|
|
33150
|
+
allowEmptyToolListInValue: boolean;
|
|
32908
33151
|
}
|
|
32909
33152
|
|
|
32910
33153
|
export interface MeasurementFormMappingDto {
|
|
@@ -33340,6 +33583,7 @@ export interface SaveValueResponseDto {
|
|
|
33340
33583
|
isOutsideTolerances: boolean;
|
|
33341
33584
|
isCloseToTolerances: boolean;
|
|
33342
33585
|
tools: MeasurementFormToolValueDto[];
|
|
33586
|
+
valueCompleted: boolean;
|
|
33343
33587
|
}
|
|
33344
33588
|
|
|
33345
33589
|
export interface SaveValueRequest {
|