@ignos/api-client 20260223.65.1 → 20260225.66.1-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.
- package/lib/ignosportal-api.d.ts +3 -47
- package/lib/ignosportal-api.js +0 -198
- package/package.json +1 -1
- package/src/ignosportal-api.ts +3 -239
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2076,30 +2076,6 @@ 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
|
-
}
|
|
2103
2079
|
export interface IMoveLocationsClient {
|
|
2104
2080
|
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
|
|
2105
2081
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
|
|
@@ -3890,6 +3866,7 @@ export interface CalendarSettingsDto {
|
|
|
3890
3866
|
};
|
|
3891
3867
|
halfDayHours?: number;
|
|
3892
3868
|
holidayHours?: number;
|
|
3869
|
+
defaultPerformancePercent?: number;
|
|
3893
3870
|
}
|
|
3894
3871
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3895
3872
|
export interface UpdateCalendarSettingsCommand {
|
|
@@ -3898,6 +3875,7 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
3898
3875
|
};
|
|
3899
3876
|
halfDayHours?: number;
|
|
3900
3877
|
holidayHours?: number;
|
|
3878
|
+
defaultPerformancePercent?: number | null;
|
|
3901
3879
|
}
|
|
3902
3880
|
export interface ResourceKpiDto {
|
|
3903
3881
|
uptimeToNow: number;
|
|
@@ -4211,6 +4189,7 @@ export interface UtilizationDetailsV2Dto {
|
|
|
4211
4189
|
uptimeInMilliseconds?: number | null;
|
|
4212
4190
|
downtimeInMilliseconds?: number | null;
|
|
4213
4191
|
totalTimeInMilliseconds?: number | null;
|
|
4192
|
+
performancePercent?: number | null;
|
|
4214
4193
|
}
|
|
4215
4194
|
export interface MachineGroupUtilizationV2Dto {
|
|
4216
4195
|
name: string;
|
|
@@ -6524,29 +6503,6 @@ export interface BookingStatusUpdateDto {
|
|
|
6524
6503
|
deliveryExceptionToLocationId?: string | null;
|
|
6525
6504
|
deliveryExceptionComment?: string | null;
|
|
6526
6505
|
}
|
|
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
|
-
}
|
|
6550
6506
|
export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
|
|
6551
6507
|
export interface SuggestionsResponseDto {
|
|
6552
6508
|
parcels: SuggestionsParcelDto[];
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -17056,204 +17056,6 @@ 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
|
-
}
|
|
17257
17059
|
export class MoveLocationsClient extends AuthorizedApiBase {
|
|
17258
17060
|
constructor(configuration, baseUrl, http) {
|
|
17259
17061
|
super(configuration);
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -18230,219 +18230,6 @@ 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
|
-
|
|
18446
18233
|
export interface IMoveLocationsClient {
|
|
18447
18234
|
|
|
18448
18235
|
listLocations(includeAllLocations: boolean | null | undefined): Promise<LocationZoneGroupDto[]>;
|
|
@@ -28883,6 +28670,7 @@ export interface CalendarSettingsDto {
|
|
|
28883
28670
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28884
28671
|
halfDayHours?: number;
|
|
28885
28672
|
holidayHours?: number;
|
|
28673
|
+
defaultPerformancePercent?: number;
|
|
28886
28674
|
}
|
|
28887
28675
|
|
|
28888
28676
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -28891,6 +28679,7 @@ export interface UpdateCalendarSettingsCommand {
|
|
|
28891
28679
|
defaultHoursPerWeekday?: { [key in DayOfWeek]?: number; };
|
|
28892
28680
|
halfDayHours?: number;
|
|
28893
28681
|
holidayHours?: number;
|
|
28682
|
+
defaultPerformancePercent?: number | null;
|
|
28894
28683
|
}
|
|
28895
28684
|
|
|
28896
28685
|
export interface ResourceKpiDto {
|
|
@@ -29251,6 +29040,7 @@ export interface UtilizationDetailsV2Dto {
|
|
|
29251
29040
|
uptimeInMilliseconds?: number | null;
|
|
29252
29041
|
downtimeInMilliseconds?: number | null;
|
|
29253
29042
|
totalTimeInMilliseconds?: number | null;
|
|
29043
|
+
performancePercent?: number | null;
|
|
29254
29044
|
}
|
|
29255
29045
|
|
|
29256
29046
|
export interface MachineGroupUtilizationV2Dto {
|
|
@@ -31891,32 +31681,6 @@ export interface BookingStatusUpdateDto {
|
|
|
31891
31681
|
deliveryExceptionComment?: string | null;
|
|
31892
31682
|
}
|
|
31893
31683
|
|
|
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
|
-
|
|
31920
31684
|
export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
|
|
31921
31685
|
|
|
31922
31686
|
export interface SuggestionsResponseDto {
|