@ignos/api-client 20240730.0.9871-alpha → 20240731.0.9891
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 +27 -9
- package/lib/ignosportal-api.js +47 -5
- package/package.json +1 -1
- package/src/ignosportal-api.ts +71 -11
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -208,7 +208,7 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
208
208
|
export interface IMeClient {
|
|
209
209
|
getMyApps(): Promise<UserAppDto[]>;
|
|
210
210
|
getCurrentUser(): Promise<UserDetailsDto>;
|
|
211
|
-
|
|
211
|
+
setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
|
|
212
212
|
updateCurrentUserLastSeen(): Promise<void>;
|
|
213
213
|
}
|
|
214
214
|
export declare class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
@@ -222,8 +222,8 @@ export declare class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
222
222
|
protected processGetMyApps(response: Response): Promise<UserAppDto[]>;
|
|
223
223
|
getCurrentUser(): Promise<UserDetailsDto>;
|
|
224
224
|
protected processGetCurrentUser(response: Response): Promise<UserDetailsDto>;
|
|
225
|
-
|
|
226
|
-
protected
|
|
225
|
+
setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
|
|
226
|
+
protected processSetUserConfiguration(response: Response): Promise<UserDto>;
|
|
227
227
|
updateCurrentUserLastSeen(): Promise<void>;
|
|
228
228
|
protected processUpdateCurrentUserLastSeen(response: Response): Promise<void>;
|
|
229
229
|
}
|
|
@@ -2672,6 +2672,7 @@ export declare class UserDetailsDto implements IUserDetailsDto {
|
|
|
2672
2672
|
customerId?: string | null;
|
|
2673
2673
|
isExternalUser?: boolean;
|
|
2674
2674
|
isBetaTester?: boolean | null;
|
|
2675
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2675
2676
|
hasAccessToIgnos?: boolean;
|
|
2676
2677
|
constructor(data?: IUserDetailsDto);
|
|
2677
2678
|
init(_data?: any): void;
|
|
@@ -2689,6 +2690,7 @@ export interface IUserDetailsDto {
|
|
|
2689
2690
|
customerId?: string | null;
|
|
2690
2691
|
isExternalUser?: boolean;
|
|
2691
2692
|
isBetaTester?: boolean | null;
|
|
2693
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2692
2694
|
hasAccessToIgnos?: boolean;
|
|
2693
2695
|
}
|
|
2694
2696
|
export declare class UserDto implements IUserDto {
|
|
@@ -2697,6 +2699,7 @@ export declare class UserDto implements IUserDto {
|
|
|
2697
2699
|
upn?: string | null;
|
|
2698
2700
|
email?: string | null;
|
|
2699
2701
|
isBetaTester?: boolean | null;
|
|
2702
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2700
2703
|
constructor(data?: IUserDto);
|
|
2701
2704
|
init(_data?: any): void;
|
|
2702
2705
|
static fromJS(data: any): UserDto;
|
|
@@ -2708,16 +2711,19 @@ export interface IUserDto {
|
|
|
2708
2711
|
upn?: string | null;
|
|
2709
2712
|
email?: string | null;
|
|
2710
2713
|
isBetaTester?: boolean | null;
|
|
2714
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2711
2715
|
}
|
|
2712
|
-
export declare class
|
|
2713
|
-
isBetaTester
|
|
2714
|
-
|
|
2716
|
+
export declare class SetUserConfigurationRequest implements ISetUserConfigurationRequest {
|
|
2717
|
+
isBetaTester?: boolean | null;
|
|
2718
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2719
|
+
constructor(data?: ISetUserConfigurationRequest);
|
|
2715
2720
|
init(_data?: any): void;
|
|
2716
|
-
static fromJS(data: any):
|
|
2721
|
+
static fromJS(data: any): SetUserConfigurationRequest;
|
|
2717
2722
|
toJSON(data?: any): any;
|
|
2718
2723
|
}
|
|
2719
|
-
export interface
|
|
2720
|
-
isBetaTester
|
|
2724
|
+
export interface ISetUserConfigurationRequest {
|
|
2725
|
+
isBetaTester?: boolean | null;
|
|
2726
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
2721
2727
|
}
|
|
2722
2728
|
export declare class PagedResultOfUserDto implements IPagedResultOfUserDto {
|
|
2723
2729
|
results: UserDto[];
|
|
@@ -9052,6 +9058,8 @@ export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
|
9052
9058
|
export declare class LocationDto implements ILocationDto {
|
|
9053
9059
|
locationId: string;
|
|
9054
9060
|
locationName: string;
|
|
9061
|
+
zoneId?: string | null;
|
|
9062
|
+
zoneName?: string | null;
|
|
9055
9063
|
kind: LocationKindDto;
|
|
9056
9064
|
profile?: string | null;
|
|
9057
9065
|
constructor(data?: ILocationDto);
|
|
@@ -9062,6 +9070,8 @@ export declare class LocationDto implements ILocationDto {
|
|
|
9062
9070
|
export interface ILocationDto {
|
|
9063
9071
|
locationId: string;
|
|
9064
9072
|
locationName: string;
|
|
9073
|
+
zoneId?: string | null;
|
|
9074
|
+
zoneName?: string | null;
|
|
9065
9075
|
kind: LocationKindDto;
|
|
9066
9076
|
profile?: string | null;
|
|
9067
9077
|
}
|
|
@@ -9072,6 +9082,8 @@ export declare class BookingRequestListDto implements IBookingRequestListDto {
|
|
|
9072
9082
|
materialFilter?: string[] | null;
|
|
9073
9083
|
locationIdFromFilter?: string[] | null;
|
|
9074
9084
|
locationIdToFilter?: string[] | null;
|
|
9085
|
+
zoneIdFromFilter?: string[] | null;
|
|
9086
|
+
zoneIdToFilter?: string[] | null;
|
|
9075
9087
|
bookingStatusFilter?: BookingStatusDto[] | null;
|
|
9076
9088
|
bookingKindFilter?: BookingKindDto[] | null;
|
|
9077
9089
|
transportKindFilter?: TransportKindDto[] | null;
|
|
@@ -9088,6 +9100,8 @@ export interface IBookingRequestListDto {
|
|
|
9088
9100
|
materialFilter?: string[] | null;
|
|
9089
9101
|
locationIdFromFilter?: string[] | null;
|
|
9090
9102
|
locationIdToFilter?: string[] | null;
|
|
9103
|
+
zoneIdFromFilter?: string[] | null;
|
|
9104
|
+
zoneIdToFilter?: string[] | null;
|
|
9091
9105
|
bookingStatusFilter?: BookingStatusDto[] | null;
|
|
9092
9106
|
bookingKindFilter?: BookingKindDto[] | null;
|
|
9093
9107
|
transportKindFilter?: TransportKindDto[] | null;
|
|
@@ -9266,6 +9280,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
9266
9280
|
palletNumber: number;
|
|
9267
9281
|
workOrderId: string;
|
|
9268
9282
|
trackingEvents: TrackingEventDto[];
|
|
9283
|
+
material?: string | null;
|
|
9269
9284
|
constructor(data?: ITrackingHistoryDto);
|
|
9270
9285
|
init(_data?: any): void;
|
|
9271
9286
|
static fromJS(data: any): TrackingHistoryDto;
|
|
@@ -9276,6 +9291,7 @@ export interface ITrackingHistoryDto {
|
|
|
9276
9291
|
palletNumber: number;
|
|
9277
9292
|
workOrderId: string;
|
|
9278
9293
|
trackingEvents: TrackingEventDto[];
|
|
9294
|
+
material?: string | null;
|
|
9279
9295
|
}
|
|
9280
9296
|
export declare class TrackingEventDto implements ITrackingEventDto {
|
|
9281
9297
|
id: number;
|
|
@@ -9306,6 +9322,7 @@ export declare class TrackingRequestListDto implements ITrackingRequestListDto {
|
|
|
9306
9322
|
pageSize?: number | null;
|
|
9307
9323
|
workOrderIdFilter?: string[] | null;
|
|
9308
9324
|
locationIdFilter?: string[] | null;
|
|
9325
|
+
zoneIdFilter?: string[] | null;
|
|
9309
9326
|
materialFilter?: string[] | null;
|
|
9310
9327
|
continuationToken?: string | null;
|
|
9311
9328
|
constructor(data?: ITrackingRequestListDto);
|
|
@@ -9317,6 +9334,7 @@ export interface ITrackingRequestListDto {
|
|
|
9317
9334
|
pageSize?: number | null;
|
|
9318
9335
|
workOrderIdFilter?: string[] | null;
|
|
9319
9336
|
locationIdFilter?: string[] | null;
|
|
9337
|
+
zoneIdFilter?: string[] | null;
|
|
9320
9338
|
materialFilter?: string[] | null;
|
|
9321
9339
|
continuationToken?: string | null;
|
|
9322
9340
|
}
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1007,7 +1007,7 @@ export class MeClient extends AuthorizedApiBase {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
return Promise.resolve(null);
|
|
1009
1009
|
}
|
|
1010
|
-
|
|
1010
|
+
setUserConfiguration(request) {
|
|
1011
1011
|
let url_ = this.baseUrl + "/me";
|
|
1012
1012
|
url_ = url_.replace(/[?&]$/, "");
|
|
1013
1013
|
const content_ = JSON.stringify(request);
|
|
@@ -1022,10 +1022,10 @@ export class MeClient extends AuthorizedApiBase {
|
|
|
1022
1022
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1023
1023
|
return this.http.fetch(url_, transformedOptions_);
|
|
1024
1024
|
}).then((_response) => {
|
|
1025
|
-
return this.
|
|
1025
|
+
return this.processSetUserConfiguration(_response);
|
|
1026
1026
|
});
|
|
1027
1027
|
}
|
|
1028
|
-
|
|
1028
|
+
processSetUserConfiguration(response) {
|
|
1029
1029
|
const status = response.status;
|
|
1030
1030
|
let _headers = {};
|
|
1031
1031
|
if (response.headers && response.headers.forEach) {
|
|
@@ -19986,6 +19986,7 @@ export class UserDetailsDto {
|
|
|
19986
19986
|
this.customerId = _data["customerId"];
|
|
19987
19987
|
this.isExternalUser = _data["isExternalUser"];
|
|
19988
19988
|
this.isBetaTester = _data["isBetaTester"];
|
|
19989
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
19989
19990
|
this.hasAccessToIgnos = _data["hasAccessToIgnos"];
|
|
19990
19991
|
}
|
|
19991
19992
|
}
|
|
@@ -20011,6 +20012,7 @@ export class UserDetailsDto {
|
|
|
20011
20012
|
data["customerId"] = this.customerId;
|
|
20012
20013
|
data["isExternalUser"] = this.isExternalUser;
|
|
20013
20014
|
data["isBetaTester"] = this.isBetaTester;
|
|
20015
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
20014
20016
|
data["hasAccessToIgnos"] = this.hasAccessToIgnos;
|
|
20015
20017
|
return data;
|
|
20016
20018
|
}
|
|
@@ -20031,6 +20033,7 @@ export class UserDto {
|
|
|
20031
20033
|
this.upn = _data["upn"];
|
|
20032
20034
|
this.email = _data["email"];
|
|
20033
20035
|
this.isBetaTester = _data["isBetaTester"];
|
|
20036
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
20034
20037
|
}
|
|
20035
20038
|
}
|
|
20036
20039
|
static fromJS(data) {
|
|
@@ -20046,10 +20049,11 @@ export class UserDto {
|
|
|
20046
20049
|
data["upn"] = this.upn;
|
|
20047
20050
|
data["email"] = this.email;
|
|
20048
20051
|
data["isBetaTester"] = this.isBetaTester;
|
|
20052
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
20049
20053
|
return data;
|
|
20050
20054
|
}
|
|
20051
20055
|
}
|
|
20052
|
-
export class
|
|
20056
|
+
export class SetUserConfigurationRequest {
|
|
20053
20057
|
constructor(data) {
|
|
20054
20058
|
if (data) {
|
|
20055
20059
|
for (var property in data) {
|
|
@@ -20061,17 +20065,19 @@ export class SetIsBetaTesterRequest {
|
|
|
20061
20065
|
init(_data) {
|
|
20062
20066
|
if (_data) {
|
|
20063
20067
|
this.isBetaTester = _data["isBetaTester"];
|
|
20068
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
20064
20069
|
}
|
|
20065
20070
|
}
|
|
20066
20071
|
static fromJS(data) {
|
|
20067
20072
|
data = typeof data === 'object' ? data : {};
|
|
20068
|
-
let result = new
|
|
20073
|
+
let result = new SetUserConfigurationRequest();
|
|
20069
20074
|
result.init(data);
|
|
20070
20075
|
return result;
|
|
20071
20076
|
}
|
|
20072
20077
|
toJSON(data) {
|
|
20073
20078
|
data = typeof data === 'object' ? data : {};
|
|
20074
20079
|
data["isBetaTester"] = this.isBetaTester;
|
|
20080
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
20075
20081
|
return data;
|
|
20076
20082
|
}
|
|
20077
20083
|
}
|
|
@@ -32812,6 +32818,8 @@ export class LocationDto {
|
|
|
32812
32818
|
if (_data) {
|
|
32813
32819
|
this.locationId = _data["locationId"];
|
|
32814
32820
|
this.locationName = _data["locationName"];
|
|
32821
|
+
this.zoneId = _data["zoneId"];
|
|
32822
|
+
this.zoneName = _data["zoneName"];
|
|
32815
32823
|
this.kind = _data["kind"];
|
|
32816
32824
|
this.profile = _data["profile"];
|
|
32817
32825
|
}
|
|
@@ -32826,6 +32834,8 @@ export class LocationDto {
|
|
|
32826
32834
|
data = typeof data === 'object' ? data : {};
|
|
32827
32835
|
data["locationId"] = this.locationId;
|
|
32828
32836
|
data["locationName"] = this.locationName;
|
|
32837
|
+
data["zoneId"] = this.zoneId;
|
|
32838
|
+
data["zoneName"] = this.zoneName;
|
|
32829
32839
|
data["kind"] = this.kind;
|
|
32830
32840
|
data["profile"] = this.profile;
|
|
32831
32841
|
return data;
|
|
@@ -32863,6 +32873,16 @@ export class BookingRequestListDto {
|
|
|
32863
32873
|
for (let item of _data["locationIdToFilter"])
|
|
32864
32874
|
this.locationIdToFilter.push(item);
|
|
32865
32875
|
}
|
|
32876
|
+
if (Array.isArray(_data["zoneIdFromFilter"])) {
|
|
32877
|
+
this.zoneIdFromFilter = [];
|
|
32878
|
+
for (let item of _data["zoneIdFromFilter"])
|
|
32879
|
+
this.zoneIdFromFilter.push(item);
|
|
32880
|
+
}
|
|
32881
|
+
if (Array.isArray(_data["zoneIdToFilter"])) {
|
|
32882
|
+
this.zoneIdToFilter = [];
|
|
32883
|
+
for (let item of _data["zoneIdToFilter"])
|
|
32884
|
+
this.zoneIdToFilter.push(item);
|
|
32885
|
+
}
|
|
32866
32886
|
if (Array.isArray(_data["bookingStatusFilter"])) {
|
|
32867
32887
|
this.bookingStatusFilter = [];
|
|
32868
32888
|
for (let item of _data["bookingStatusFilter"])
|
|
@@ -32911,6 +32931,16 @@ export class BookingRequestListDto {
|
|
|
32911
32931
|
for (let item of this.locationIdToFilter)
|
|
32912
32932
|
data["locationIdToFilter"].push(item);
|
|
32913
32933
|
}
|
|
32934
|
+
if (Array.isArray(this.zoneIdFromFilter)) {
|
|
32935
|
+
data["zoneIdFromFilter"] = [];
|
|
32936
|
+
for (let item of this.zoneIdFromFilter)
|
|
32937
|
+
data["zoneIdFromFilter"].push(item);
|
|
32938
|
+
}
|
|
32939
|
+
if (Array.isArray(this.zoneIdToFilter)) {
|
|
32940
|
+
data["zoneIdToFilter"] = [];
|
|
32941
|
+
for (let item of this.zoneIdToFilter)
|
|
32942
|
+
data["zoneIdToFilter"].push(item);
|
|
32943
|
+
}
|
|
32914
32944
|
if (Array.isArray(this.bookingStatusFilter)) {
|
|
32915
32945
|
data["bookingStatusFilter"] = [];
|
|
32916
32946
|
for (let item of this.bookingStatusFilter)
|
|
@@ -33360,6 +33390,7 @@ export class TrackingHistoryDto {
|
|
|
33360
33390
|
for (let item of _data["trackingEvents"])
|
|
33361
33391
|
this.trackingEvents.push(TrackingEventDto.fromJS(item));
|
|
33362
33392
|
}
|
|
33393
|
+
this.material = _data["material"];
|
|
33363
33394
|
}
|
|
33364
33395
|
}
|
|
33365
33396
|
static fromJS(data) {
|
|
@@ -33378,6 +33409,7 @@ export class TrackingHistoryDto {
|
|
|
33378
33409
|
for (let item of this.trackingEvents)
|
|
33379
33410
|
data["trackingEvents"].push(item.toJSON());
|
|
33380
33411
|
}
|
|
33412
|
+
data["material"] = this.material;
|
|
33381
33413
|
return data;
|
|
33382
33414
|
}
|
|
33383
33415
|
}
|
|
@@ -33443,6 +33475,11 @@ export class TrackingRequestListDto {
|
|
|
33443
33475
|
for (let item of _data["locationIdFilter"])
|
|
33444
33476
|
this.locationIdFilter.push(item);
|
|
33445
33477
|
}
|
|
33478
|
+
if (Array.isArray(_data["zoneIdFilter"])) {
|
|
33479
|
+
this.zoneIdFilter = [];
|
|
33480
|
+
for (let item of _data["zoneIdFilter"])
|
|
33481
|
+
this.zoneIdFilter.push(item);
|
|
33482
|
+
}
|
|
33446
33483
|
if (Array.isArray(_data["materialFilter"])) {
|
|
33447
33484
|
this.materialFilter = [];
|
|
33448
33485
|
for (let item of _data["materialFilter"])
|
|
@@ -33470,6 +33507,11 @@ export class TrackingRequestListDto {
|
|
|
33470
33507
|
for (let item of this.locationIdFilter)
|
|
33471
33508
|
data["locationIdFilter"].push(item);
|
|
33472
33509
|
}
|
|
33510
|
+
if (Array.isArray(this.zoneIdFilter)) {
|
|
33511
|
+
data["zoneIdFilter"] = [];
|
|
33512
|
+
for (let item of this.zoneIdFilter)
|
|
33513
|
+
data["zoneIdFilter"].push(item);
|
|
33514
|
+
}
|
|
33473
33515
|
if (Array.isArray(this.materialFilter)) {
|
|
33474
33516
|
data["materialFilter"] = [];
|
|
33475
33517
|
for (let item of this.materialFilter)
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1042,7 +1042,7 @@ export interface IMeClient {
|
|
|
1042
1042
|
|
|
1043
1043
|
getCurrentUser(): Promise<UserDetailsDto>;
|
|
1044
1044
|
|
|
1045
|
-
|
|
1045
|
+
setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
|
|
1046
1046
|
|
|
1047
1047
|
updateCurrentUserLastSeen(): Promise<void>;
|
|
1048
1048
|
}
|
|
@@ -1134,7 +1134,7 @@ export class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
1134
1134
|
return Promise.resolve<UserDetailsDto>(null as any);
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
|
|
1137
|
+
setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto> {
|
|
1138
1138
|
let url_ = this.baseUrl + "/me";
|
|
1139
1139
|
url_ = url_.replace(/[?&]$/, "");
|
|
1140
1140
|
|
|
@@ -1152,11 +1152,11 @@ export class MeClient extends AuthorizedApiBase implements IMeClient {
|
|
|
1152
1152
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1153
1153
|
return this.http.fetch(url_, transformedOptions_);
|
|
1154
1154
|
}).then((_response: Response) => {
|
|
1155
|
-
return this.
|
|
1155
|
+
return this.processSetUserConfiguration(_response);
|
|
1156
1156
|
});
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
|
-
protected
|
|
1159
|
+
protected processSetUserConfiguration(response: Response): Promise<UserDto> {
|
|
1160
1160
|
const status = response.status;
|
|
1161
1161
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1162
1162
|
if (status === 200) {
|
|
@@ -21617,6 +21617,7 @@ export class UserDetailsDto implements IUserDetailsDto {
|
|
|
21617
21617
|
customerId?: string | null;
|
|
21618
21618
|
isExternalUser?: boolean;
|
|
21619
21619
|
isBetaTester?: boolean | null;
|
|
21620
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21620
21621
|
hasAccessToIgnos?: boolean;
|
|
21621
21622
|
|
|
21622
21623
|
constructor(data?: IUserDetailsDto) {
|
|
@@ -21644,6 +21645,7 @@ export class UserDetailsDto implements IUserDetailsDto {
|
|
|
21644
21645
|
this.customerId = _data["customerId"];
|
|
21645
21646
|
this.isExternalUser = _data["isExternalUser"];
|
|
21646
21647
|
this.isBetaTester = _data["isBetaTester"];
|
|
21648
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
21647
21649
|
this.hasAccessToIgnos = _data["hasAccessToIgnos"];
|
|
21648
21650
|
}
|
|
21649
21651
|
}
|
|
@@ -21671,6 +21673,7 @@ export class UserDetailsDto implements IUserDetailsDto {
|
|
|
21671
21673
|
data["customerId"] = this.customerId;
|
|
21672
21674
|
data["isExternalUser"] = this.isExternalUser;
|
|
21673
21675
|
data["isBetaTester"] = this.isBetaTester;
|
|
21676
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
21674
21677
|
data["hasAccessToIgnos"] = this.hasAccessToIgnos;
|
|
21675
21678
|
return data;
|
|
21676
21679
|
}
|
|
@@ -21687,6 +21690,7 @@ export interface IUserDetailsDto {
|
|
|
21687
21690
|
customerId?: string | null;
|
|
21688
21691
|
isExternalUser?: boolean;
|
|
21689
21692
|
isBetaTester?: boolean | null;
|
|
21693
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21690
21694
|
hasAccessToIgnos?: boolean;
|
|
21691
21695
|
}
|
|
21692
21696
|
|
|
@@ -21696,6 +21700,7 @@ export class UserDto implements IUserDto {
|
|
|
21696
21700
|
upn?: string | null;
|
|
21697
21701
|
email?: string | null;
|
|
21698
21702
|
isBetaTester?: boolean | null;
|
|
21703
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21699
21704
|
|
|
21700
21705
|
constructor(data?: IUserDto) {
|
|
21701
21706
|
if (data) {
|
|
@@ -21713,6 +21718,7 @@ export class UserDto implements IUserDto {
|
|
|
21713
21718
|
this.upn = _data["upn"];
|
|
21714
21719
|
this.email = _data["email"];
|
|
21715
21720
|
this.isBetaTester = _data["isBetaTester"];
|
|
21721
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
21716
21722
|
}
|
|
21717
21723
|
}
|
|
21718
21724
|
|
|
@@ -21730,6 +21736,7 @@ export class UserDto implements IUserDto {
|
|
|
21730
21736
|
data["upn"] = this.upn;
|
|
21731
21737
|
data["email"] = this.email;
|
|
21732
21738
|
data["isBetaTester"] = this.isBetaTester;
|
|
21739
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
21733
21740
|
return data;
|
|
21734
21741
|
}
|
|
21735
21742
|
}
|
|
@@ -21740,12 +21747,14 @@ export interface IUserDto {
|
|
|
21740
21747
|
upn?: string | null;
|
|
21741
21748
|
email?: string | null;
|
|
21742
21749
|
isBetaTester?: boolean | null;
|
|
21750
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21743
21751
|
}
|
|
21744
21752
|
|
|
21745
|
-
export class
|
|
21746
|
-
isBetaTester
|
|
21753
|
+
export class SetUserConfigurationRequest implements ISetUserConfigurationRequest {
|
|
21754
|
+
isBetaTester?: boolean | null;
|
|
21755
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21747
21756
|
|
|
21748
|
-
constructor(data?:
|
|
21757
|
+
constructor(data?: ISetUserConfigurationRequest) {
|
|
21749
21758
|
if (data) {
|
|
21750
21759
|
for (var property in data) {
|
|
21751
21760
|
if (data.hasOwnProperty(property))
|
|
@@ -21757,12 +21766,13 @@ export class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
|
|
|
21757
21766
|
init(_data?: any) {
|
|
21758
21767
|
if (_data) {
|
|
21759
21768
|
this.isBetaTester = _data["isBetaTester"];
|
|
21769
|
+
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
21760
21770
|
}
|
|
21761
21771
|
}
|
|
21762
21772
|
|
|
21763
|
-
static fromJS(data: any):
|
|
21773
|
+
static fromJS(data: any): SetUserConfigurationRequest {
|
|
21764
21774
|
data = typeof data === 'object' ? data : {};
|
|
21765
|
-
let result = new
|
|
21775
|
+
let result = new SetUserConfigurationRequest();
|
|
21766
21776
|
result.init(data);
|
|
21767
21777
|
return result;
|
|
21768
21778
|
}
|
|
@@ -21770,12 +21780,14 @@ export class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
|
|
|
21770
21780
|
toJSON(data?: any) {
|
|
21771
21781
|
data = typeof data === 'object' ? data : {};
|
|
21772
21782
|
data["isBetaTester"] = this.isBetaTester;
|
|
21783
|
+
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
21773
21784
|
return data;
|
|
21774
21785
|
}
|
|
21775
21786
|
}
|
|
21776
21787
|
|
|
21777
|
-
export interface
|
|
21778
|
-
isBetaTester
|
|
21788
|
+
export interface ISetUserConfigurationRequest {
|
|
21789
|
+
isBetaTester?: boolean | null;
|
|
21790
|
+
engageMoveAutoPrompt?: boolean | null;
|
|
21779
21791
|
}
|
|
21780
21792
|
|
|
21781
21793
|
export class PagedResultOfUserDto implements IPagedResultOfUserDto {
|
|
@@ -40867,6 +40879,8 @@ export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
|
40867
40879
|
export class LocationDto implements ILocationDto {
|
|
40868
40880
|
locationId!: string;
|
|
40869
40881
|
locationName!: string;
|
|
40882
|
+
zoneId?: string | null;
|
|
40883
|
+
zoneName?: string | null;
|
|
40870
40884
|
kind!: LocationKindDto;
|
|
40871
40885
|
profile?: string | null;
|
|
40872
40886
|
|
|
@@ -40883,6 +40897,8 @@ export class LocationDto implements ILocationDto {
|
|
|
40883
40897
|
if (_data) {
|
|
40884
40898
|
this.locationId = _data["locationId"];
|
|
40885
40899
|
this.locationName = _data["locationName"];
|
|
40900
|
+
this.zoneId = _data["zoneId"];
|
|
40901
|
+
this.zoneName = _data["zoneName"];
|
|
40886
40902
|
this.kind = _data["kind"];
|
|
40887
40903
|
this.profile = _data["profile"];
|
|
40888
40904
|
}
|
|
@@ -40899,6 +40915,8 @@ export class LocationDto implements ILocationDto {
|
|
|
40899
40915
|
data = typeof data === 'object' ? data : {};
|
|
40900
40916
|
data["locationId"] = this.locationId;
|
|
40901
40917
|
data["locationName"] = this.locationName;
|
|
40918
|
+
data["zoneId"] = this.zoneId;
|
|
40919
|
+
data["zoneName"] = this.zoneName;
|
|
40902
40920
|
data["kind"] = this.kind;
|
|
40903
40921
|
data["profile"] = this.profile;
|
|
40904
40922
|
return data;
|
|
@@ -40908,6 +40926,8 @@ export class LocationDto implements ILocationDto {
|
|
|
40908
40926
|
export interface ILocationDto {
|
|
40909
40927
|
locationId: string;
|
|
40910
40928
|
locationName: string;
|
|
40929
|
+
zoneId?: string | null;
|
|
40930
|
+
zoneName?: string | null;
|
|
40911
40931
|
kind: LocationKindDto;
|
|
40912
40932
|
profile?: string | null;
|
|
40913
40933
|
}
|
|
@@ -40920,6 +40940,8 @@ export class BookingRequestListDto implements IBookingRequestListDto {
|
|
|
40920
40940
|
materialFilter?: string[] | null;
|
|
40921
40941
|
locationIdFromFilter?: string[] | null;
|
|
40922
40942
|
locationIdToFilter?: string[] | null;
|
|
40943
|
+
zoneIdFromFilter?: string[] | null;
|
|
40944
|
+
zoneIdToFilter?: string[] | null;
|
|
40923
40945
|
bookingStatusFilter?: BookingStatusDto[] | null;
|
|
40924
40946
|
bookingKindFilter?: BookingKindDto[] | null;
|
|
40925
40947
|
transportKindFilter?: TransportKindDto[] | null;
|
|
@@ -40958,6 +40980,16 @@ export class BookingRequestListDto implements IBookingRequestListDto {
|
|
|
40958
40980
|
for (let item of _data["locationIdToFilter"])
|
|
40959
40981
|
this.locationIdToFilter!.push(item);
|
|
40960
40982
|
}
|
|
40983
|
+
if (Array.isArray(_data["zoneIdFromFilter"])) {
|
|
40984
|
+
this.zoneIdFromFilter = [] as any;
|
|
40985
|
+
for (let item of _data["zoneIdFromFilter"])
|
|
40986
|
+
this.zoneIdFromFilter!.push(item);
|
|
40987
|
+
}
|
|
40988
|
+
if (Array.isArray(_data["zoneIdToFilter"])) {
|
|
40989
|
+
this.zoneIdToFilter = [] as any;
|
|
40990
|
+
for (let item of _data["zoneIdToFilter"])
|
|
40991
|
+
this.zoneIdToFilter!.push(item);
|
|
40992
|
+
}
|
|
40961
40993
|
if (Array.isArray(_data["bookingStatusFilter"])) {
|
|
40962
40994
|
this.bookingStatusFilter = [] as any;
|
|
40963
40995
|
for (let item of _data["bookingStatusFilter"])
|
|
@@ -41008,6 +41040,16 @@ export class BookingRequestListDto implements IBookingRequestListDto {
|
|
|
41008
41040
|
for (let item of this.locationIdToFilter)
|
|
41009
41041
|
data["locationIdToFilter"].push(item);
|
|
41010
41042
|
}
|
|
41043
|
+
if (Array.isArray(this.zoneIdFromFilter)) {
|
|
41044
|
+
data["zoneIdFromFilter"] = [];
|
|
41045
|
+
for (let item of this.zoneIdFromFilter)
|
|
41046
|
+
data["zoneIdFromFilter"].push(item);
|
|
41047
|
+
}
|
|
41048
|
+
if (Array.isArray(this.zoneIdToFilter)) {
|
|
41049
|
+
data["zoneIdToFilter"] = [];
|
|
41050
|
+
for (let item of this.zoneIdToFilter)
|
|
41051
|
+
data["zoneIdToFilter"].push(item);
|
|
41052
|
+
}
|
|
41011
41053
|
if (Array.isArray(this.bookingStatusFilter)) {
|
|
41012
41054
|
data["bookingStatusFilter"] = [];
|
|
41013
41055
|
for (let item of this.bookingStatusFilter)
|
|
@@ -41035,6 +41077,8 @@ export interface IBookingRequestListDto {
|
|
|
41035
41077
|
materialFilter?: string[] | null;
|
|
41036
41078
|
locationIdFromFilter?: string[] | null;
|
|
41037
41079
|
locationIdToFilter?: string[] | null;
|
|
41080
|
+
zoneIdFromFilter?: string[] | null;
|
|
41081
|
+
zoneIdToFilter?: string[] | null;
|
|
41038
41082
|
bookingStatusFilter?: BookingStatusDto[] | null;
|
|
41039
41083
|
bookingKindFilter?: BookingKindDto[] | null;
|
|
41040
41084
|
transportKindFilter?: TransportKindDto[] | null;
|
|
@@ -41622,6 +41666,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41622
41666
|
palletNumber!: number;
|
|
41623
41667
|
workOrderId!: string;
|
|
41624
41668
|
trackingEvents!: TrackingEventDto[];
|
|
41669
|
+
material?: string | null;
|
|
41625
41670
|
|
|
41626
41671
|
constructor(data?: ITrackingHistoryDto) {
|
|
41627
41672
|
if (data) {
|
|
@@ -41645,6 +41690,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41645
41690
|
for (let item of _data["trackingEvents"])
|
|
41646
41691
|
this.trackingEvents!.push(TrackingEventDto.fromJS(item));
|
|
41647
41692
|
}
|
|
41693
|
+
this.material = _data["material"];
|
|
41648
41694
|
}
|
|
41649
41695
|
}
|
|
41650
41696
|
|
|
@@ -41665,6 +41711,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41665
41711
|
for (let item of this.trackingEvents)
|
|
41666
41712
|
data["trackingEvents"].push(item.toJSON());
|
|
41667
41713
|
}
|
|
41714
|
+
data["material"] = this.material;
|
|
41668
41715
|
return data;
|
|
41669
41716
|
}
|
|
41670
41717
|
}
|
|
@@ -41674,6 +41721,7 @@ export interface ITrackingHistoryDto {
|
|
|
41674
41721
|
palletNumber: number;
|
|
41675
41722
|
workOrderId: string;
|
|
41676
41723
|
trackingEvents: TrackingEventDto[];
|
|
41724
|
+
material?: string | null;
|
|
41677
41725
|
}
|
|
41678
41726
|
|
|
41679
41727
|
export class TrackingEventDto implements ITrackingEventDto {
|
|
@@ -41746,6 +41794,7 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
|
|
|
41746
41794
|
pageSize?: number | null;
|
|
41747
41795
|
workOrderIdFilter?: string[] | null;
|
|
41748
41796
|
locationIdFilter?: string[] | null;
|
|
41797
|
+
zoneIdFilter?: string[] | null;
|
|
41749
41798
|
materialFilter?: string[] | null;
|
|
41750
41799
|
continuationToken?: string | null;
|
|
41751
41800
|
|
|
@@ -41771,6 +41820,11 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
|
|
|
41771
41820
|
for (let item of _data["locationIdFilter"])
|
|
41772
41821
|
this.locationIdFilter!.push(item);
|
|
41773
41822
|
}
|
|
41823
|
+
if (Array.isArray(_data["zoneIdFilter"])) {
|
|
41824
|
+
this.zoneIdFilter = [] as any;
|
|
41825
|
+
for (let item of _data["zoneIdFilter"])
|
|
41826
|
+
this.zoneIdFilter!.push(item);
|
|
41827
|
+
}
|
|
41774
41828
|
if (Array.isArray(_data["materialFilter"])) {
|
|
41775
41829
|
this.materialFilter = [] as any;
|
|
41776
41830
|
for (let item of _data["materialFilter"])
|
|
@@ -41800,6 +41854,11 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
|
|
|
41800
41854
|
for (let item of this.locationIdFilter)
|
|
41801
41855
|
data["locationIdFilter"].push(item);
|
|
41802
41856
|
}
|
|
41857
|
+
if (Array.isArray(this.zoneIdFilter)) {
|
|
41858
|
+
data["zoneIdFilter"] = [];
|
|
41859
|
+
for (let item of this.zoneIdFilter)
|
|
41860
|
+
data["zoneIdFilter"].push(item);
|
|
41861
|
+
}
|
|
41803
41862
|
if (Array.isArray(this.materialFilter)) {
|
|
41804
41863
|
data["materialFilter"] = [];
|
|
41805
41864
|
for (let item of this.materialFilter)
|
|
@@ -41814,6 +41873,7 @@ export interface ITrackingRequestListDto {
|
|
|
41814
41873
|
pageSize?: number | null;
|
|
41815
41874
|
workOrderIdFilter?: string[] | null;
|
|
41816
41875
|
locationIdFilter?: string[] | null;
|
|
41876
|
+
zoneIdFilter?: string[] | null;
|
|
41817
41877
|
materialFilter?: string[] | null;
|
|
41818
41878
|
continuationToken?: string | null;
|
|
41819
41879
|
}
|