@ignos/api-client 20260723.192.1-alpha → 20260727.193.1
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 +186 -241
- package/lib/ignosportal-api.js +0 -418
- package/package.json +1 -1
- package/src/ignosportal-api.ts +200 -658
package/src/ignosportal-api.ts
CHANGED
|
@@ -21970,445 +21970,6 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
|
|
|
21970
21970
|
}
|
|
21971
21971
|
}
|
|
21972
21972
|
|
|
21973
|
-
export interface IMesPlannerClient {
|
|
21974
|
-
|
|
21975
|
-
getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
|
|
21976
|
-
|
|
21977
|
-
publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
|
|
21978
|
-
|
|
21979
|
-
updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
|
|
21980
|
-
|
|
21981
|
-
reset(resourceGroupId: string): Promise<PlannerPlanDto>;
|
|
21982
|
-
|
|
21983
|
-
saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
|
|
21984
|
-
|
|
21985
|
-
discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
|
|
21986
|
-
|
|
21987
|
-
getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]>;
|
|
21988
|
-
|
|
21989
|
-
getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
|
|
21990
|
-
|
|
21991
|
-
getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
|
|
21992
|
-
|
|
21993
|
-
setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
|
|
21994
|
-
}
|
|
21995
|
-
|
|
21996
|
-
export class MesPlannerClient extends AuthorizedApiBase implements IMesPlannerClient {
|
|
21997
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21998
|
-
private baseUrl: string;
|
|
21999
|
-
|
|
22000
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22001
|
-
super(configuration);
|
|
22002
|
-
this.http = http ? http : window as any;
|
|
22003
|
-
this.baseUrl = baseUrl ?? "";
|
|
22004
|
-
}
|
|
22005
|
-
|
|
22006
|
-
getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto> {
|
|
22007
|
-
let url_ = this.baseUrl + "/mes/planner/plan?";
|
|
22008
|
-
if (resourceGroupId === null)
|
|
22009
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' cannot be null.");
|
|
22010
|
-
else if (resourceGroupId !== undefined)
|
|
22011
|
-
url_ += "resourceGroupId=" + encodeURIComponent("" + resourceGroupId) + "&";
|
|
22012
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22013
|
-
|
|
22014
|
-
let options_: RequestInit = {
|
|
22015
|
-
method: "GET",
|
|
22016
|
-
headers: {
|
|
22017
|
-
"Accept": "application/json"
|
|
22018
|
-
}
|
|
22019
|
-
};
|
|
22020
|
-
|
|
22021
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22022
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22023
|
-
}).then((_response: Response) => {
|
|
22024
|
-
return this.processGetPlan(_response);
|
|
22025
|
-
});
|
|
22026
|
-
}
|
|
22027
|
-
|
|
22028
|
-
protected processGetPlan(response: Response): Promise<PlannerPlanDto> {
|
|
22029
|
-
const status = response.status;
|
|
22030
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22031
|
-
if (status === 200) {
|
|
22032
|
-
return response.text().then((_responseText) => {
|
|
22033
|
-
let result200: any = null;
|
|
22034
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22035
|
-
return result200;
|
|
22036
|
-
});
|
|
22037
|
-
} else if (status !== 200 && status !== 204) {
|
|
22038
|
-
return response.text().then((_responseText) => {
|
|
22039
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22040
|
-
});
|
|
22041
|
-
}
|
|
22042
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22043
|
-
}
|
|
22044
|
-
|
|
22045
|
-
publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto> {
|
|
22046
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/publish";
|
|
22047
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22048
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22049
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22050
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22051
|
-
|
|
22052
|
-
const content_ = JSON.stringify(request);
|
|
22053
|
-
|
|
22054
|
-
let options_: RequestInit = {
|
|
22055
|
-
body: content_,
|
|
22056
|
-
method: "POST",
|
|
22057
|
-
headers: {
|
|
22058
|
-
"Content-Type": "application/json",
|
|
22059
|
-
"Accept": "application/json"
|
|
22060
|
-
}
|
|
22061
|
-
};
|
|
22062
|
-
|
|
22063
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22064
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22065
|
-
}).then((_response: Response) => {
|
|
22066
|
-
return this.processPublish(_response);
|
|
22067
|
-
});
|
|
22068
|
-
}
|
|
22069
|
-
|
|
22070
|
-
protected processPublish(response: Response): Promise<PlannerPlanDto> {
|
|
22071
|
-
const status = response.status;
|
|
22072
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22073
|
-
if (status === 200) {
|
|
22074
|
-
return response.text().then((_responseText) => {
|
|
22075
|
-
let result200: any = null;
|
|
22076
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22077
|
-
return result200;
|
|
22078
|
-
});
|
|
22079
|
-
} else if (status !== 200 && status !== 204) {
|
|
22080
|
-
return response.text().then((_responseText) => {
|
|
22081
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22082
|
-
});
|
|
22083
|
-
}
|
|
22084
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22085
|
-
}
|
|
22086
|
-
|
|
22087
|
-
updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto> {
|
|
22088
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/sequence";
|
|
22089
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22090
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22091
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22092
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22093
|
-
|
|
22094
|
-
const content_ = JSON.stringify(sequence);
|
|
22095
|
-
|
|
22096
|
-
let options_: RequestInit = {
|
|
22097
|
-
body: content_,
|
|
22098
|
-
method: "PUT",
|
|
22099
|
-
headers: {
|
|
22100
|
-
"Content-Type": "application/json",
|
|
22101
|
-
"Accept": "application/json"
|
|
22102
|
-
}
|
|
22103
|
-
};
|
|
22104
|
-
|
|
22105
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22106
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22107
|
-
}).then((_response: Response) => {
|
|
22108
|
-
return this.processUpdateSequence(_response);
|
|
22109
|
-
});
|
|
22110
|
-
}
|
|
22111
|
-
|
|
22112
|
-
protected processUpdateSequence(response: Response): Promise<PlannerPlanDto> {
|
|
22113
|
-
const status = response.status;
|
|
22114
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22115
|
-
if (status === 200) {
|
|
22116
|
-
return response.text().then((_responseText) => {
|
|
22117
|
-
let result200: any = null;
|
|
22118
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22119
|
-
return result200;
|
|
22120
|
-
});
|
|
22121
|
-
} else if (status !== 200 && status !== 204) {
|
|
22122
|
-
return response.text().then((_responseText) => {
|
|
22123
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22124
|
-
});
|
|
22125
|
-
}
|
|
22126
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22127
|
-
}
|
|
22128
|
-
|
|
22129
|
-
reset(resourceGroupId: string): Promise<PlannerPlanDto> {
|
|
22130
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/reset";
|
|
22131
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22132
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22133
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22134
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22135
|
-
|
|
22136
|
-
let options_: RequestInit = {
|
|
22137
|
-
method: "POST",
|
|
22138
|
-
headers: {
|
|
22139
|
-
"Accept": "application/json"
|
|
22140
|
-
}
|
|
22141
|
-
};
|
|
22142
|
-
|
|
22143
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22144
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22145
|
-
}).then((_response: Response) => {
|
|
22146
|
-
return this.processReset(_response);
|
|
22147
|
-
});
|
|
22148
|
-
}
|
|
22149
|
-
|
|
22150
|
-
protected processReset(response: Response): Promise<PlannerPlanDto> {
|
|
22151
|
-
const status = response.status;
|
|
22152
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22153
|
-
if (status === 200) {
|
|
22154
|
-
return response.text().then((_responseText) => {
|
|
22155
|
-
let result200: any = null;
|
|
22156
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22157
|
-
return result200;
|
|
22158
|
-
});
|
|
22159
|
-
} else if (status !== 200 && status !== 204) {
|
|
22160
|
-
return response.text().then((_responseText) => {
|
|
22161
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22162
|
-
});
|
|
22163
|
-
}
|
|
22164
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22165
|
-
}
|
|
22166
|
-
|
|
22167
|
-
saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto> {
|
|
22168
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
|
|
22169
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22170
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22171
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22172
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22173
|
-
|
|
22174
|
-
const content_ = JSON.stringify(sequence);
|
|
22175
|
-
|
|
22176
|
-
let options_: RequestInit = {
|
|
22177
|
-
body: content_,
|
|
22178
|
-
method: "POST",
|
|
22179
|
-
headers: {
|
|
22180
|
-
"Content-Type": "application/json",
|
|
22181
|
-
"Accept": "application/json"
|
|
22182
|
-
}
|
|
22183
|
-
};
|
|
22184
|
-
|
|
22185
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22186
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22187
|
-
}).then((_response: Response) => {
|
|
22188
|
-
return this.processSaveDraft(_response);
|
|
22189
|
-
});
|
|
22190
|
-
}
|
|
22191
|
-
|
|
22192
|
-
protected processSaveDraft(response: Response): Promise<PlannerPlanDto> {
|
|
22193
|
-
const status = response.status;
|
|
22194
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22195
|
-
if (status === 200) {
|
|
22196
|
-
return response.text().then((_responseText) => {
|
|
22197
|
-
let result200: any = null;
|
|
22198
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22199
|
-
return result200;
|
|
22200
|
-
});
|
|
22201
|
-
} else if (status !== 200 && status !== 204) {
|
|
22202
|
-
return response.text().then((_responseText) => {
|
|
22203
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22204
|
-
});
|
|
22205
|
-
}
|
|
22206
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22207
|
-
}
|
|
22208
|
-
|
|
22209
|
-
discardDraft(resourceGroupId: string): Promise<PlannerPlanDto> {
|
|
22210
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
|
|
22211
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22212
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22213
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22214
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22215
|
-
|
|
22216
|
-
let options_: RequestInit = {
|
|
22217
|
-
method: "DELETE",
|
|
22218
|
-
headers: {
|
|
22219
|
-
"Accept": "application/json"
|
|
22220
|
-
}
|
|
22221
|
-
};
|
|
22222
|
-
|
|
22223
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22224
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22225
|
-
}).then((_response: Response) => {
|
|
22226
|
-
return this.processDiscardDraft(_response);
|
|
22227
|
-
});
|
|
22228
|
-
}
|
|
22229
|
-
|
|
22230
|
-
protected processDiscardDraft(response: Response): Promise<PlannerPlanDto> {
|
|
22231
|
-
const status = response.status;
|
|
22232
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22233
|
-
if (status === 200) {
|
|
22234
|
-
return response.text().then((_responseText) => {
|
|
22235
|
-
let result200: any = null;
|
|
22236
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22237
|
-
return result200;
|
|
22238
|
-
});
|
|
22239
|
-
} else if (status !== 200 && status !== 204) {
|
|
22240
|
-
return response.text().then((_responseText) => {
|
|
22241
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22242
|
-
});
|
|
22243
|
-
}
|
|
22244
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22245
|
-
}
|
|
22246
|
-
|
|
22247
|
-
getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]> {
|
|
22248
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/capacity?";
|
|
22249
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22250
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22251
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22252
|
-
if (from === null)
|
|
22253
|
-
throw new globalThis.Error("The parameter 'from' cannot be null.");
|
|
22254
|
-
else if (from !== undefined)
|
|
22255
|
-
url_ += "from=" + encodeURIComponent(from ? "" + from.toISOString() : "") + "&";
|
|
22256
|
-
if (to === null)
|
|
22257
|
-
throw new globalThis.Error("The parameter 'to' cannot be null.");
|
|
22258
|
-
else if (to !== undefined)
|
|
22259
|
-
url_ += "to=" + encodeURIComponent(to ? "" + to.toISOString() : "") + "&";
|
|
22260
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22261
|
-
|
|
22262
|
-
let options_: RequestInit = {
|
|
22263
|
-
method: "GET",
|
|
22264
|
-
headers: {
|
|
22265
|
-
"Accept": "application/json"
|
|
22266
|
-
}
|
|
22267
|
-
};
|
|
22268
|
-
|
|
22269
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22270
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22271
|
-
}).then((_response: Response) => {
|
|
22272
|
-
return this.processGetCapacity(_response);
|
|
22273
|
-
});
|
|
22274
|
-
}
|
|
22275
|
-
|
|
22276
|
-
protected processGetCapacity(response: Response): Promise<WeekCapacityDto[]> {
|
|
22277
|
-
const status = response.status;
|
|
22278
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22279
|
-
if (status === 200) {
|
|
22280
|
-
return response.text().then((_responseText) => {
|
|
22281
|
-
let result200: any = null;
|
|
22282
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as WeekCapacityDto[];
|
|
22283
|
-
return result200;
|
|
22284
|
-
});
|
|
22285
|
-
} else if (status !== 200 && status !== 204) {
|
|
22286
|
-
return response.text().then((_responseText) => {
|
|
22287
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22288
|
-
});
|
|
22289
|
-
}
|
|
22290
|
-
return Promise.resolve<WeekCapacityDto[]>(null as any);
|
|
22291
|
-
}
|
|
22292
|
-
|
|
22293
|
-
getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]> {
|
|
22294
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/versions";
|
|
22295
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22296
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22297
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22298
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22299
|
-
|
|
22300
|
-
let options_: RequestInit = {
|
|
22301
|
-
method: "GET",
|
|
22302
|
-
headers: {
|
|
22303
|
-
"Accept": "application/json"
|
|
22304
|
-
}
|
|
22305
|
-
};
|
|
22306
|
-
|
|
22307
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22308
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22309
|
-
}).then((_response: Response) => {
|
|
22310
|
-
return this.processGetVersions(_response);
|
|
22311
|
-
});
|
|
22312
|
-
}
|
|
22313
|
-
|
|
22314
|
-
protected processGetVersions(response: Response): Promise<PlannerPlanEventDto[]> {
|
|
22315
|
-
const status = response.status;
|
|
22316
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22317
|
-
if (status === 200) {
|
|
22318
|
-
return response.text().then((_responseText) => {
|
|
22319
|
-
let result200: any = null;
|
|
22320
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanEventDto[];
|
|
22321
|
-
return result200;
|
|
22322
|
-
});
|
|
22323
|
-
} else if (status !== 200 && status !== 204) {
|
|
22324
|
-
return response.text().then((_responseText) => {
|
|
22325
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22326
|
-
});
|
|
22327
|
-
}
|
|
22328
|
-
return Promise.resolve<PlannerPlanEventDto[]>(null as any);
|
|
22329
|
-
}
|
|
22330
|
-
|
|
22331
|
-
getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto> {
|
|
22332
|
-
let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/versions/{eventId}";
|
|
22333
|
-
if (resourceGroupId === undefined || resourceGroupId === null)
|
|
22334
|
-
throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
|
|
22335
|
-
url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
|
|
22336
|
-
if (eventId === undefined || eventId === null)
|
|
22337
|
-
throw new globalThis.Error("The parameter 'eventId' must be defined.");
|
|
22338
|
-
url_ = url_.replace("{eventId}", encodeURIComponent("" + eventId));
|
|
22339
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22340
|
-
|
|
22341
|
-
let options_: RequestInit = {
|
|
22342
|
-
method: "GET",
|
|
22343
|
-
headers: {
|
|
22344
|
-
"Accept": "application/json"
|
|
22345
|
-
}
|
|
22346
|
-
};
|
|
22347
|
-
|
|
22348
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22349
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22350
|
-
}).then((_response: Response) => {
|
|
22351
|
-
return this.processGetVersion(_response);
|
|
22352
|
-
});
|
|
22353
|
-
}
|
|
22354
|
-
|
|
22355
|
-
protected processGetVersion(response: Response): Promise<PlannerPlanDto> {
|
|
22356
|
-
const status = response.status;
|
|
22357
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22358
|
-
if (status === 200) {
|
|
22359
|
-
return response.text().then((_responseText) => {
|
|
22360
|
-
let result200: any = null;
|
|
22361
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
|
|
22362
|
-
return result200;
|
|
22363
|
-
});
|
|
22364
|
-
} else if (status !== 200 && status !== 204) {
|
|
22365
|
-
return response.text().then((_responseText) => {
|
|
22366
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22367
|
-
});
|
|
22368
|
-
}
|
|
22369
|
-
return Promise.resolve<PlannerPlanDto>(null as any);
|
|
22370
|
-
}
|
|
22371
|
-
|
|
22372
|
-
setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus> {
|
|
22373
|
-
let url_ = this.baseUrl + "/mes/planner/operations/program-status";
|
|
22374
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22375
|
-
|
|
22376
|
-
const content_ = JSON.stringify(command);
|
|
22377
|
-
|
|
22378
|
-
let options_: RequestInit = {
|
|
22379
|
-
body: content_,
|
|
22380
|
-
method: "PUT",
|
|
22381
|
-
headers: {
|
|
22382
|
-
"Content-Type": "application/json",
|
|
22383
|
-
"Accept": "application/json"
|
|
22384
|
-
}
|
|
22385
|
-
};
|
|
22386
|
-
|
|
22387
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22388
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22389
|
-
}).then((_response: Response) => {
|
|
22390
|
-
return this.processSetProgramStatus(_response);
|
|
22391
|
-
});
|
|
22392
|
-
}
|
|
22393
|
-
|
|
22394
|
-
protected processSetProgramStatus(response: Response): Promise<ProgramStatus> {
|
|
22395
|
-
const status = response.status;
|
|
22396
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22397
|
-
if (status === 200) {
|
|
22398
|
-
return response.text().then((_responseText) => {
|
|
22399
|
-
let result200: any = null;
|
|
22400
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProgramStatus;
|
|
22401
|
-
return result200;
|
|
22402
|
-
});
|
|
22403
|
-
} else if (status !== 200 && status !== 204) {
|
|
22404
|
-
return response.text().then((_responseText) => {
|
|
22405
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22406
|
-
});
|
|
22407
|
-
}
|
|
22408
|
-
return Promise.resolve<ProgramStatus>(null as any);
|
|
22409
|
-
}
|
|
22410
|
-
}
|
|
22411
|
-
|
|
22412
21973
|
export interface IMesProductionOrderAttachmentClient {
|
|
22413
21974
|
|
|
22414
21975
|
/**
|
|
@@ -32954,6 +32515,7 @@ export interface MrbCompanySettingsDto {
|
|
|
32954
32515
|
detailedTransactionsMissingInErp: boolean;
|
|
32955
32516
|
allowMaterialReplacementOnConsumptions: boolean;
|
|
32956
32517
|
nonSplittableTraceUnits: string[];
|
|
32518
|
+
disableTraceEditing: boolean;
|
|
32957
32519
|
}
|
|
32958
32520
|
|
|
32959
32521
|
export interface UpsertMrbCompanySettings {
|
|
@@ -32972,6 +32534,7 @@ export interface UpsertMrbCompanySettings {
|
|
|
32972
32534
|
detailedTransactionsMissingInErp: boolean;
|
|
32973
32535
|
allowMaterialReplacementOnConsumptions: boolean;
|
|
32974
32536
|
nonSplittableTraceUnits: string[];
|
|
32537
|
+
disableTraceEditing: boolean;
|
|
32975
32538
|
}
|
|
32976
32539
|
|
|
32977
32540
|
export interface TraceDto {
|
|
@@ -35637,85 +35200,6 @@ export interface LabelId {
|
|
|
35637
35200
|
trackingId?: string | null;
|
|
35638
35201
|
}
|
|
35639
35202
|
|
|
35640
|
-
export interface PlannerPlanDto {
|
|
35641
|
-
resourceGroupId: string;
|
|
35642
|
-
sequence: PlannerOperationDto[];
|
|
35643
|
-
lockedCount: number;
|
|
35644
|
-
planSavedAt?: Date | null;
|
|
35645
|
-
isDraft: boolean;
|
|
35646
|
-
publishedETag?: string | null;
|
|
35647
|
-
weeklyCapacities: WeekCapacityDto[];
|
|
35648
|
-
}
|
|
35649
|
-
|
|
35650
|
-
export interface PlannerOperationDto {
|
|
35651
|
-
id: string;
|
|
35652
|
-
productionOrderNumber: string;
|
|
35653
|
-
operation: number;
|
|
35654
|
-
operationName: string;
|
|
35655
|
-
plannedStart: Date;
|
|
35656
|
-
plannedEnd?: Date | null;
|
|
35657
|
-
status: OperationStatusDto;
|
|
35658
|
-
resourceId: string;
|
|
35659
|
-
resourceName: string;
|
|
35660
|
-
resourceDepartmentNumber?: string | null;
|
|
35661
|
-
resourceDepartmentName?: string | null;
|
|
35662
|
-
partNumber: string;
|
|
35663
|
-
partName?: string | null;
|
|
35664
|
-
partMaterial?: string | null;
|
|
35665
|
-
quantity: number;
|
|
35666
|
-
producedQuantity: number;
|
|
35667
|
-
totalPlannedHours?: number;
|
|
35668
|
-
totalUsedHours?: number;
|
|
35669
|
-
customerName?: string | null;
|
|
35670
|
-
project?: WorkOrderProjectDto | null;
|
|
35671
|
-
sequenceNumber: number;
|
|
35672
|
-
isManuallyLocked: boolean;
|
|
35673
|
-
weekGroup: string;
|
|
35674
|
-
programStatus?: ProgramStatus | null;
|
|
35675
|
-
}
|
|
35676
|
-
|
|
35677
|
-
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
35678
|
-
|
|
35679
|
-
export interface WeekCapacityDto {
|
|
35680
|
-
weekGroup: string;
|
|
35681
|
-
weekStart: Date;
|
|
35682
|
-
capacityHours: number;
|
|
35683
|
-
}
|
|
35684
|
-
|
|
35685
|
-
export interface PublishPlanRequest {
|
|
35686
|
-
/** ETag of the published plan the caller last read, used for optimistic
|
|
35687
|
-
concurrency. Null if the caller never observed a published plan. */
|
|
35688
|
-
publishedETag?: string | null;
|
|
35689
|
-
comment?: string | null;
|
|
35690
|
-
/** The caller's unsaved working sequence to publish. When null, the
|
|
35691
|
-
persisted active plan (draft, else published) is published instead. */
|
|
35692
|
-
sequence?: PlannerSequenceInput | null;
|
|
35693
|
-
}
|
|
35694
|
-
|
|
35695
|
-
export interface PlannerSequenceInput {
|
|
35696
|
-
orderedOperationKeys: string[];
|
|
35697
|
-
lockedCount: number;
|
|
35698
|
-
weekGroups?: { [key: string]: string; } | null;
|
|
35699
|
-
}
|
|
35700
|
-
|
|
35701
|
-
export interface PlannerPlanEventDto {
|
|
35702
|
-
id: string;
|
|
35703
|
-
eventType: PlannerEventType;
|
|
35704
|
-
occurredAt: Date;
|
|
35705
|
-
by?: string | null;
|
|
35706
|
-
comment?: string | null;
|
|
35707
|
-
operationCount: number;
|
|
35708
|
-
lockedCount: number;
|
|
35709
|
-
}
|
|
35710
|
-
|
|
35711
|
-
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
35712
|
-
|
|
35713
|
-
export interface SetProgramStatus {
|
|
35714
|
-
workOrderId?: string;
|
|
35715
|
-
operationNumber?: number;
|
|
35716
|
-
status?: ProgramStatus;
|
|
35717
|
-
}
|
|
35718
|
-
|
|
35719
35203
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
35720
35204
|
|
|
35721
35205
|
export interface WorkOrderAttachmentDto {
|
|
@@ -36014,7 +35498,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
36014
35498
|
materialPickStatus: MaterialPickStatus;
|
|
36015
35499
|
productionStatus: OperationStatusDto;
|
|
36016
35500
|
setupStatus?: OperationStatusDto | null;
|
|
36017
|
-
programStatus?: ProgramStatus | null;
|
|
36018
35501
|
}
|
|
36019
35502
|
|
|
36020
35503
|
export interface SurroundingOperationDto {
|
|
@@ -36389,7 +35872,6 @@ export interface ImaCertificateTypeRequirementsDto {
|
|
|
36389
35872
|
productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationRequirementsDto;
|
|
36390
35873
|
testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
|
|
36391
35874
|
testResults: ImaCertificateTypeTestResultsRequirementsDto;
|
|
36392
|
-
documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
|
|
36393
35875
|
}
|
|
36394
35876
|
|
|
36395
35877
|
export interface ImaCdfEntityReadBase {
|
|
@@ -36399,6 +35881,7 @@ export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEnt
|
|
|
36399
35881
|
manufacturer?: boolean;
|
|
36400
35882
|
address?: boolean;
|
|
36401
35883
|
contact?: boolean;
|
|
35884
|
+
steelPlant?: boolean;
|
|
36402
35885
|
}
|
|
36403
35886
|
|
|
36404
35887
|
export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
|
|
@@ -36420,6 +35903,7 @@ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntit
|
|
|
36420
35903
|
}
|
|
36421
35904
|
|
|
36422
35905
|
export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
|
|
35906
|
+
certificateType?: boolean;
|
|
36423
35907
|
certificateOfCompliance?: boolean;
|
|
36424
35908
|
inspectionCertificate?: boolean;
|
|
36425
35909
|
}
|
|
@@ -36432,7 +35916,8 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto ext
|
|
|
36432
35916
|
dimensionsOrWeight?: boolean;
|
|
36433
35917
|
batchNumber?: boolean;
|
|
36434
35918
|
heatNumber?: boolean;
|
|
36435
|
-
|
|
35919
|
+
relevantStandard?: boolean;
|
|
35920
|
+
steelMaking?: boolean;
|
|
36436
35921
|
}
|
|
36437
35922
|
|
|
36438
35923
|
export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
|
|
@@ -36440,28 +35925,14 @@ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto exten
|
|
|
36440
35925
|
}
|
|
36441
35926
|
|
|
36442
35927
|
export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
|
|
36443
|
-
|
|
36444
|
-
|
|
35928
|
+
tensileTests?: boolean;
|
|
35929
|
+
hardnessTests?: boolean;
|
|
36445
35930
|
impactTests?: boolean;
|
|
35931
|
+
chemicalAnalysis?: boolean;
|
|
36446
35932
|
corrosionTests?: boolean;
|
|
36447
35933
|
ferriteContentAndMicrostructure?: boolean;
|
|
36448
35934
|
}
|
|
36449
35935
|
|
|
36450
|
-
export interface ImaCertificateTypeDocumentTypesRequirementsDto extends ImaCdfEntityReadBase {
|
|
36451
|
-
heatTreatmentCertificate?: boolean;
|
|
36452
|
-
ultrasonicControlCertificate?: boolean;
|
|
36453
|
-
liquidPenetrantCertificate?: boolean;
|
|
36454
|
-
testReport?: boolean;
|
|
36455
|
-
dimensionalReport?: boolean;
|
|
36456
|
-
dyePenetrantReport?: boolean;
|
|
36457
|
-
visualReport?: boolean;
|
|
36458
|
-
certificateOfAnalyticalAndMechanicalTests?: boolean;
|
|
36459
|
-
certificateOfTest?: boolean;
|
|
36460
|
-
technicalReport?: boolean;
|
|
36461
|
-
microExaminationReport?: boolean;
|
|
36462
|
-
radiologicalReport?: boolean;
|
|
36463
|
-
}
|
|
36464
|
-
|
|
36465
35936
|
export interface ImaCreateOrCopyCertificateTypeRequestDto {
|
|
36466
35937
|
name: string;
|
|
36467
35938
|
revision: string;
|
|
@@ -36484,13 +35955,13 @@ export interface ImaCertificateTypeRequirementsUpdateDto {
|
|
|
36484
35955
|
productAndOrderInformation?: ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
|
|
36485
35956
|
testMethodsAndReferences?: ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
|
|
36486
35957
|
testResults?: ImaCertificateTypeTestResultsRequirementsUpdateDto | null;
|
|
36487
|
-
documentTypes?: ImaCertificateTypeDocumentTypesRequirementsUpdateDto | null;
|
|
36488
35958
|
}
|
|
36489
35959
|
|
|
36490
35960
|
export interface ImaCertificateTypeManufacturerRequirementsUpdateDto {
|
|
36491
35961
|
manufacturer?: boolean | null;
|
|
36492
35962
|
address?: boolean | null;
|
|
36493
35963
|
contact?: boolean | null;
|
|
35964
|
+
steelPlant?: boolean | null;
|
|
36494
35965
|
}
|
|
36495
35966
|
|
|
36496
35967
|
export interface ImaCertificateTypeSignatureRequirementsUpdateDto {
|
|
@@ -36512,6 +35983,7 @@ export interface ImaCertificateTypeThirdPartyRequirementsUpdateDto {
|
|
|
36512
35983
|
}
|
|
36513
35984
|
|
|
36514
35985
|
export interface ImaCertificateTypeCertificationRequirementsUpdateDto {
|
|
35986
|
+
certificateType?: boolean | null;
|
|
36515
35987
|
certificateOfCompliance?: boolean | null;
|
|
36516
35988
|
inspectionCertificate?: boolean | null;
|
|
36517
35989
|
}
|
|
@@ -36524,7 +35996,8 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateD
|
|
|
36524
35996
|
dimensionsOrWeight?: boolean | null;
|
|
36525
35997
|
batchNumber?: boolean | null;
|
|
36526
35998
|
heatNumber?: boolean | null;
|
|
36527
|
-
|
|
35999
|
+
relevantStandard?: boolean | null;
|
|
36000
|
+
steelMaking?: boolean | null;
|
|
36528
36001
|
}
|
|
36529
36002
|
|
|
36530
36003
|
export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
|
|
@@ -36532,28 +36005,14 @@ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto
|
|
|
36532
36005
|
}
|
|
36533
36006
|
|
|
36534
36007
|
export interface ImaCertificateTypeTestResultsRequirementsUpdateDto {
|
|
36535
|
-
|
|
36536
|
-
|
|
36008
|
+
tensileTests?: boolean | null;
|
|
36009
|
+
hardnessTests?: boolean | null;
|
|
36537
36010
|
impactTests?: boolean | null;
|
|
36011
|
+
chemicalAnalysis?: boolean | null;
|
|
36538
36012
|
corrosionTests?: boolean | null;
|
|
36539
36013
|
ferriteContentAndMicrostructure?: boolean | null;
|
|
36540
36014
|
}
|
|
36541
36015
|
|
|
36542
|
-
export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
|
|
36543
|
-
heatTreatmentCertificate?: boolean | null;
|
|
36544
|
-
ultrasonicControlCertificate?: boolean | null;
|
|
36545
|
-
liquidPenetrantCertificate?: boolean | null;
|
|
36546
|
-
testReport?: boolean | null;
|
|
36547
|
-
dimensionalReport?: boolean | null;
|
|
36548
|
-
dyePenetrantReport?: boolean | null;
|
|
36549
|
-
visualReport?: boolean | null;
|
|
36550
|
-
certificateOfAnalyticalAndMechanicalTests?: boolean | null;
|
|
36551
|
-
certificateOfTest?: boolean | null;
|
|
36552
|
-
technicalReport?: boolean | null;
|
|
36553
|
-
microExaminationReport?: boolean | null;
|
|
36554
|
-
radiologicalReport?: boolean | null;
|
|
36555
|
-
}
|
|
36556
|
-
|
|
36557
36016
|
export interface ImaCertificateTypeLiteDto {
|
|
36558
36017
|
certificateTypeId: string;
|
|
36559
36018
|
version: number;
|
|
@@ -36628,14 +36087,13 @@ export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
|
|
|
36628
36087
|
certification: ImaCertificateTypeCertificationResultsDto;
|
|
36629
36088
|
productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationResultsDto;
|
|
36630
36089
|
testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesResultsDto;
|
|
36631
|
-
testResults: ImaCertificateTypeTestResultsResultsDto;
|
|
36632
|
-
documentTypes: ImaCertificateTypeDocumentTypesResultsDto;
|
|
36633
36090
|
}
|
|
36634
36091
|
|
|
36635
36092
|
export interface ImaCertificateTypeManufacturerResultsDto extends ImaCdfEntityReadBase {
|
|
36636
36093
|
manufacturer?: ImaCertificateTypeResultLine | null;
|
|
36637
36094
|
address?: ImaCertificateTypeResultLine | null;
|
|
36638
36095
|
contact?: ImaCertificateTypeResultLine | null;
|
|
36096
|
+
steelPlant?: ImaCertificateTypeResultLine | null;
|
|
36639
36097
|
}
|
|
36640
36098
|
|
|
36641
36099
|
export interface ImaCertificateTypeResultLine extends ImaCdfEntityReadBase {
|
|
@@ -36672,10 +36130,20 @@ export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityRead
|
|
|
36672
36130
|
}
|
|
36673
36131
|
|
|
36674
36132
|
export interface ImaCertificateTypeCertificationResultsDto extends ImaCdfEntityReadBase {
|
|
36675
|
-
|
|
36133
|
+
certificateType?: ImaCertificateTypeResultLine | null;
|
|
36134
|
+
certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
|
|
36676
36135
|
inspectionCertificate?: ImaCertificateTypeResultLine | null;
|
|
36677
36136
|
}
|
|
36678
36137
|
|
|
36138
|
+
export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
|
|
36139
|
+
status?: string | null;
|
|
36140
|
+
documentId?: string | null;
|
|
36141
|
+
acceptable?: boolean | null;
|
|
36142
|
+
standards: string[];
|
|
36143
|
+
summary?: string | null;
|
|
36144
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36145
|
+
}
|
|
36146
|
+
|
|
36679
36147
|
export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends ImaCdfEntityReadBase {
|
|
36680
36148
|
productDescription?: ImaCertificateTypeResultLine | null;
|
|
36681
36149
|
materialGrade?: ImaCertificateTypeResultLine | null;
|
|
@@ -36684,41 +36152,32 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends
|
|
|
36684
36152
|
dimensionsOrWeight?: ImaCertificateTypeResultLine | null;
|
|
36685
36153
|
batchNumber?: ImaCertificateTypeResultLine | null;
|
|
36686
36154
|
heatNumber?: ImaCertificateTypeResultLine | null;
|
|
36687
|
-
|
|
36688
|
-
|
|
36689
|
-
|
|
36690
|
-
export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
|
|
36691
|
-
usedStandards?: ImaCertificateTypeResultLine | null;
|
|
36155
|
+
relevantStandard?: ImaCertificateTypeResultLine | null;
|
|
36156
|
+
steelMaking: ImaSteelMakingResultDto;
|
|
36692
36157
|
}
|
|
36693
36158
|
|
|
36694
|
-
export interface
|
|
36695
|
-
|
|
36696
|
-
|
|
36697
|
-
|
|
36698
|
-
corrosionTests?: ImaCertificateTypeResultLine | null;
|
|
36699
|
-
ferriteContentAndMicrostructure?: ImaCertificateTypeResultLine | null;
|
|
36159
|
+
export interface ImaSteelMakingResultDto extends ImaCdfEntityReadBase {
|
|
36160
|
+
raw?: string[] | null;
|
|
36161
|
+
chain?: string[] | null;
|
|
36162
|
+
unmatched?: string[] | null;
|
|
36700
36163
|
}
|
|
36701
36164
|
|
|
36702
|
-
export interface
|
|
36703
|
-
|
|
36704
|
-
ultrasonicControlCertificate?: ImaCertificateTypeResultLine | null;
|
|
36705
|
-
liquidPenetrantCertificate?: ImaCertificateTypeResultLine | null;
|
|
36706
|
-
testReport?: ImaCertificateTypeResultLine | null;
|
|
36707
|
-
dimensionalReport?: ImaCertificateTypeResultLine | null;
|
|
36708
|
-
dyePenetrantReport?: ImaCertificateTypeResultLine | null;
|
|
36709
|
-
visualReport?: ImaCertificateTypeResultLine | null;
|
|
36710
|
-
certificateOfAnalyticalAndMechanicalTests?: ImaCertificateTypeResultLine | null;
|
|
36711
|
-
certificateOfTest?: ImaCertificateTypeResultLine | null;
|
|
36712
|
-
technicalReport?: ImaCertificateTypeResultLine | null;
|
|
36713
|
-
microExaminationReport?: ImaCertificateTypeResultLine | null;
|
|
36714
|
-
radiologicalReport?: ImaCertificateTypeResultLine | null;
|
|
36165
|
+
export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
|
|
36166
|
+
usedStandards?: ImaCertificateTypeResultLine | null;
|
|
36715
36167
|
}
|
|
36716
36168
|
|
|
36717
36169
|
export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
|
|
36718
36170
|
chemistry: ImaSpecificationChemistryResultsDto;
|
|
36719
36171
|
mechanical: ImaSpecificationMechanicalResultsDto;
|
|
36720
36172
|
ferrite: ImaSpecificationFerriteResultsDto;
|
|
36721
|
-
|
|
36173
|
+
chemicalAnalysis: ImaChemicalAnalysisResultDto[];
|
|
36174
|
+
tensileTests: ImaTensileTestResultDto[];
|
|
36175
|
+
hardnessTests: ImaHardnessTestResultDto[];
|
|
36176
|
+
impactTests: ImaImpactTestResultDto[];
|
|
36177
|
+
corrosionTests: ImaCorrosionTestResultDto[];
|
|
36178
|
+
ferriteContentAndMicrostructure: ImaFerriteResultDto[];
|
|
36179
|
+
heatTreatments: ImaHeatTreatmentResultDto[];
|
|
36180
|
+
documentTypes: ImaDocumentTypesResultsDto;
|
|
36722
36181
|
}
|
|
36723
36182
|
|
|
36724
36183
|
export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBase {
|
|
@@ -36768,30 +36227,146 @@ export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBa
|
|
|
36768
36227
|
measurementMethod?: string | null;
|
|
36769
36228
|
}
|
|
36770
36229
|
|
|
36771
|
-
export interface
|
|
36772
|
-
|
|
36773
|
-
|
|
36774
|
-
|
|
36230
|
+
export interface ImaChemicalAnalysisResultDto extends ImaCdfEntityReadBase {
|
|
36231
|
+
sampleReference?: string | null;
|
|
36232
|
+
analysisType?: string | null;
|
|
36233
|
+
elements: ImaChemicalElementResultDto[];
|
|
36234
|
+
indices: ImaChemicalIndexResultDto[];
|
|
36235
|
+
testStandards: string[];
|
|
36236
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36237
|
+
}
|
|
36238
|
+
|
|
36239
|
+
export interface ImaChemicalElementResultDto extends ImaCdfEntityReadBase {
|
|
36240
|
+
symbol?: string | null;
|
|
36241
|
+
value?: ImaResultValueDto | null;
|
|
36242
|
+
}
|
|
36243
|
+
|
|
36244
|
+
export interface ImaResultValueDto extends ImaCdfEntityReadBase {
|
|
36245
|
+
readValue?: string | null;
|
|
36246
|
+
value?: number | null;
|
|
36247
|
+
unit?: string | null;
|
|
36248
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36249
|
+
}
|
|
36250
|
+
|
|
36251
|
+
export interface ImaChemicalIndexResultDto extends ImaCdfEntityReadBase {
|
|
36252
|
+
name?: string | null;
|
|
36253
|
+
value?: number | null;
|
|
36254
|
+
}
|
|
36255
|
+
|
|
36256
|
+
export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
|
|
36257
|
+
sampleReference?: string | null;
|
|
36258
|
+
orientation?: string | null;
|
|
36259
|
+
testLocation?: string | null;
|
|
36260
|
+
temperature?: ImaResultValueDto | null;
|
|
36261
|
+
roomTemperature?: boolean | null;
|
|
36262
|
+
yieldStrengths: ImaYieldStrengthResultDto[];
|
|
36263
|
+
tensileStrength?: ImaResultValueDto | null;
|
|
36264
|
+
yieldTensileRatio?: number | null;
|
|
36265
|
+
elongations: ImaElongationResultDto[];
|
|
36266
|
+
reductionOfArea?: ImaResultValueDto | null;
|
|
36267
|
+
testStandards: string[];
|
|
36268
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36269
|
+
}
|
|
36270
|
+
|
|
36271
|
+
export interface ImaYieldStrengthResultDto extends ImaCdfEntityReadBase {
|
|
36272
|
+
label?: string | null;
|
|
36273
|
+
value?: ImaResultValueDto | null;
|
|
36775
36274
|
}
|
|
36776
36275
|
|
|
36777
|
-
export interface
|
|
36778
|
-
|
|
36779
|
-
|
|
36780
|
-
duration?: ImaSpecificationResultLineDto | null;
|
|
36276
|
+
export interface ImaElongationResultDto extends ImaCdfEntityReadBase {
|
|
36277
|
+
gauge?: string | null;
|
|
36278
|
+
value?: ImaResultValueDto | null;
|
|
36781
36279
|
}
|
|
36782
36280
|
|
|
36783
|
-
export interface
|
|
36784
|
-
|
|
36785
|
-
|
|
36786
|
-
|
|
36281
|
+
export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
|
|
36282
|
+
sampleReference?: string | null;
|
|
36283
|
+
orientation?: string | null;
|
|
36284
|
+
testLocation?: string | null;
|
|
36285
|
+
readings: ImaHardnessReadingResultDto[];
|
|
36286
|
+
testStandards: string[];
|
|
36287
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36288
|
+
}
|
|
36289
|
+
|
|
36290
|
+
export interface ImaHardnessReadingResultDto extends ImaCdfEntityReadBase {
|
|
36291
|
+
label?: string | null;
|
|
36292
|
+
scale?: string | null;
|
|
36293
|
+
value?: number | null;
|
|
36294
|
+
}
|
|
36295
|
+
|
|
36296
|
+
export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
|
|
36297
|
+
sampleReference?: string | null;
|
|
36298
|
+
orientation?: string | null;
|
|
36299
|
+
testLocation?: string | null;
|
|
36300
|
+
temperature?: ImaResultValueDto | null;
|
|
36301
|
+
roomTemperature?: boolean | null;
|
|
36302
|
+
testLabel?: string | null;
|
|
36303
|
+
notchType?: string | null;
|
|
36304
|
+
specimenSize?: string | null;
|
|
36305
|
+
individualValues: ImaResultValueDto[];
|
|
36306
|
+
reportedAverage?: ImaResultValueDto | null;
|
|
36307
|
+
reportedMinimum?: ImaResultValueDto | null;
|
|
36308
|
+
testStandards: string[];
|
|
36309
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36310
|
+
}
|
|
36311
|
+
|
|
36312
|
+
export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
|
|
36313
|
+
sampleReference?: string | null;
|
|
36314
|
+
testLocation?: string | null;
|
|
36315
|
+
testMethod?: string | null;
|
|
36316
|
+
testTemperature?: ImaResultValueDto | null;
|
|
36317
|
+
roomTemperature?: boolean | null;
|
|
36318
|
+
weightLoss?: ImaResultValueDto | null;
|
|
36319
|
+
pitting?: boolean | null;
|
|
36320
|
+
result?: string | null;
|
|
36321
|
+
acceptable?: boolean | null;
|
|
36322
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36323
|
+
}
|
|
36324
|
+
|
|
36325
|
+
export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
|
|
36326
|
+
sampleReference?: string | null;
|
|
36327
|
+
testLocation?: string | null;
|
|
36328
|
+
ferrite?: ImaResultValueDto | null;
|
|
36329
|
+
ferriteTolerance?: number | null;
|
|
36330
|
+
reportedRange?: string | null;
|
|
36331
|
+
intermetallicPhases?: boolean | null;
|
|
36332
|
+
grainSize?: string | null;
|
|
36333
|
+
testStandards: string[];
|
|
36334
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36335
|
+
}
|
|
36336
|
+
|
|
36337
|
+
export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
|
|
36338
|
+
stepType?: string | null;
|
|
36339
|
+
treatmentName?: string | null;
|
|
36340
|
+
temperature?: ImaResultValueDto | null;
|
|
36341
|
+
temperatureMin?: number | null;
|
|
36342
|
+
temperatureMax?: number | null;
|
|
36343
|
+
soakTime?: ImaResultValueDto | null;
|
|
36344
|
+
soakRate?: string | null;
|
|
36345
|
+
coolingMedium?: string | null;
|
|
36346
|
+
override?: ImaResultLineOverrideDto | null;
|
|
36347
|
+
}
|
|
36348
|
+
|
|
36349
|
+
export interface ImaDocumentTypesResultsDto extends ImaCdfEntityReadBase {
|
|
36350
|
+
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
36351
|
+
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
36352
|
+
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
36353
|
+
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
36354
|
+
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
36355
|
+
hydrostatic?: ImaSupplementaryCheckResultDto | null;
|
|
36356
|
+
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
36357
|
+
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
36358
|
+
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
36787
36359
|
}
|
|
36788
36360
|
|
|
36789
36361
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
36790
36362
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
36791
|
-
|
|
36792
|
-
|
|
36793
|
-
|
|
36794
|
-
|
|
36363
|
+
chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36364
|
+
tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36365
|
+
hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36366
|
+
impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36367
|
+
corrosionTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36368
|
+
ferriteResultSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36369
|
+
documentTypesSection?: ImaOverrideDocumentTypesResultsDto | null;
|
|
36795
36370
|
}
|
|
36796
36371
|
|
|
36797
36372
|
export interface ImaOverrideCertificateTypeResultsDto {
|
|
@@ -36801,14 +36376,13 @@ export interface ImaOverrideCertificateTypeResultsDto {
|
|
|
36801
36376
|
certification?: ImaOverrideCertificateTypeCertificationResultsDto | null;
|
|
36802
36377
|
productAndOrderInformation?: ImaOverrideCertificateTypeProductAndOrderInformationResultsDto | null;
|
|
36803
36378
|
testMethodsAndReferences?: ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto | null;
|
|
36804
|
-
testResults?: ImaOverrideCertificateTypeTestResultsResultsDto | null;
|
|
36805
|
-
documentTypes?: ImaOverrideCertificateTypeDocumentTypesResultsDto | null;
|
|
36806
36379
|
}
|
|
36807
36380
|
|
|
36808
36381
|
export interface ImaOverrideCertificateTypeManufacturerResultsDto {
|
|
36809
36382
|
manufacturer?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36810
36383
|
address?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36811
36384
|
contact?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36385
|
+
steelPlant?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36812
36386
|
}
|
|
36813
36387
|
|
|
36814
36388
|
export interface ImaOverrideUpdateMaterialCheckResultLineDto {
|
|
@@ -36835,6 +36409,7 @@ export interface ImaOverrideCertificateTypeThirdPartyResultsDto {
|
|
|
36835
36409
|
}
|
|
36836
36410
|
|
|
36837
36411
|
export interface ImaOverrideCertificateTypeCertificationResultsDto {
|
|
36412
|
+
certificateType?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36838
36413
|
certificateOfCompliance?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36839
36414
|
inspectionCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36840
36415
|
}
|
|
@@ -36847,66 +36422,23 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
|
|
|
36847
36422
|
dimensionsOrWeight?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36848
36423
|
batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36849
36424
|
heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36850
|
-
|
|
36425
|
+
relevantStandard?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36851
36426
|
}
|
|
36852
36427
|
|
|
36853
36428
|
export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
|
|
36854
36429
|
usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36855
36430
|
}
|
|
36856
36431
|
|
|
36857
|
-
export interface
|
|
36858
|
-
mechanicalProperties?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36859
|
-
chemicalAnalysis?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36860
|
-
impactTests?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36861
|
-
corrosionTests?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36862
|
-
ferriteContentAndMicrostructure?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36863
|
-
}
|
|
36864
|
-
|
|
36865
|
-
export interface ImaOverrideCertificateTypeDocumentTypesResultsDto {
|
|
36866
|
-
heatTreatmentCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36432
|
+
export interface ImaOverrideDocumentTypesResultsDto {
|
|
36867
36433
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36434
|
+
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36868
36435
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36869
|
-
|
|
36870
|
-
|
|
36871
|
-
|
|
36436
|
+
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36437
|
+
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36438
|
+
hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36872
36439
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36873
|
-
|
|
36874
|
-
certificateOfTest?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36875
|
-
technicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36440
|
+
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36876
36441
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36877
|
-
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36878
|
-
}
|
|
36879
|
-
|
|
36880
|
-
export interface ImaOverrideSpecificationChemistryResultsDto {
|
|
36881
|
-
carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36882
|
-
manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36883
|
-
silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36884
|
-
phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36885
|
-
sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36886
|
-
chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36887
|
-
nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36888
|
-
molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36889
|
-
copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36890
|
-
nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36891
|
-
wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36892
|
-
iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36893
|
-
}
|
|
36894
|
-
|
|
36895
|
-
export interface ImaOverrideSpecificationMechanicalResultsDto {
|
|
36896
|
-
yieldStrength?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36897
|
-
tensileStrength?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36898
|
-
elongation?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36899
|
-
reductionOfArea?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36900
|
-
impactEnergy?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36901
|
-
hardness?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36902
|
-
}
|
|
36903
|
-
|
|
36904
|
-
export interface ImaOverrideSpecificationFerriteResultsDto {
|
|
36905
|
-
ferriteContent?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36906
|
-
}
|
|
36907
|
-
|
|
36908
|
-
export interface ImaOverrideSpecificationHeatTreatmentResultsDto {
|
|
36909
|
-
heatTreatmentOverrides?: ImaOverrideUpdateMaterialCheckResultLineDto[] | null;
|
|
36910
36442
|
}
|
|
36911
36443
|
|
|
36912
36444
|
export interface ImaUpdateMaterialCheckMetadataRequestDto {
|
|
@@ -36964,7 +36496,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
36964
36496
|
|
|
36965
36497
|
export interface ImaMaterialChecksPageRequestDto {
|
|
36966
36498
|
pageSize?: number | null;
|
|
36967
|
-
orderBy?: ImaMaterialChecksPageOrderRequestDto
|
|
36499
|
+
orderBy?: ImaMaterialChecksPageOrderRequestDto | null;
|
|
36968
36500
|
searchQuery?: string | null;
|
|
36969
36501
|
fileNameFilter?: string | null;
|
|
36970
36502
|
specificationFilter?: string | null;
|
|
@@ -37135,6 +36667,7 @@ export interface ImaSpecificationDto {
|
|
|
37135
36667
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
37136
36668
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
37137
36669
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
36670
|
+
documentTypesSpecification: ImaDocumentTypesSpecificationDto;
|
|
37138
36671
|
heatTreatmentSpecifications: ImaHeatTreatmentSpecificationDto[];
|
|
37139
36672
|
}
|
|
37140
36673
|
|
|
@@ -37176,6 +36709,18 @@ export interface ImaFerriteSpecificationDto {
|
|
|
37176
36709
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
37177
36710
|
}
|
|
37178
36711
|
|
|
36712
|
+
export interface ImaDocumentTypesSpecificationDto {
|
|
36713
|
+
ultrasonicControlCertificate?: boolean;
|
|
36714
|
+
radiologicalReport?: boolean;
|
|
36715
|
+
liquidPenetrantCertificate?: boolean;
|
|
36716
|
+
magneticParticle?: boolean;
|
|
36717
|
+
pmi?: boolean;
|
|
36718
|
+
hydrostatic?: boolean;
|
|
36719
|
+
visualReport?: boolean;
|
|
36720
|
+
dimensionalReport?: boolean;
|
|
36721
|
+
microExaminationReport?: boolean;
|
|
36722
|
+
}
|
|
36723
|
+
|
|
37179
36724
|
export interface ImaHeatTreatmentSpecificationDto {
|
|
37180
36725
|
step: number;
|
|
37181
36726
|
cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
|
|
@@ -37222,6 +36767,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
37222
36767
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
37223
36768
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
37224
36769
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
36770
|
+
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
|
37225
36771
|
heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
|
|
37226
36772
|
}
|
|
37227
36773
|
|
|
@@ -38445,7 +37991,6 @@ export interface WorkorderDiscussionMessageDto {
|
|
|
38445
37991
|
operationName?: string | null;
|
|
38446
37992
|
resourceId?: string | null;
|
|
38447
37993
|
created?: Date;
|
|
38448
|
-
messageType?: DiscussionMessageType;
|
|
38449
37994
|
}
|
|
38450
37995
|
|
|
38451
37996
|
export interface WorkOrderDiscussionContent {
|
|
@@ -38455,14 +38000,11 @@ export interface WorkOrderDiscussionContent {
|
|
|
38455
38000
|
|
|
38456
38001
|
export type WorkOrderDiscussionContentType = 0 | 1;
|
|
38457
38002
|
|
|
38458
|
-
export type DiscussionMessageType = "Public" | "Planner";
|
|
38459
|
-
|
|
38460
38003
|
export interface AddDiscussionMessageRequest {
|
|
38461
38004
|
message: string;
|
|
38462
38005
|
operationId?: string | null;
|
|
38463
38006
|
operationName?: string | null;
|
|
38464
38007
|
resourceId?: string | null;
|
|
38465
|
-
messageType?: DiscussionMessageType;
|
|
38466
38008
|
}
|
|
38467
38009
|
|
|
38468
38010
|
export interface WorkorderDiscussionReadStatusDto {
|