@ignos/api-client 20241126.0.10771 → 20241211.0.10819
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 +22 -22
- package/lib/ignosportal-api.js +4 -8
- package/package.json +1 -1
- package/src/ignosportal-api.ts +26 -30
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -349,10 +349,10 @@ export declare class SustainabilityClient extends AuthorizedApiBase implements I
|
|
|
349
349
|
protected processCreateCustomerOrderLineGhgReport(response: Response): Promise<DownloadDto>;
|
|
350
350
|
}
|
|
351
351
|
export interface IMachineAlarmsClient {
|
|
352
|
-
listMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
352
|
+
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
353
353
|
listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
|
|
354
354
|
listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
355
|
-
countMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
355
|
+
countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
356
356
|
getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
|
|
357
357
|
}
|
|
358
358
|
export declare class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAlarmsClient {
|
|
@@ -362,13 +362,13 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
|
|
|
362
362
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
363
363
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
364
364
|
});
|
|
365
|
-
listMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
365
|
+
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
366
366
|
protected processListMachineAlarms(response: Response): Promise<PagedResultOfMachineAlarmDto>;
|
|
367
367
|
listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
|
|
368
368
|
protected processListAlarmsPerMachine(response: Response): Promise<MachineAlarmSummaryDto[]>;
|
|
369
369
|
listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
370
370
|
protected processListAlarmSeverityOccurrences(response: Response): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
371
|
-
countMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
371
|
+
countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
372
372
|
protected processCountMachineAlarms(response: Response): Promise<MachineAlarmCountDto>;
|
|
373
373
|
getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
|
|
374
374
|
protected processGetMachineAlarmDetails(response: Response): Promise<MachineAlarmDetailsDto>;
|
|
@@ -2763,32 +2763,32 @@ export interface IListMachineUptimesTodayRequest {
|
|
|
2763
2763
|
utcOffset?: number;
|
|
2764
2764
|
}
|
|
2765
2765
|
export declare class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
2766
|
-
machines?: Machine[]
|
|
2766
|
+
machines?: Machine[];
|
|
2767
2767
|
constructor(data?: IPowerOnUtilizationList);
|
|
2768
2768
|
init(_data?: any): void;
|
|
2769
2769
|
static fromJS(data: any): PowerOnUtilizationList;
|
|
2770
2770
|
toJSON(data?: any): any;
|
|
2771
2771
|
}
|
|
2772
2772
|
export interface IPowerOnUtilizationList {
|
|
2773
|
-
machines?: Machine[]
|
|
2773
|
+
machines?: Machine[];
|
|
2774
2774
|
}
|
|
2775
2775
|
export declare class Machine implements IMachine {
|
|
2776
|
-
externalId?: string
|
|
2776
|
+
externalId?: string;
|
|
2777
2777
|
id?: number;
|
|
2778
|
-
name?: string
|
|
2779
|
-
description?: string
|
|
2780
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
2778
|
+
name?: string;
|
|
2779
|
+
description?: string;
|
|
2780
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
2781
2781
|
constructor(data?: IMachine);
|
|
2782
2782
|
init(_data?: any): void;
|
|
2783
2783
|
static fromJS(data: any): Machine;
|
|
2784
2784
|
toJSON(data?: any): any;
|
|
2785
2785
|
}
|
|
2786
2786
|
export interface IMachine {
|
|
2787
|
-
externalId?: string
|
|
2787
|
+
externalId?: string;
|
|
2788
2788
|
id?: number;
|
|
2789
|
-
name?: string
|
|
2790
|
-
description?: string
|
|
2791
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
2789
|
+
name?: string;
|
|
2790
|
+
description?: string;
|
|
2791
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
2792
2792
|
}
|
|
2793
2793
|
export declare class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
|
|
2794
2794
|
timestamp?: number;
|
|
@@ -2916,6 +2916,7 @@ export interface IEngageAppSettings {
|
|
|
2916
2916
|
}
|
|
2917
2917
|
export declare class MoveAppSettings implements IMoveAppSettings {
|
|
2918
2918
|
engageMoveAutoPrompt?: boolean;
|
|
2919
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
2919
2920
|
constructor(data?: IMoveAppSettings);
|
|
2920
2921
|
init(_data?: any): void;
|
|
2921
2922
|
static fromJS(data: any): MoveAppSettings;
|
|
@@ -2923,6 +2924,7 @@ export declare class MoveAppSettings implements IMoveAppSettings {
|
|
|
2923
2924
|
}
|
|
2924
2925
|
export interface IMoveAppSettings {
|
|
2925
2926
|
engageMoveAutoPrompt?: boolean;
|
|
2927
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
2926
2928
|
}
|
|
2927
2929
|
export declare class UploadInfoDto implements IUploadInfoDto {
|
|
2928
2930
|
baseUrl?: string | null;
|
|
@@ -9186,8 +9188,8 @@ export interface IPostMaterialPickListRequest {
|
|
|
9186
9188
|
export declare class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
9187
9189
|
lot: string;
|
|
9188
9190
|
partNumber: string;
|
|
9189
|
-
warehouse
|
|
9190
|
-
location
|
|
9191
|
+
warehouse?: string | null;
|
|
9192
|
+
location?: string | null;
|
|
9191
9193
|
end: boolean;
|
|
9192
9194
|
quantity: number;
|
|
9193
9195
|
batch?: string | null;
|
|
@@ -9199,8 +9201,8 @@ export declare class PickListMaterialLineDto implements IPickListMaterialLineDto
|
|
|
9199
9201
|
export interface IPickListMaterialLineDto {
|
|
9200
9202
|
lot: string;
|
|
9201
9203
|
partNumber: string;
|
|
9202
|
-
warehouse
|
|
9203
|
-
location
|
|
9204
|
+
warehouse?: string | null;
|
|
9205
|
+
location?: string | null;
|
|
9204
9206
|
end: boolean;
|
|
9205
9207
|
quantity: number;
|
|
9206
9208
|
batch?: string | null;
|
|
@@ -9664,7 +9666,6 @@ export interface IStoppedWorkDto {
|
|
|
9664
9666
|
}
|
|
9665
9667
|
export declare class StartOperations implements IStartOperations {
|
|
9666
9668
|
operations: StartOperationDto[];
|
|
9667
|
-
workType?: WorkTypeDto | null;
|
|
9668
9669
|
constructor(data?: IStartOperations);
|
|
9669
9670
|
init(_data?: any): void;
|
|
9670
9671
|
static fromJS(data: any): StartOperations;
|
|
@@ -9672,14 +9673,13 @@ export declare class StartOperations implements IStartOperations {
|
|
|
9672
9673
|
}
|
|
9673
9674
|
export interface IStartOperations {
|
|
9674
9675
|
operations: StartOperationDto[];
|
|
9675
|
-
workType?: WorkTypeDto | null;
|
|
9676
9676
|
}
|
|
9677
9677
|
export declare class StartOperationDto implements IStartOperationDto {
|
|
9678
9678
|
workOrder: string;
|
|
9679
9679
|
operationNumber: number;
|
|
9680
9680
|
startedQuantity?: number | null;
|
|
9681
9681
|
resource: string;
|
|
9682
|
-
workType
|
|
9682
|
+
workType: WorkTypeDto;
|
|
9683
9683
|
constructor(data?: IStartOperationDto);
|
|
9684
9684
|
init(_data?: any): void;
|
|
9685
9685
|
static fromJS(data: any): StartOperationDto;
|
|
@@ -9690,7 +9690,7 @@ export interface IStartOperationDto {
|
|
|
9690
9690
|
operationNumber: number;
|
|
9691
9691
|
startedQuantity?: number | null;
|
|
9692
9692
|
resource: string;
|
|
9693
|
-
workType
|
|
9693
|
+
workType: WorkTypeDto;
|
|
9694
9694
|
}
|
|
9695
9695
|
export declare class ReportOperationProgress implements IReportOperationProgress {
|
|
9696
9696
|
operations: ReportOperationProgressDto[];
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1816,9 +1816,7 @@ export class MachineAlarmsClient extends AuthorizedApiBase {
|
|
|
1816
1816
|
}
|
|
1817
1817
|
listMachineAlarms(alarmType, assetId, startTime, endTime, subType, nativeCode, nativeSeverity, name, sequence, limit, continuationToken, orderBy, sortDirection) {
|
|
1818
1818
|
let url_ = this.baseUrl + "/machinealarms?";
|
|
1819
|
-
if (alarmType
|
|
1820
|
-
throw new Error("The parameter 'alarmType' cannot be null.");
|
|
1821
|
-
else if (alarmType !== undefined)
|
|
1819
|
+
if (alarmType !== undefined && alarmType !== null)
|
|
1822
1820
|
url_ += "alarmType=" + encodeURIComponent("" + alarmType) + "&";
|
|
1823
1821
|
if (assetId === null)
|
|
1824
1822
|
throw new Error("The parameter 'assetId' cannot be null.");
|
|
@@ -1981,9 +1979,7 @@ export class MachineAlarmsClient extends AuthorizedApiBase {
|
|
|
1981
1979
|
}
|
|
1982
1980
|
countMachineAlarms(alarmType, assetId, startTime, endTime, subType, nativeCode, nativeSeverity, name, sequence) {
|
|
1983
1981
|
let url_ = this.baseUrl + "/machinealarms/alarmcount?";
|
|
1984
|
-
if (alarmType
|
|
1985
|
-
throw new Error("The parameter 'alarmType' cannot be null.");
|
|
1986
|
-
else if (alarmType !== undefined)
|
|
1982
|
+
if (alarmType !== undefined && alarmType !== null)
|
|
1987
1983
|
url_ += "alarmType=" + encodeURIComponent("" + alarmType) + "&";
|
|
1988
1984
|
if (assetId === null)
|
|
1989
1985
|
throw new Error("The parameter 'assetId' cannot be null.");
|
|
@@ -20934,6 +20930,7 @@ export class MoveAppSettings {
|
|
|
20934
20930
|
init(_data) {
|
|
20935
20931
|
if (_data) {
|
|
20936
20932
|
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
20933
|
+
this.defaultFromSuggestionAutoFillLocationId = _data["defaultFromSuggestionAutoFillLocationId"];
|
|
20937
20934
|
}
|
|
20938
20935
|
}
|
|
20939
20936
|
static fromJS(data) {
|
|
@@ -20945,6 +20942,7 @@ export class MoveAppSettings {
|
|
|
20945
20942
|
toJSON(data) {
|
|
20946
20943
|
data = typeof data === 'object' ? data : {};
|
|
20947
20944
|
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
20945
|
+
data["defaultFromSuggestionAutoFillLocationId"] = this.defaultFromSuggestionAutoFillLocationId;
|
|
20948
20946
|
return data;
|
|
20949
20947
|
}
|
|
20950
20948
|
}
|
|
@@ -34726,7 +34724,6 @@ export class StartOperations {
|
|
|
34726
34724
|
for (let item of _data["operations"])
|
|
34727
34725
|
this.operations.push(StartOperationDto.fromJS(item));
|
|
34728
34726
|
}
|
|
34729
|
-
this.workType = _data["workType"];
|
|
34730
34727
|
}
|
|
34731
34728
|
}
|
|
34732
34729
|
static fromJS(data) {
|
|
@@ -34742,7 +34739,6 @@ export class StartOperations {
|
|
|
34742
34739
|
for (let item of this.operations)
|
|
34743
34740
|
data["operations"].push(item.toJSON());
|
|
34744
34741
|
}
|
|
34745
|
-
data["workType"] = this.workType;
|
|
34746
34742
|
return data;
|
|
34747
34743
|
}
|
|
34748
34744
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -2010,13 +2010,13 @@ export class SustainabilityClient extends AuthorizedApiBase implements ISustaina
|
|
|
2010
2010
|
|
|
2011
2011
|
export interface IMachineAlarmsClient {
|
|
2012
2012
|
|
|
2013
|
-
listMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
2013
|
+
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
2014
2014
|
|
|
2015
2015
|
listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
|
|
2016
2016
|
|
|
2017
2017
|
listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
2018
2018
|
|
|
2019
|
-
countMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
2019
|
+
countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
2020
2020
|
|
|
2021
2021
|
getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
|
|
2022
2022
|
}
|
|
@@ -2032,11 +2032,9 @@ export class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAl
|
|
|
2032
2032
|
this.baseUrl = baseUrl ?? "";
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
2035
|
-
listMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto> {
|
|
2035
|
+
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto> {
|
|
2036
2036
|
let url_ = this.baseUrl + "/machinealarms?";
|
|
2037
|
-
if (alarmType
|
|
2038
|
-
throw new Error("The parameter 'alarmType' cannot be null.");
|
|
2039
|
-
else if (alarmType !== undefined)
|
|
2037
|
+
if (alarmType !== undefined && alarmType !== null)
|
|
2040
2038
|
url_ += "alarmType=" + encodeURIComponent("" + alarmType) + "&";
|
|
2041
2039
|
if (assetId === null)
|
|
2042
2040
|
throw new Error("The parameter 'assetId' cannot be null.");
|
|
@@ -2194,11 +2192,9 @@ export class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAl
|
|
|
2194
2192
|
return Promise.resolve<MachineAlarmSeverityOccurenceDto[]>(null as any);
|
|
2195
2193
|
}
|
|
2196
2194
|
|
|
2197
|
-
countMachineAlarms(alarmType: MachineAlarmType | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto> {
|
|
2195
|
+
countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto> {
|
|
2198
2196
|
let url_ = this.baseUrl + "/machinealarms/alarmcount?";
|
|
2199
|
-
if (alarmType
|
|
2200
|
-
throw new Error("The parameter 'alarmType' cannot be null.");
|
|
2201
|
-
else if (alarmType !== undefined)
|
|
2197
|
+
if (alarmType !== undefined && alarmType !== null)
|
|
2202
2198
|
url_ += "alarmType=" + encodeURIComponent("" + alarmType) + "&";
|
|
2203
2199
|
if (assetId === null)
|
|
2204
2200
|
throw new Error("The parameter 'assetId' cannot be null.");
|
|
@@ -22265,7 +22261,7 @@ export interface IListMachineUptimesTodayRequest {
|
|
|
22265
22261
|
}
|
|
22266
22262
|
|
|
22267
22263
|
export class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
22268
|
-
machines?: Machine[]
|
|
22264
|
+
machines?: Machine[];
|
|
22269
22265
|
|
|
22270
22266
|
constructor(data?: IPowerOnUtilizationList) {
|
|
22271
22267
|
if (data) {
|
|
@@ -22305,15 +22301,15 @@ export class PowerOnUtilizationList implements IPowerOnUtilizationList {
|
|
|
22305
22301
|
}
|
|
22306
22302
|
|
|
22307
22303
|
export interface IPowerOnUtilizationList {
|
|
22308
|
-
machines?: Machine[]
|
|
22304
|
+
machines?: Machine[];
|
|
22309
22305
|
}
|
|
22310
22306
|
|
|
22311
22307
|
export class Machine implements IMachine {
|
|
22312
|
-
externalId?: string
|
|
22308
|
+
externalId?: string;
|
|
22313
22309
|
id?: number;
|
|
22314
|
-
name?: string
|
|
22315
|
-
description?: string
|
|
22316
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
22310
|
+
name?: string;
|
|
22311
|
+
description?: string;
|
|
22312
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
22317
22313
|
|
|
22318
22314
|
constructor(data?: IMachine) {
|
|
22319
22315
|
if (data) {
|
|
@@ -22361,11 +22357,11 @@ export class Machine implements IMachine {
|
|
|
22361
22357
|
}
|
|
22362
22358
|
|
|
22363
22359
|
export interface IMachine {
|
|
22364
|
-
externalId?: string
|
|
22360
|
+
externalId?: string;
|
|
22365
22361
|
id?: number;
|
|
22366
|
-
name?: string
|
|
22367
|
-
description?: string
|
|
22368
|
-
datapoints?: NumericNullableValueWithTimestamp[]
|
|
22362
|
+
name?: string;
|
|
22363
|
+
description?: string;
|
|
22364
|
+
datapoints?: NumericNullableValueWithTimestamp[];
|
|
22369
22365
|
}
|
|
22370
22366
|
|
|
22371
22367
|
export class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
|
|
@@ -22765,6 +22761,7 @@ export interface IEngageAppSettings {
|
|
|
22765
22761
|
|
|
22766
22762
|
export class MoveAppSettings implements IMoveAppSettings {
|
|
22767
22763
|
engageMoveAutoPrompt?: boolean;
|
|
22764
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
22768
22765
|
|
|
22769
22766
|
constructor(data?: IMoveAppSettings) {
|
|
22770
22767
|
if (data) {
|
|
@@ -22778,6 +22775,7 @@ export class MoveAppSettings implements IMoveAppSettings {
|
|
|
22778
22775
|
init(_data?: any) {
|
|
22779
22776
|
if (_data) {
|
|
22780
22777
|
this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
|
|
22778
|
+
this.defaultFromSuggestionAutoFillLocationId = _data["defaultFromSuggestionAutoFillLocationId"];
|
|
22781
22779
|
}
|
|
22782
22780
|
}
|
|
22783
22781
|
|
|
@@ -22791,12 +22789,14 @@ export class MoveAppSettings implements IMoveAppSettings {
|
|
|
22791
22789
|
toJSON(data?: any) {
|
|
22792
22790
|
data = typeof data === 'object' ? data : {};
|
|
22793
22791
|
data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
|
|
22792
|
+
data["defaultFromSuggestionAutoFillLocationId"] = this.defaultFromSuggestionAutoFillLocationId;
|
|
22794
22793
|
return data;
|
|
22795
22794
|
}
|
|
22796
22795
|
}
|
|
22797
22796
|
|
|
22798
22797
|
export interface IMoveAppSettings {
|
|
22799
22798
|
engageMoveAutoPrompt?: boolean;
|
|
22799
|
+
defaultFromSuggestionAutoFillLocationId?: string | null;
|
|
22800
22800
|
}
|
|
22801
22801
|
|
|
22802
22802
|
export class UploadInfoDto implements IUploadInfoDto {
|
|
@@ -41817,8 +41817,8 @@ export interface IPostMaterialPickListRequest {
|
|
|
41817
41817
|
export class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
41818
41818
|
lot!: string;
|
|
41819
41819
|
partNumber!: string;
|
|
41820
|
-
warehouse
|
|
41821
|
-
location
|
|
41820
|
+
warehouse?: string | null;
|
|
41821
|
+
location?: string | null;
|
|
41822
41822
|
end!: boolean;
|
|
41823
41823
|
quantity!: number;
|
|
41824
41824
|
batch?: string | null;
|
|
@@ -41867,8 +41867,8 @@ export class PickListMaterialLineDto implements IPickListMaterialLineDto {
|
|
|
41867
41867
|
export interface IPickListMaterialLineDto {
|
|
41868
41868
|
lot: string;
|
|
41869
41869
|
partNumber: string;
|
|
41870
|
-
warehouse
|
|
41871
|
-
location
|
|
41870
|
+
warehouse?: string | null;
|
|
41871
|
+
location?: string | null;
|
|
41872
41872
|
end: boolean;
|
|
41873
41873
|
quantity: number;
|
|
41874
41874
|
batch?: string | null;
|
|
@@ -43336,7 +43336,6 @@ export interface IStoppedWorkDto {
|
|
|
43336
43336
|
|
|
43337
43337
|
export class StartOperations implements IStartOperations {
|
|
43338
43338
|
operations!: StartOperationDto[];
|
|
43339
|
-
workType?: WorkTypeDto | null;
|
|
43340
43339
|
|
|
43341
43340
|
constructor(data?: IStartOperations) {
|
|
43342
43341
|
if (data) {
|
|
@@ -43357,7 +43356,6 @@ export class StartOperations implements IStartOperations {
|
|
|
43357
43356
|
for (let item of _data["operations"])
|
|
43358
43357
|
this.operations!.push(StartOperationDto.fromJS(item));
|
|
43359
43358
|
}
|
|
43360
|
-
this.workType = _data["workType"];
|
|
43361
43359
|
}
|
|
43362
43360
|
}
|
|
43363
43361
|
|
|
@@ -43375,14 +43373,12 @@ export class StartOperations implements IStartOperations {
|
|
|
43375
43373
|
for (let item of this.operations)
|
|
43376
43374
|
data["operations"].push(item.toJSON());
|
|
43377
43375
|
}
|
|
43378
|
-
data["workType"] = this.workType;
|
|
43379
43376
|
return data;
|
|
43380
43377
|
}
|
|
43381
43378
|
}
|
|
43382
43379
|
|
|
43383
43380
|
export interface IStartOperations {
|
|
43384
43381
|
operations: StartOperationDto[];
|
|
43385
|
-
workType?: WorkTypeDto | null;
|
|
43386
43382
|
}
|
|
43387
43383
|
|
|
43388
43384
|
export class StartOperationDto implements IStartOperationDto {
|
|
@@ -43390,7 +43386,7 @@ export class StartOperationDto implements IStartOperationDto {
|
|
|
43390
43386
|
operationNumber!: number;
|
|
43391
43387
|
startedQuantity?: number | null;
|
|
43392
43388
|
resource!: string;
|
|
43393
|
-
workType
|
|
43389
|
+
workType!: WorkTypeDto;
|
|
43394
43390
|
|
|
43395
43391
|
constructor(data?: IStartOperationDto) {
|
|
43396
43392
|
if (data) {
|
|
@@ -43434,7 +43430,7 @@ export interface IStartOperationDto {
|
|
|
43434
43430
|
operationNumber: number;
|
|
43435
43431
|
startedQuantity?: number | null;
|
|
43436
43432
|
resource: string;
|
|
43437
|
-
workType
|
|
43433
|
+
workType: WorkTypeDto;
|
|
43438
43434
|
}
|
|
43439
43435
|
|
|
43440
43436
|
export class ReportOperationProgress implements IReportOperationProgress {
|