@ignos/api-client 20250911.0.12594 → 20250915.0.12628
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 +13 -4
- package/lib/ignosportal-api.js +50 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +61 -4
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -785,6 +785,7 @@ export interface IDowntimeReasonsClient {
|
|
|
785
785
|
updateDowntimePeriodReason(id: number, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
|
|
786
786
|
deleteDowntimeReason(id: number): Promise<void>;
|
|
787
787
|
listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
|
|
788
|
+
listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
|
|
788
789
|
listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
|
|
789
790
|
createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
|
|
790
791
|
exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
|
|
@@ -804,6 +805,8 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
|
|
|
804
805
|
protected processDeleteDowntimeReason(response: Response): Promise<void>;
|
|
805
806
|
listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
|
|
806
807
|
protected processListDowntimeReasonsForMachine(response: Response): Promise<DowntimeReasonDto[]>;
|
|
808
|
+
listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
|
|
809
|
+
protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
|
|
807
810
|
listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
|
|
808
811
|
protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
|
|
809
812
|
createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
|
|
@@ -3063,11 +3066,12 @@ export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto
|
|
|
3063
3066
|
reason: string;
|
|
3064
3067
|
reasonType: DowntimeReasonTypeDto;
|
|
3065
3068
|
startTime: Date;
|
|
3066
|
-
endTime
|
|
3069
|
+
endTime?: Date | null;
|
|
3067
3070
|
assetId: number;
|
|
3068
3071
|
comment?: string | null;
|
|
3069
3072
|
companyId?: string | null;
|
|
3070
3073
|
reasonId: string;
|
|
3074
|
+
autoCompleteDowntime?: boolean | null;
|
|
3071
3075
|
createdBy?: EmployeeDto | null;
|
|
3072
3076
|
updatedBy?: EmployeeDto | null;
|
|
3073
3077
|
constructor(data?: IDowntimePeriodReasonDto);
|
|
@@ -3080,11 +3084,12 @@ export interface IDowntimePeriodReasonDto {
|
|
|
3080
3084
|
reason: string;
|
|
3081
3085
|
reasonType: DowntimeReasonTypeDto;
|
|
3082
3086
|
startTime: Date;
|
|
3083
|
-
endTime
|
|
3087
|
+
endTime?: Date | null;
|
|
3084
3088
|
assetId: number;
|
|
3085
3089
|
comment?: string | null;
|
|
3086
3090
|
companyId?: string | null;
|
|
3087
3091
|
reasonId: string;
|
|
3092
|
+
autoCompleteDowntime?: boolean | null;
|
|
3088
3093
|
createdBy?: EmployeeDto | null;
|
|
3089
3094
|
updatedBy?: EmployeeDto | null;
|
|
3090
3095
|
}
|
|
@@ -5896,7 +5901,8 @@ export declare class CreateDowntimePeriodReason implements ICreateDowntimePeriod
|
|
|
5896
5901
|
reasonId: string;
|
|
5897
5902
|
assetId: number;
|
|
5898
5903
|
startTime: Date;
|
|
5899
|
-
endTime
|
|
5904
|
+
endTime?: Date | null;
|
|
5905
|
+
autoCompleteDowntime?: boolean | null;
|
|
5900
5906
|
comment?: string | null;
|
|
5901
5907
|
constructor(data?: ICreateDowntimePeriodReason);
|
|
5902
5908
|
init(_data?: any): void;
|
|
@@ -5907,7 +5913,8 @@ export interface ICreateDowntimePeriodReason {
|
|
|
5907
5913
|
reasonId: string;
|
|
5908
5914
|
assetId: number;
|
|
5909
5915
|
startTime: Date;
|
|
5910
|
-
endTime
|
|
5916
|
+
endTime?: Date | null;
|
|
5917
|
+
autoCompleteDowntime?: boolean | null;
|
|
5911
5918
|
comment?: string | null;
|
|
5912
5919
|
}
|
|
5913
5920
|
export declare class UpdateDowntimePeriodReasonRequest implements IUpdateDowntimePeriodReasonRequest {
|
|
@@ -5915,6 +5922,7 @@ export declare class UpdateDowntimePeriodReasonRequest implements IUpdateDowntim
|
|
|
5915
5922
|
assetId?: number | null;
|
|
5916
5923
|
startTime?: Date | null;
|
|
5917
5924
|
endTime?: Date | null;
|
|
5925
|
+
autoCompleteDowntime?: boolean | null;
|
|
5918
5926
|
comment?: string | null;
|
|
5919
5927
|
constructor(data?: IUpdateDowntimePeriodReasonRequest);
|
|
5920
5928
|
init(_data?: any): void;
|
|
@@ -5926,6 +5934,7 @@ export interface IUpdateDowntimePeriodReasonRequest {
|
|
|
5926
5934
|
assetId?: number | null;
|
|
5927
5935
|
startTime?: Date | null;
|
|
5928
5936
|
endTime?: Date | null;
|
|
5937
|
+
autoCompleteDowntime?: boolean | null;
|
|
5929
5938
|
comment?: string | null;
|
|
5930
5939
|
}
|
|
5931
5940
|
export declare class TopDowntimeReasonsDto implements ITopDowntimeReasonsDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -6181,6 +6181,50 @@ export class DowntimeReasonsClient extends AuthorizedApiBase {
|
|
|
6181
6181
|
}
|
|
6182
6182
|
return Promise.resolve(null);
|
|
6183
6183
|
}
|
|
6184
|
+
listActiveDowntimeReasonsForMachine(id) {
|
|
6185
|
+
let url_ = this.baseUrl + "/downtimereasons/machine/{id}/active";
|
|
6186
|
+
if (id === undefined || id === null)
|
|
6187
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
6188
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
6189
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6190
|
+
let options_ = {
|
|
6191
|
+
method: "GET",
|
|
6192
|
+
headers: {
|
|
6193
|
+
"Accept": "application/json"
|
|
6194
|
+
}
|
|
6195
|
+
};
|
|
6196
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6197
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6198
|
+
}).then((_response) => {
|
|
6199
|
+
return this.processListActiveDowntimeReasonsForMachine(_response);
|
|
6200
|
+
});
|
|
6201
|
+
}
|
|
6202
|
+
processListActiveDowntimeReasonsForMachine(response) {
|
|
6203
|
+
const status = response.status;
|
|
6204
|
+
let _headers = {};
|
|
6205
|
+
if (response.headers && response.headers.forEach) {
|
|
6206
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
6207
|
+
}
|
|
6208
|
+
;
|
|
6209
|
+
if (status === 200) {
|
|
6210
|
+
return response.text().then((_responseText) => {
|
|
6211
|
+
let result200 = null;
|
|
6212
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6213
|
+
if (Array.isArray(resultData200)) {
|
|
6214
|
+
result200 = [];
|
|
6215
|
+
for (let item of resultData200)
|
|
6216
|
+
result200.push(DowntimePeriodReasonDto.fromJS(item));
|
|
6217
|
+
}
|
|
6218
|
+
return result200;
|
|
6219
|
+
});
|
|
6220
|
+
}
|
|
6221
|
+
else if (status !== 200 && status !== 204) {
|
|
6222
|
+
return response.text().then((_responseText) => {
|
|
6223
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6224
|
+
});
|
|
6225
|
+
}
|
|
6226
|
+
return Promise.resolve(null);
|
|
6227
|
+
}
|
|
6184
6228
|
listTopDowntimeReasons() {
|
|
6185
6229
|
let url_ = this.baseUrl + "/downtimereasons/topreasons";
|
|
6186
6230
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -23837,6 +23881,7 @@ export class DowntimePeriodReasonDto {
|
|
|
23837
23881
|
this.comment = _data["comment"];
|
|
23838
23882
|
this.companyId = _data["companyId"];
|
|
23839
23883
|
this.reasonId = _data["reasonId"];
|
|
23884
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
23840
23885
|
this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : undefined;
|
|
23841
23886
|
this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : undefined;
|
|
23842
23887
|
}
|
|
@@ -23858,6 +23903,7 @@ export class DowntimePeriodReasonDto {
|
|
|
23858
23903
|
data["comment"] = this.comment;
|
|
23859
23904
|
data["companyId"] = this.companyId;
|
|
23860
23905
|
data["reasonId"] = this.reasonId;
|
|
23906
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
23861
23907
|
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : undefined;
|
|
23862
23908
|
data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : undefined;
|
|
23863
23909
|
return data;
|
|
@@ -29838,6 +29884,7 @@ export class CreateDowntimePeriodReason {
|
|
|
29838
29884
|
this.assetId = _data["assetId"];
|
|
29839
29885
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined;
|
|
29840
29886
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined;
|
|
29887
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
29841
29888
|
this.comment = _data["comment"];
|
|
29842
29889
|
}
|
|
29843
29890
|
}
|
|
@@ -29853,6 +29900,7 @@ export class CreateDowntimePeriodReason {
|
|
|
29853
29900
|
data["assetId"] = this.assetId;
|
|
29854
29901
|
data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined;
|
|
29855
29902
|
data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined;
|
|
29903
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
29856
29904
|
data["comment"] = this.comment;
|
|
29857
29905
|
return data;
|
|
29858
29906
|
}
|
|
@@ -29872,6 +29920,7 @@ export class UpdateDowntimePeriodReasonRequest {
|
|
|
29872
29920
|
this.assetId = _data["assetId"];
|
|
29873
29921
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined;
|
|
29874
29922
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined;
|
|
29923
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
29875
29924
|
this.comment = _data["comment"];
|
|
29876
29925
|
}
|
|
29877
29926
|
}
|
|
@@ -29887,6 +29936,7 @@ export class UpdateDowntimePeriodReasonRequest {
|
|
|
29887
29936
|
data["assetId"] = this.assetId;
|
|
29888
29937
|
data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined;
|
|
29889
29938
|
data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined;
|
|
29939
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
29890
29940
|
data["comment"] = this.comment;
|
|
29891
29941
|
return data;
|
|
29892
29942
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -6453,6 +6453,8 @@ export interface IDowntimeReasonsClient {
|
|
|
6453
6453
|
|
|
6454
6454
|
listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
|
|
6455
6455
|
|
|
6456
|
+
listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
|
|
6457
|
+
|
|
6456
6458
|
listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
|
|
6457
6459
|
|
|
6458
6460
|
createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
|
|
@@ -6632,6 +6634,49 @@ export class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntim
|
|
|
6632
6634
|
return Promise.resolve<DowntimeReasonDto[]>(null as any);
|
|
6633
6635
|
}
|
|
6634
6636
|
|
|
6637
|
+
listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]> {
|
|
6638
|
+
let url_ = this.baseUrl + "/downtimereasons/machine/{id}/active";
|
|
6639
|
+
if (id === undefined || id === null)
|
|
6640
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
6641
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
6642
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
6643
|
+
|
|
6644
|
+
let options_: RequestInit = {
|
|
6645
|
+
method: "GET",
|
|
6646
|
+
headers: {
|
|
6647
|
+
"Accept": "application/json"
|
|
6648
|
+
}
|
|
6649
|
+
};
|
|
6650
|
+
|
|
6651
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
6652
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
6653
|
+
}).then((_response: Response) => {
|
|
6654
|
+
return this.processListActiveDowntimeReasonsForMachine(_response);
|
|
6655
|
+
});
|
|
6656
|
+
}
|
|
6657
|
+
|
|
6658
|
+
protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]> {
|
|
6659
|
+
const status = response.status;
|
|
6660
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6661
|
+
if (status === 200) {
|
|
6662
|
+
return response.text().then((_responseText) => {
|
|
6663
|
+
let result200: any = null;
|
|
6664
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
6665
|
+
if (Array.isArray(resultData200)) {
|
|
6666
|
+
result200 = [] as any;
|
|
6667
|
+
for (let item of resultData200)
|
|
6668
|
+
result200!.push(DowntimePeriodReasonDto.fromJS(item));
|
|
6669
|
+
}
|
|
6670
|
+
return result200;
|
|
6671
|
+
});
|
|
6672
|
+
} else if (status !== 200 && status !== 204) {
|
|
6673
|
+
return response.text().then((_responseText) => {
|
|
6674
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6675
|
+
});
|
|
6676
|
+
}
|
|
6677
|
+
return Promise.resolve<DowntimePeriodReasonDto[]>(null as any);
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6635
6680
|
listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto> {
|
|
6636
6681
|
let url_ = this.baseUrl + "/downtimereasons/topreasons";
|
|
6637
6682
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -25642,11 +25687,12 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
25642
25687
|
reason!: string;
|
|
25643
25688
|
reasonType!: DowntimeReasonTypeDto;
|
|
25644
25689
|
startTime!: Date;
|
|
25645
|
-
endTime
|
|
25690
|
+
endTime?: Date | null;
|
|
25646
25691
|
assetId!: number;
|
|
25647
25692
|
comment?: string | null;
|
|
25648
25693
|
companyId?: string | null;
|
|
25649
25694
|
reasonId!: string;
|
|
25695
|
+
autoCompleteDowntime?: boolean | null;
|
|
25650
25696
|
createdBy?: EmployeeDto | null;
|
|
25651
25697
|
updatedBy?: EmployeeDto | null;
|
|
25652
25698
|
|
|
@@ -25670,6 +25716,7 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
25670
25716
|
this.comment = _data["comment"];
|
|
25671
25717
|
this.companyId = _data["companyId"];
|
|
25672
25718
|
this.reasonId = _data["reasonId"];
|
|
25719
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
25673
25720
|
this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : <any>undefined;
|
|
25674
25721
|
this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : <any>undefined;
|
|
25675
25722
|
}
|
|
@@ -25693,6 +25740,7 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
25693
25740
|
data["comment"] = this.comment;
|
|
25694
25741
|
data["companyId"] = this.companyId;
|
|
25695
25742
|
data["reasonId"] = this.reasonId;
|
|
25743
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
25696
25744
|
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : <any>undefined;
|
|
25697
25745
|
data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : <any>undefined;
|
|
25698
25746
|
return data;
|
|
@@ -25704,11 +25752,12 @@ export interface IDowntimePeriodReasonDto {
|
|
|
25704
25752
|
reason: string;
|
|
25705
25753
|
reasonType: DowntimeReasonTypeDto;
|
|
25706
25754
|
startTime: Date;
|
|
25707
|
-
endTime
|
|
25755
|
+
endTime?: Date | null;
|
|
25708
25756
|
assetId: number;
|
|
25709
25757
|
comment?: string | null;
|
|
25710
25758
|
companyId?: string | null;
|
|
25711
25759
|
reasonId: string;
|
|
25760
|
+
autoCompleteDowntime?: boolean | null;
|
|
25712
25761
|
createdBy?: EmployeeDto | null;
|
|
25713
25762
|
updatedBy?: EmployeeDto | null;
|
|
25714
25763
|
}
|
|
@@ -34497,7 +34546,8 @@ export class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
|
34497
34546
|
reasonId!: string;
|
|
34498
34547
|
assetId!: number;
|
|
34499
34548
|
startTime!: Date;
|
|
34500
|
-
endTime
|
|
34549
|
+
endTime?: Date | null;
|
|
34550
|
+
autoCompleteDowntime?: boolean | null;
|
|
34501
34551
|
comment?: string | null;
|
|
34502
34552
|
|
|
34503
34553
|
constructor(data?: ICreateDowntimePeriodReason) {
|
|
@@ -34515,6 +34565,7 @@ export class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
|
34515
34565
|
this.assetId = _data["assetId"];
|
|
34516
34566
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : <any>undefined;
|
|
34517
34567
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : <any>undefined;
|
|
34568
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
34518
34569
|
this.comment = _data["comment"];
|
|
34519
34570
|
}
|
|
34520
34571
|
}
|
|
@@ -34532,6 +34583,7 @@ export class CreateDowntimePeriodReason implements ICreateDowntimePeriodReason {
|
|
|
34532
34583
|
data["assetId"] = this.assetId;
|
|
34533
34584
|
data["startTime"] = this.startTime ? this.startTime.toISOString() : <any>undefined;
|
|
34534
34585
|
data["endTime"] = this.endTime ? this.endTime.toISOString() : <any>undefined;
|
|
34586
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
34535
34587
|
data["comment"] = this.comment;
|
|
34536
34588
|
return data;
|
|
34537
34589
|
}
|
|
@@ -34541,7 +34593,8 @@ export interface ICreateDowntimePeriodReason {
|
|
|
34541
34593
|
reasonId: string;
|
|
34542
34594
|
assetId: number;
|
|
34543
34595
|
startTime: Date;
|
|
34544
|
-
endTime
|
|
34596
|
+
endTime?: Date | null;
|
|
34597
|
+
autoCompleteDowntime?: boolean | null;
|
|
34545
34598
|
comment?: string | null;
|
|
34546
34599
|
}
|
|
34547
34600
|
|
|
@@ -34550,6 +34603,7 @@ export class UpdateDowntimePeriodReasonRequest implements IUpdateDowntimePeriodR
|
|
|
34550
34603
|
assetId?: number | null;
|
|
34551
34604
|
startTime?: Date | null;
|
|
34552
34605
|
endTime?: Date | null;
|
|
34606
|
+
autoCompleteDowntime?: boolean | null;
|
|
34553
34607
|
comment?: string | null;
|
|
34554
34608
|
|
|
34555
34609
|
constructor(data?: IUpdateDowntimePeriodReasonRequest) {
|
|
@@ -34567,6 +34621,7 @@ export class UpdateDowntimePeriodReasonRequest implements IUpdateDowntimePeriodR
|
|
|
34567
34621
|
this.assetId = _data["assetId"];
|
|
34568
34622
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : <any>undefined;
|
|
34569
34623
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : <any>undefined;
|
|
34624
|
+
this.autoCompleteDowntime = _data["autoCompleteDowntime"];
|
|
34570
34625
|
this.comment = _data["comment"];
|
|
34571
34626
|
}
|
|
34572
34627
|
}
|
|
@@ -34584,6 +34639,7 @@ export class UpdateDowntimePeriodReasonRequest implements IUpdateDowntimePeriodR
|
|
|
34584
34639
|
data["assetId"] = this.assetId;
|
|
34585
34640
|
data["startTime"] = this.startTime ? this.startTime.toISOString() : <any>undefined;
|
|
34586
34641
|
data["endTime"] = this.endTime ? this.endTime.toISOString() : <any>undefined;
|
|
34642
|
+
data["autoCompleteDowntime"] = this.autoCompleteDowntime;
|
|
34587
34643
|
data["comment"] = this.comment;
|
|
34588
34644
|
return data;
|
|
34589
34645
|
}
|
|
@@ -34594,6 +34650,7 @@ export interface IUpdateDowntimePeriodReasonRequest {
|
|
|
34594
34650
|
assetId?: number | null;
|
|
34595
34651
|
startTime?: Date | null;
|
|
34596
34652
|
endTime?: Date | null;
|
|
34653
|
+
autoCompleteDowntime?: boolean | null;
|
|
34597
34654
|
comment?: string | null;
|
|
34598
34655
|
}
|
|
34599
34656
|
|