@ignos/api-client 20241202.0.10790 → 20241213.0.10843
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 +29 -21
- package/lib/ignosportal-api.js +78 -3
- package/package.json +1 -1
- package/src/ignosportal-api.ts +104 -24
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -257,8 +257,10 @@ export declare class UsersClient extends AuthorizedApiBase implements IUsersClie
|
|
|
257
257
|
protected processPostListUsers(response: Response): Promise<PagedResultOfUserDto>;
|
|
258
258
|
}
|
|
259
259
|
export interface IUserAppSettingsClient {
|
|
260
|
-
getEngageUserSettings(): Promise<
|
|
261
|
-
setEngageUserSettings(settings:
|
|
260
|
+
getEngageUserSettings(): Promise<RouteCardAppSettings>;
|
|
261
|
+
setEngageUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
262
|
+
getRouteCardUserSettings(): Promise<RouteCardAppSettings>;
|
|
263
|
+
setRouteCardUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
262
264
|
getMoveUserSettings(): Promise<MoveAppSettings>;
|
|
263
265
|
setMoveUserSettings(settings: MoveAppSettings): Promise<void>;
|
|
264
266
|
}
|
|
@@ -269,10 +271,14 @@ export declare class UserAppSettingsClient extends AuthorizedApiBase implements
|
|
|
269
271
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
270
272
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
271
273
|
});
|
|
272
|
-
getEngageUserSettings(): Promise<
|
|
273
|
-
protected processGetEngageUserSettings(response: Response): Promise<
|
|
274
|
-
setEngageUserSettings(settings:
|
|
274
|
+
getEngageUserSettings(): Promise<RouteCardAppSettings>;
|
|
275
|
+
protected processGetEngageUserSettings(response: Response): Promise<RouteCardAppSettings>;
|
|
276
|
+
setEngageUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
275
277
|
protected processSetEngageUserSettings(response: Response): Promise<void>;
|
|
278
|
+
getRouteCardUserSettings(): Promise<RouteCardAppSettings>;
|
|
279
|
+
protected processGetRouteCardUserSettings(response: Response): Promise<RouteCardAppSettings>;
|
|
280
|
+
setRouteCardUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
281
|
+
protected processSetRouteCardUserSettings(response: Response): Promise<void>;
|
|
276
282
|
getMoveUserSettings(): Promise<MoveAppSettings>;
|
|
277
283
|
protected processGetMoveUserSettings(response: Response): Promise<MoveAppSettings>;
|
|
278
284
|
setMoveUserSettings(settings: MoveAppSettings): Promise<void>;
|
|
@@ -2763,32 +2769,32 @@ export interface IListMachineUptimesTodayRequest {
|
|
|
2763
2769
|
utcOffset?: number;
|
|
2764
2770
|
}
|
|
2765
2771
|
export declare class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
2766
|
-
machines?: Machine[]
|
|
2772
|
+
machines?: Machine[];
|
|
2767
2773
|
constructor(data?: IPowerOnUtilizationList);
|
|
2768
2774
|
init(_data?: any): void;
|
|
2769
2775
|
static fromJS(data: any): PowerOnUtilizationList;
|
|
2770
2776
|
toJSON(data?: any): any;
|
|
2771
2777
|
}
|
|
2772
2778
|
export interface IPowerOnUtilizationList {
|
|
2773
|
-
machines?: Machine[]
|
|
2779
|
+
machines?: Machine[];
|
|
2774
2780
|
}
|
|
2775
2781
|
export declare class Machine implements IMachine {
|
|
2776
|
-
externalId?: string
|
|
2782
|
+
externalId?: string;
|
|
2777
2783
|
id?: number;
|
|
2778
|
-
name?: string
|
|
2784
|
+
name?: string;
|
|
2779
2785
|
description?: string | null;
|
|
2780
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
2786
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
2781
2787
|
constructor(data?: IMachine);
|
|
2782
2788
|
init(_data?: any): void;
|
|
2783
2789
|
static fromJS(data: any): Machine;
|
|
2784
2790
|
toJSON(data?: any): any;
|
|
2785
2791
|
}
|
|
2786
2792
|
export interface IMachine {
|
|
2787
|
-
externalId?: string
|
|
2793
|
+
externalId?: string;
|
|
2788
2794
|
id?: number;
|
|
2789
|
-
name?: string
|
|
2795
|
+
name?: string;
|
|
2790
2796
|
description?: string | null;
|
|
2791
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
2797
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
2792
2798
|
}
|
|
2793
2799
|
export declare class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
|
|
2794
2800
|
timestamp?: number;
|
|
@@ -2902,20 +2908,21 @@ export interface IListUsersRequest {
|
|
|
2902
2908
|
filter?: string | null;
|
|
2903
2909
|
continuationToken?: string | null;
|
|
2904
2910
|
}
|
|
2905
|
-
export declare class
|
|
2911
|
+
export declare class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
2906
2912
|
includeDrawingInRouteCardPrint?: boolean;
|
|
2907
2913
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
2908
|
-
constructor(data?:
|
|
2914
|
+
constructor(data?: IRouteCardAppSettings);
|
|
2909
2915
|
init(_data?: any): void;
|
|
2910
|
-
static fromJS(data: any):
|
|
2916
|
+
static fromJS(data: any): RouteCardAppSettings;
|
|
2911
2917
|
toJSON(data?: any): any;
|
|
2912
2918
|
}
|
|
2913
|
-
export interface
|
|
2919
|
+
export interface IRouteCardAppSettings {
|
|
2914
2920
|
includeDrawingInRouteCardPrint?: boolean;
|
|
2915
2921
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
2916
2922
|
}
|
|
2917
2923
|
export declare class MoveAppSettings implements IMoveAppSettings {
|
|
2918
2924
|
engageMoveAutoPrompt?: boolean;
|
|
2925
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
2919
2926
|
constructor(data?: IMoveAppSettings);
|
|
2920
2927
|
init(_data?: any): void;
|
|
2921
2928
|
static fromJS(data: any): MoveAppSettings;
|
|
@@ -2923,6 +2930,7 @@ export declare class MoveAppSettings implements IMoveAppSettings {
|
|
|
2923
2930
|
}
|
|
2924
2931
|
export interface IMoveAppSettings {
|
|
2925
2932
|
engageMoveAutoPrompt?: boolean;
|
|
2933
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
2926
2934
|
}
|
|
2927
2935
|
export declare class UploadInfoDto implements IUploadInfoDto {
|
|
2928
2936
|
baseUrl?: string | null;
|
|
@@ -9186,8 +9194,8 @@ export interface IPostMaterialPickListRequest {
|
|
|
9186
9194
|
export declare class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
9187
9195
|
lot: string;
|
|
9188
9196
|
partNumber: string;
|
|
9189
|
-
warehouse
|
|
9190
|
-
location
|
|
9197
|
+
warehouse?: string | null;
|
|
9198
|
+
location?: string | null;
|
|
9191
9199
|
end: boolean;
|
|
9192
9200
|
quantity: number;
|
|
9193
9201
|
batch?: string | null;
|
|
@@ -9199,8 +9207,8 @@ export declare class PickListMaterialLineDto implements IPickListMaterialLineDto
|
|
|
9199
9207
|
export interface IPickListMaterialLineDto {
|
|
9200
9208
|
lot: string;
|
|
9201
9209
|
partNumber: string;
|
|
9202
|
-
warehouse
|
|
9203
|
-
location
|
|
9210
|
+
warehouse?: string | null;
|
|
9211
|
+
location?: string | null;
|
|
9204
9212
|
end: boolean;
|
|
9205
9213
|
quantity: number;
|
|
9206
9214
|
batch?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1255,7 +1255,7 @@ export class UserAppSettingsClient extends AuthorizedApiBase {
|
|
|
1255
1255
|
return response.text().then((_responseText) => {
|
|
1256
1256
|
let result200 = null;
|
|
1257
1257
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1258
|
-
result200 =
|
|
1258
|
+
result200 = RouteCardAppSettings.fromJS(resultData200);
|
|
1259
1259
|
return result200;
|
|
1260
1260
|
});
|
|
1261
1261
|
}
|
|
@@ -1302,6 +1302,79 @@ export class UserAppSettingsClient extends AuthorizedApiBase {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
return Promise.resolve(null);
|
|
1304
1304
|
}
|
|
1305
|
+
getRouteCardUserSettings() {
|
|
1306
|
+
let url_ = this.baseUrl + "/userappsettings/route-card";
|
|
1307
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1308
|
+
let options_ = {
|
|
1309
|
+
method: "GET",
|
|
1310
|
+
headers: {
|
|
1311
|
+
"Accept": "application/json"
|
|
1312
|
+
}
|
|
1313
|
+
};
|
|
1314
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1315
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1316
|
+
}).then((_response) => {
|
|
1317
|
+
return this.processGetRouteCardUserSettings(_response);
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
processGetRouteCardUserSettings(response) {
|
|
1321
|
+
const status = response.status;
|
|
1322
|
+
let _headers = {};
|
|
1323
|
+
if (response.headers && response.headers.forEach) {
|
|
1324
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1325
|
+
}
|
|
1326
|
+
;
|
|
1327
|
+
if (status === 200) {
|
|
1328
|
+
return response.text().then((_responseText) => {
|
|
1329
|
+
let result200 = null;
|
|
1330
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1331
|
+
result200 = RouteCardAppSettings.fromJS(resultData200);
|
|
1332
|
+
return result200;
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1335
|
+
else if (status !== 200 && status !== 204) {
|
|
1336
|
+
return response.text().then((_responseText) => {
|
|
1337
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
return Promise.resolve(null);
|
|
1341
|
+
}
|
|
1342
|
+
setRouteCardUserSettings(settings) {
|
|
1343
|
+
let url_ = this.baseUrl + "/userappsettings/route-card";
|
|
1344
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1345
|
+
const content_ = JSON.stringify(settings);
|
|
1346
|
+
let options_ = {
|
|
1347
|
+
body: content_,
|
|
1348
|
+
method: "PUT",
|
|
1349
|
+
headers: {
|
|
1350
|
+
"Content-Type": "application/json",
|
|
1351
|
+
}
|
|
1352
|
+
};
|
|
1353
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1354
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1355
|
+
}).then((_response) => {
|
|
1356
|
+
return this.processSetRouteCardUserSettings(_response);
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
processSetRouteCardUserSettings(response) {
|
|
1360
|
+
const status = response.status;
|
|
1361
|
+
let _headers = {};
|
|
1362
|
+
if (response.headers && response.headers.forEach) {
|
|
1363
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1364
|
+
}
|
|
1365
|
+
;
|
|
1366
|
+
if (status === 204) {
|
|
1367
|
+
return response.text().then((_responseText) => {
|
|
1368
|
+
return;
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
else if (status !== 200 && status !== 204) {
|
|
1372
|
+
return response.text().then((_responseText) => {
|
|
1373
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
return Promise.resolve(null);
|
|
1377
|
+
}
|
|
1305
1378
|
getMoveUserSettings() {
|
|
1306
1379
|
let url_ = this.baseUrl + "/userappsettings/move";
|
|
1307
1380
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -20890,7 +20963,7 @@ export class ListUsersRequest {
|
|
|
20890
20963
|
return data;
|
|
20891
20964
|
}
|
|
20892
20965
|
}
|
|
20893
|
-
export class
|
|
20966
|
+
export class RouteCardAppSettings {
|
|
20894
20967
|
constructor(data) {
|
|
20895
20968
|
if (data) {
|
|
20896
20969
|
for (var property in data) {
|
|
@@ -20907,7 +20980,7 @@ export class EngageAppSettings {
|
|
|
20907
20980
|
}
|
|
20908
20981
|
static fromJS(data) {
|
|
20909
20982
|
data = typeof data === 'object' ? data : {};
|
|
20910
|
-
let result = new
|
|
20983
|
+
let result = new RouteCardAppSettings();
|
|
20911
20984
|
result.init(data);
|
|
20912
20985
|
return result;
|
|
20913
20986
|
}
|
|
@@ -20930,6 +21003,7 @@ export class MoveAppSettings {
|
|
|
20930
21003
|
init(_data) {
|
|
20931
21004
|
if (_data) {
|
|
20932
21005
|
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
21006
|
+
this.defaultFromSuggestionAutoFillLocationId = _data["defaultFromSuggestionAutoFillLocationId"];
|
|
20933
21007
|
}
|
|
20934
21008
|
}
|
|
20935
21009
|
static fromJS(data) {
|
|
@@ -20941,6 +21015,7 @@ export class MoveAppSettings {
|
|
|
20941
21015
|
toJSON(data) {
|
|
20942
21016
|
data = typeof data === 'object' ? data : {};
|
|
20943
21017
|
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
21018
|
+
data["defaultFromSuggestionAutoFillLocationId"] = this.defaultFromSuggestionAutoFillLocationId;
|
|
20944
21019
|
return data;
|
|
20945
21020
|
}
|
|
20946
21021
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1369,9 +1369,13 @@ export class UsersClient extends AuthorizedApiBase implements IUsersClient {
|
|
|
1369
1369
|
|
|
1370
1370
|
export interface IUserAppSettingsClient {
|
|
1371
1371
|
|
|
1372
|
-
getEngageUserSettings(): Promise<
|
|
1372
|
+
getEngageUserSettings(): Promise<RouteCardAppSettings>;
|
|
1373
1373
|
|
|
1374
|
-
setEngageUserSettings(settings:
|
|
1374
|
+
setEngageUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
1375
|
+
|
|
1376
|
+
getRouteCardUserSettings(): Promise<RouteCardAppSettings>;
|
|
1377
|
+
|
|
1378
|
+
setRouteCardUserSettings(settings: RouteCardAppSettings): Promise<void>;
|
|
1375
1379
|
|
|
1376
1380
|
getMoveUserSettings(): Promise<MoveAppSettings>;
|
|
1377
1381
|
|
|
@@ -1389,7 +1393,7 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
|
|
|
1389
1393
|
this.baseUrl = baseUrl ?? "";
|
|
1390
1394
|
}
|
|
1391
1395
|
|
|
1392
|
-
getEngageUserSettings(): Promise<
|
|
1396
|
+
getEngageUserSettings(): Promise<RouteCardAppSettings> {
|
|
1393
1397
|
let url_ = this.baseUrl + "/userappsettings/engage";
|
|
1394
1398
|
url_ = url_.replace(/[?&]$/, "");
|
|
1395
1399
|
|
|
@@ -1407,14 +1411,14 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
|
|
|
1407
1411
|
});
|
|
1408
1412
|
}
|
|
1409
1413
|
|
|
1410
|
-
protected processGetEngageUserSettings(response: Response): Promise<
|
|
1414
|
+
protected processGetEngageUserSettings(response: Response): Promise<RouteCardAppSettings> {
|
|
1411
1415
|
const status = response.status;
|
|
1412
1416
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1413
1417
|
if (status === 200) {
|
|
1414
1418
|
return response.text().then((_responseText) => {
|
|
1415
1419
|
let result200: any = null;
|
|
1416
1420
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1417
|
-
result200 =
|
|
1421
|
+
result200 = RouteCardAppSettings.fromJS(resultData200);
|
|
1418
1422
|
return result200;
|
|
1419
1423
|
});
|
|
1420
1424
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -1422,10 +1426,10 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
|
|
|
1422
1426
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1423
1427
|
});
|
|
1424
1428
|
}
|
|
1425
|
-
return Promise.resolve<
|
|
1429
|
+
return Promise.resolve<RouteCardAppSettings>(null as any);
|
|
1426
1430
|
}
|
|
1427
1431
|
|
|
1428
|
-
setEngageUserSettings(settings:
|
|
1432
|
+
setEngageUserSettings(settings: RouteCardAppSettings): Promise<void> {
|
|
1429
1433
|
let url_ = this.baseUrl + "/userappsettings/engage";
|
|
1430
1434
|
url_ = url_.replace(/[?&]$/, "");
|
|
1431
1435
|
|
|
@@ -1461,6 +1465,78 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
|
|
|
1461
1465
|
return Promise.resolve<void>(null as any);
|
|
1462
1466
|
}
|
|
1463
1467
|
|
|
1468
|
+
getRouteCardUserSettings(): Promise<RouteCardAppSettings> {
|
|
1469
|
+
let url_ = this.baseUrl + "/userappsettings/route-card";
|
|
1470
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1471
|
+
|
|
1472
|
+
let options_: RequestInit = {
|
|
1473
|
+
method: "GET",
|
|
1474
|
+
headers: {
|
|
1475
|
+
"Accept": "application/json"
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1480
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1481
|
+
}).then((_response: Response) => {
|
|
1482
|
+
return this.processGetRouteCardUserSettings(_response);
|
|
1483
|
+
});
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
protected processGetRouteCardUserSettings(response: Response): Promise<RouteCardAppSettings> {
|
|
1487
|
+
const status = response.status;
|
|
1488
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1489
|
+
if (status === 200) {
|
|
1490
|
+
return response.text().then((_responseText) => {
|
|
1491
|
+
let result200: any = null;
|
|
1492
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1493
|
+
result200 = RouteCardAppSettings.fromJS(resultData200);
|
|
1494
|
+
return result200;
|
|
1495
|
+
});
|
|
1496
|
+
} else if (status !== 200 && status !== 204) {
|
|
1497
|
+
return response.text().then((_responseText) => {
|
|
1498
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1499
|
+
});
|
|
1500
|
+
}
|
|
1501
|
+
return Promise.resolve<RouteCardAppSettings>(null as any);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
setRouteCardUserSettings(settings: RouteCardAppSettings): Promise<void> {
|
|
1505
|
+
let url_ = this.baseUrl + "/userappsettings/route-card";
|
|
1506
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1507
|
+
|
|
1508
|
+
const content_ = JSON.stringify(settings);
|
|
1509
|
+
|
|
1510
|
+
let options_: RequestInit = {
|
|
1511
|
+
body: content_,
|
|
1512
|
+
method: "PUT",
|
|
1513
|
+
headers: {
|
|
1514
|
+
"Content-Type": "application/json",
|
|
1515
|
+
}
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1519
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1520
|
+
}).then((_response: Response) => {
|
|
1521
|
+
return this.processSetRouteCardUserSettings(_response);
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
protected processSetRouteCardUserSettings(response: Response): Promise<void> {
|
|
1526
|
+
const status = response.status;
|
|
1527
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1528
|
+
if (status === 204) {
|
|
1529
|
+
return response.text().then((_responseText) => {
|
|
1530
|
+
return;
|
|
1531
|
+
});
|
|
1532
|
+
} else if (status !== 200 && status !== 204) {
|
|
1533
|
+
return response.text().then((_responseText) => {
|
|
1534
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
return Promise.resolve<void>(null as any);
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1464
1540
|
getMoveUserSettings(): Promise<MoveAppSettings> {
|
|
1465
1541
|
let url_ = this.baseUrl + "/userappsettings/move";
|
|
1466
1542
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -22261,7 +22337,7 @@ export interface IListMachineUptimesTodayRequest {
|
|
|
22261
22337
|
}
|
|
22262
22338
|
|
|
22263
22339
|
export class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
22264
|
-
machines?: Machine[]
|
|
22340
|
+
machines?: Machine[];
|
|
22265
22341
|
|
|
22266
22342
|
constructor(data?: IPowerOnUtilizationList) {
|
|
22267
22343
|
if (data) {
|
|
@@ -22301,15 +22377,15 @@ export class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
|
22301
22377
|
}
|
|
22302
22378
|
|
|
22303
22379
|
export interface IPowerOnUtilizationList {
|
|
22304
|
-
machines?: Machine[]
|
|
22380
|
+
machines?: Machine[];
|
|
22305
22381
|
}
|
|
22306
22382
|
|
|
22307
22383
|
export class Machine implements IMachine {
|
|
22308
|
-
externalId?: string
|
|
22384
|
+
externalId?: string;
|
|
22309
22385
|
id?: number;
|
|
22310
|
-
name?: string
|
|
22386
|
+
name?: string;
|
|
22311
22387
|
description?: string | null;
|
|
22312
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
22388
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
22313
22389
|
|
|
22314
22390
|
constructor(data?: IMachine) {
|
|
22315
22391
|
if (data) {
|
|
@@ -22357,11 +22433,11 @@ export class Machine implements IMachine {
|
|
|
22357
22433
|
}
|
|
22358
22434
|
|
|
22359
22435
|
export interface IMachine {
|
|
22360
|
-
externalId?: string
|
|
22436
|
+
externalId?: string;
|
|
22361
22437
|
id?: number;
|
|
22362
|
-
name?: string
|
|
22438
|
+
name?: string;
|
|
22363
22439
|
description?: string | null;
|
|
22364
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
22440
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
22365
22441
|
}
|
|
22366
22442
|
|
|
22367
22443
|
export class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
|
|
@@ -22719,11 +22795,11 @@ export interface IListUsersRequest {
|
|
|
22719
22795
|
continuationToken?: string | null;
|
|
22720
22796
|
}
|
|
22721
22797
|
|
|
22722
|
-
export class
|
|
22798
|
+
export class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
22723
22799
|
includeDrawingInRouteCardPrint?: boolean;
|
|
22724
22800
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
22725
22801
|
|
|
22726
|
-
constructor(data?:
|
|
22802
|
+
constructor(data?: IRouteCardAppSettings) {
|
|
22727
22803
|
if (data) {
|
|
22728
22804
|
for (var property in data) {
|
|
22729
22805
|
if (data.hasOwnProperty(property))
|
|
@@ -22739,9 +22815,9 @@ export class EngageAppSettings implements IEngageAppSettings {
|
|
|
22739
22815
|
}
|
|
22740
22816
|
}
|
|
22741
22817
|
|
|
22742
|
-
static fromJS(data: any):
|
|
22818
|
+
static fromJS(data: any): RouteCardAppSettings {
|
|
22743
22819
|
data = typeof data === 'object' ? data : {};
|
|
22744
|
-
let result = new
|
|
22820
|
+
let result = new RouteCardAppSettings();
|
|
22745
22821
|
result.init(data);
|
|
22746
22822
|
return result;
|
|
22747
22823
|
}
|
|
@@ -22754,13 +22830,14 @@ export class EngageAppSettings implements IEngageAppSettings {
|
|
|
22754
22830
|
}
|
|
22755
22831
|
}
|
|
22756
22832
|
|
|
22757
|
-
export interface
|
|
22833
|
+
export interface IRouteCardAppSettings {
|
|
22758
22834
|
includeDrawingInRouteCardPrint?: boolean;
|
|
22759
22835
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
22760
22836
|
}
|
|
22761
22837
|
|
|
22762
22838
|
export class MoveAppSettings implements IMoveAppSettings {
|
|
22763
22839
|
engageMoveAutoPrompt?: boolean;
|
|
22840
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
22764
22841
|
|
|
22765
22842
|
constructor(data?: IMoveAppSettings) {
|
|
22766
22843
|
if (data) {
|
|
@@ -22774,6 +22851,7 @@ export class MoveAppSettings implements IMoveAppSettings {
|
|
|
22774
22851
|
init(_data?: any) {
|
|
22775
22852
|
if (_data) {
|
|
22776
22853
|
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
22854
|
+
this.defaultFromSuggestionAutoFillLocationId = _data["defaultFromSuggestionAutoFillLocationId"];
|
|
22777
22855
|
}
|
|
22778
22856
|
}
|
|
22779
22857
|
|
|
@@ -22787,12 +22865,14 @@ export class MoveAppSettings implements IMoveAppSettings {
|
|
|
22787
22865
|
toJSON(data?: any) {
|
|
22788
22866
|
data = typeof data === 'object' ? data : {};
|
|
22789
22867
|
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
22868
|
+
data["defaultFromSuggestionAutoFillLocationId"] = this.defaultFromSuggestionAutoFillLocationId;
|
|
22790
22869
|
return data;
|
|
22791
22870
|
}
|
|
22792
22871
|
}
|
|
22793
22872
|
|
|
22794
22873
|
export interface IMoveAppSettings {
|
|
22795
22874
|
engageMoveAutoPrompt?: boolean;
|
|
22875
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
22796
22876
|
}
|
|
22797
22877
|
|
|
22798
22878
|
export class UploadInfoDto implements IUploadInfoDto {
|
|
@@ -41813,8 +41893,8 @@ export interface IPostMaterialPickListRequest {
|
|
|
41813
41893
|
export class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
41814
41894
|
lot!: string;
|
|
41815
41895
|
partNumber!: string;
|
|
41816
|
-
warehouse
|
|
41817
|
-
location
|
|
41896
|
+
warehouse?: string | null;
|
|
41897
|
+
location?: string | null;
|
|
41818
41898
|
end!: boolean;
|
|
41819
41899
|
quantity!: number;
|
|
41820
41900
|
batch?: string | null;
|
|
@@ -41863,8 +41943,8 @@ export class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
|
41863
41943
|
export interface IPickListMaterialLineDto {
|
|
41864
41944
|
lot: string;
|
|
41865
41945
|
partNumber: string;
|
|
41866
|
-
warehouse
|
|
41867
|
-
location
|
|
41946
|
+
warehouse?: string | null;
|
|
41947
|
+
location?: string | null;
|
|
41868
41948
|
end: boolean;
|
|
41869
41949
|
quantity: number;
|
|
41870
41950
|
batch?: string | null;
|