@ignos/api-client 20260727.195.1-alpha → 20260728.197.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.
@@ -22011,6 +22011,445 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
22011
22011
  }
22012
22012
  }
22013
22013
 
22014
+ export interface IMesPlannerClient {
22015
+
22016
+ getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
22017
+
22018
+ publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto>;
22019
+
22020
+ updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
22021
+
22022
+ reset(resourceGroupId: string): Promise<PlannerPlanDto>;
22023
+
22024
+ saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto>;
22025
+
22026
+ discardDraft(resourceGroupId: string): Promise<PlannerPlanDto>;
22027
+
22028
+ getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]>;
22029
+
22030
+ getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]>;
22031
+
22032
+ getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto>;
22033
+
22034
+ setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus>;
22035
+ }
22036
+
22037
+ export class MesPlannerClient extends AuthorizedApiBase implements IMesPlannerClient {
22038
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
22039
+ private baseUrl: string;
22040
+
22041
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
22042
+ super(configuration);
22043
+ this.http = http ? http : window as any;
22044
+ this.baseUrl = baseUrl ?? "";
22045
+ }
22046
+
22047
+ getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto> {
22048
+ let url_ = this.baseUrl + "/mes/planner/plan?";
22049
+ if (resourceGroupId === null)
22050
+ throw new globalThis.Error("The parameter 'resourceGroupId' cannot be null.");
22051
+ else if (resourceGroupId !== undefined)
22052
+ url_ += "resourceGroupId=" + encodeURIComponent("" + resourceGroupId) + "&";
22053
+ url_ = url_.replace(/[?&]$/, "");
22054
+
22055
+ let options_: RequestInit = {
22056
+ method: "GET",
22057
+ headers: {
22058
+ "Accept": "application/json"
22059
+ }
22060
+ };
22061
+
22062
+ return this.transformOptions(options_).then(transformedOptions_ => {
22063
+ return this.http.fetch(url_, transformedOptions_);
22064
+ }).then((_response: Response) => {
22065
+ return this.processGetPlan(_response);
22066
+ });
22067
+ }
22068
+
22069
+ protected processGetPlan(response: Response): Promise<PlannerPlanDto> {
22070
+ const status = response.status;
22071
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22072
+ if (status === 200) {
22073
+ return response.text().then((_responseText) => {
22074
+ let result200: any = null;
22075
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22076
+ return result200;
22077
+ });
22078
+ } else if (status !== 200 && status !== 204) {
22079
+ return response.text().then((_responseText) => {
22080
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22081
+ });
22082
+ }
22083
+ return Promise.resolve<PlannerPlanDto>(null as any);
22084
+ }
22085
+
22086
+ publish(resourceGroupId: string, request: PublishPlanRequest): Promise<PlannerPlanDto> {
22087
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/publish";
22088
+ if (resourceGroupId === undefined || resourceGroupId === null)
22089
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22090
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22091
+ url_ = url_.replace(/[?&]$/, "");
22092
+
22093
+ const content_ = JSON.stringify(request);
22094
+
22095
+ let options_: RequestInit = {
22096
+ body: content_,
22097
+ method: "POST",
22098
+ headers: {
22099
+ "Content-Type": "application/json",
22100
+ "Accept": "application/json"
22101
+ }
22102
+ };
22103
+
22104
+ return this.transformOptions(options_).then(transformedOptions_ => {
22105
+ return this.http.fetch(url_, transformedOptions_);
22106
+ }).then((_response: Response) => {
22107
+ return this.processPublish(_response);
22108
+ });
22109
+ }
22110
+
22111
+ protected processPublish(response: Response): Promise<PlannerPlanDto> {
22112
+ const status = response.status;
22113
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22114
+ if (status === 200) {
22115
+ return response.text().then((_responseText) => {
22116
+ let result200: any = null;
22117
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22118
+ return result200;
22119
+ });
22120
+ } else if (status !== 200 && status !== 204) {
22121
+ return response.text().then((_responseText) => {
22122
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22123
+ });
22124
+ }
22125
+ return Promise.resolve<PlannerPlanDto>(null as any);
22126
+ }
22127
+
22128
+ updateSequence(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto> {
22129
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/sequence";
22130
+ if (resourceGroupId === undefined || resourceGroupId === null)
22131
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22132
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22133
+ url_ = url_.replace(/[?&]$/, "");
22134
+
22135
+ const content_ = JSON.stringify(sequence);
22136
+
22137
+ let options_: RequestInit = {
22138
+ body: content_,
22139
+ method: "PUT",
22140
+ headers: {
22141
+ "Content-Type": "application/json",
22142
+ "Accept": "application/json"
22143
+ }
22144
+ };
22145
+
22146
+ return this.transformOptions(options_).then(transformedOptions_ => {
22147
+ return this.http.fetch(url_, transformedOptions_);
22148
+ }).then((_response: Response) => {
22149
+ return this.processUpdateSequence(_response);
22150
+ });
22151
+ }
22152
+
22153
+ protected processUpdateSequence(response: Response): Promise<PlannerPlanDto> {
22154
+ const status = response.status;
22155
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22156
+ if (status === 200) {
22157
+ return response.text().then((_responseText) => {
22158
+ let result200: any = null;
22159
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22160
+ return result200;
22161
+ });
22162
+ } else if (status !== 200 && status !== 204) {
22163
+ return response.text().then((_responseText) => {
22164
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22165
+ });
22166
+ }
22167
+ return Promise.resolve<PlannerPlanDto>(null as any);
22168
+ }
22169
+
22170
+ reset(resourceGroupId: string): Promise<PlannerPlanDto> {
22171
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/reset";
22172
+ if (resourceGroupId === undefined || resourceGroupId === null)
22173
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22174
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22175
+ url_ = url_.replace(/[?&]$/, "");
22176
+
22177
+ let options_: RequestInit = {
22178
+ method: "POST",
22179
+ headers: {
22180
+ "Accept": "application/json"
22181
+ }
22182
+ };
22183
+
22184
+ return this.transformOptions(options_).then(transformedOptions_ => {
22185
+ return this.http.fetch(url_, transformedOptions_);
22186
+ }).then((_response: Response) => {
22187
+ return this.processReset(_response);
22188
+ });
22189
+ }
22190
+
22191
+ protected processReset(response: Response): Promise<PlannerPlanDto> {
22192
+ const status = response.status;
22193
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22194
+ if (status === 200) {
22195
+ return response.text().then((_responseText) => {
22196
+ let result200: any = null;
22197
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22198
+ return result200;
22199
+ });
22200
+ } else if (status !== 200 && status !== 204) {
22201
+ return response.text().then((_responseText) => {
22202
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22203
+ });
22204
+ }
22205
+ return Promise.resolve<PlannerPlanDto>(null as any);
22206
+ }
22207
+
22208
+ saveDraft(resourceGroupId: string, sequence: PlannerSequenceInput): Promise<PlannerPlanDto> {
22209
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
22210
+ if (resourceGroupId === undefined || resourceGroupId === null)
22211
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22212
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22213
+ url_ = url_.replace(/[?&]$/, "");
22214
+
22215
+ const content_ = JSON.stringify(sequence);
22216
+
22217
+ let options_: RequestInit = {
22218
+ body: content_,
22219
+ method: "POST",
22220
+ headers: {
22221
+ "Content-Type": "application/json",
22222
+ "Accept": "application/json"
22223
+ }
22224
+ };
22225
+
22226
+ return this.transformOptions(options_).then(transformedOptions_ => {
22227
+ return this.http.fetch(url_, transformedOptions_);
22228
+ }).then((_response: Response) => {
22229
+ return this.processSaveDraft(_response);
22230
+ });
22231
+ }
22232
+
22233
+ protected processSaveDraft(response: Response): Promise<PlannerPlanDto> {
22234
+ const status = response.status;
22235
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22236
+ if (status === 200) {
22237
+ return response.text().then((_responseText) => {
22238
+ let result200: any = null;
22239
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22240
+ return result200;
22241
+ });
22242
+ } else if (status !== 200 && status !== 204) {
22243
+ return response.text().then((_responseText) => {
22244
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22245
+ });
22246
+ }
22247
+ return Promise.resolve<PlannerPlanDto>(null as any);
22248
+ }
22249
+
22250
+ discardDraft(resourceGroupId: string): Promise<PlannerPlanDto> {
22251
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/draft";
22252
+ if (resourceGroupId === undefined || resourceGroupId === null)
22253
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22254
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22255
+ url_ = url_.replace(/[?&]$/, "");
22256
+
22257
+ let options_: RequestInit = {
22258
+ method: "DELETE",
22259
+ headers: {
22260
+ "Accept": "application/json"
22261
+ }
22262
+ };
22263
+
22264
+ return this.transformOptions(options_).then(transformedOptions_ => {
22265
+ return this.http.fetch(url_, transformedOptions_);
22266
+ }).then((_response: Response) => {
22267
+ return this.processDiscardDraft(_response);
22268
+ });
22269
+ }
22270
+
22271
+ protected processDiscardDraft(response: Response): Promise<PlannerPlanDto> {
22272
+ const status = response.status;
22273
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22274
+ if (status === 200) {
22275
+ return response.text().then((_responseText) => {
22276
+ let result200: any = null;
22277
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22278
+ return result200;
22279
+ });
22280
+ } else if (status !== 200 && status !== 204) {
22281
+ return response.text().then((_responseText) => {
22282
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22283
+ });
22284
+ }
22285
+ return Promise.resolve<PlannerPlanDto>(null as any);
22286
+ }
22287
+
22288
+ getCapacity(resourceGroupId: string, from: Date | undefined, to: Date | undefined): Promise<WeekCapacityDto[]> {
22289
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/capacity?";
22290
+ if (resourceGroupId === undefined || resourceGroupId === null)
22291
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22292
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22293
+ if (from === null)
22294
+ throw new globalThis.Error("The parameter 'from' cannot be null.");
22295
+ else if (from !== undefined)
22296
+ url_ += "from=" + encodeURIComponent(from ? "" + from.toISOString() : "") + "&";
22297
+ if (to === null)
22298
+ throw new globalThis.Error("The parameter 'to' cannot be null.");
22299
+ else if (to !== undefined)
22300
+ url_ += "to=" + encodeURIComponent(to ? "" + to.toISOString() : "") + "&";
22301
+ url_ = url_.replace(/[?&]$/, "");
22302
+
22303
+ let options_: RequestInit = {
22304
+ method: "GET",
22305
+ headers: {
22306
+ "Accept": "application/json"
22307
+ }
22308
+ };
22309
+
22310
+ return this.transformOptions(options_).then(transformedOptions_ => {
22311
+ return this.http.fetch(url_, transformedOptions_);
22312
+ }).then((_response: Response) => {
22313
+ return this.processGetCapacity(_response);
22314
+ });
22315
+ }
22316
+
22317
+ protected processGetCapacity(response: Response): Promise<WeekCapacityDto[]> {
22318
+ const status = response.status;
22319
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22320
+ if (status === 200) {
22321
+ return response.text().then((_responseText) => {
22322
+ let result200: any = null;
22323
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as WeekCapacityDto[];
22324
+ return result200;
22325
+ });
22326
+ } else if (status !== 200 && status !== 204) {
22327
+ return response.text().then((_responseText) => {
22328
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22329
+ });
22330
+ }
22331
+ return Promise.resolve<WeekCapacityDto[]>(null as any);
22332
+ }
22333
+
22334
+ getVersions(resourceGroupId: string): Promise<PlannerPlanEventDto[]> {
22335
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/versions";
22336
+ if (resourceGroupId === undefined || resourceGroupId === null)
22337
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22338
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
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.processGetVersions(_response);
22352
+ });
22353
+ }
22354
+
22355
+ protected processGetVersions(response: Response): Promise<PlannerPlanEventDto[]> {
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 PlannerPlanEventDto[];
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<PlannerPlanEventDto[]>(null as any);
22370
+ }
22371
+
22372
+ getVersion(resourceGroupId: string, eventId: string): Promise<PlannerPlanDto> {
22373
+ let url_ = this.baseUrl + "/mes/planner/plan/{resourceGroupId}/versions/{eventId}";
22374
+ if (resourceGroupId === undefined || resourceGroupId === null)
22375
+ throw new globalThis.Error("The parameter 'resourceGroupId' must be defined.");
22376
+ url_ = url_.replace("{resourceGroupId}", encodeURIComponent("" + resourceGroupId));
22377
+ if (eventId === undefined || eventId === null)
22378
+ throw new globalThis.Error("The parameter 'eventId' must be defined.");
22379
+ url_ = url_.replace("{eventId}", encodeURIComponent("" + eventId));
22380
+ url_ = url_.replace(/[?&]$/, "");
22381
+
22382
+ let options_: RequestInit = {
22383
+ method: "GET",
22384
+ headers: {
22385
+ "Accept": "application/json"
22386
+ }
22387
+ };
22388
+
22389
+ return this.transformOptions(options_).then(transformedOptions_ => {
22390
+ return this.http.fetch(url_, transformedOptions_);
22391
+ }).then((_response: Response) => {
22392
+ return this.processGetVersion(_response);
22393
+ });
22394
+ }
22395
+
22396
+ protected processGetVersion(response: Response): Promise<PlannerPlanDto> {
22397
+ const status = response.status;
22398
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22399
+ if (status === 200) {
22400
+ return response.text().then((_responseText) => {
22401
+ let result200: any = null;
22402
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
22403
+ return result200;
22404
+ });
22405
+ } else if (status !== 200 && status !== 204) {
22406
+ return response.text().then((_responseText) => {
22407
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22408
+ });
22409
+ }
22410
+ return Promise.resolve<PlannerPlanDto>(null as any);
22411
+ }
22412
+
22413
+ setProgramStatus(command: SetProgramStatus): Promise<ProgramStatus> {
22414
+ let url_ = this.baseUrl + "/mes/planner/operations/program-status";
22415
+ url_ = url_.replace(/[?&]$/, "");
22416
+
22417
+ const content_ = JSON.stringify(command);
22418
+
22419
+ let options_: RequestInit = {
22420
+ body: content_,
22421
+ method: "PUT",
22422
+ headers: {
22423
+ "Content-Type": "application/json",
22424
+ "Accept": "application/json"
22425
+ }
22426
+ };
22427
+
22428
+ return this.transformOptions(options_).then(transformedOptions_ => {
22429
+ return this.http.fetch(url_, transformedOptions_);
22430
+ }).then((_response: Response) => {
22431
+ return this.processSetProgramStatus(_response);
22432
+ });
22433
+ }
22434
+
22435
+ protected processSetProgramStatus(response: Response): Promise<ProgramStatus> {
22436
+ const status = response.status;
22437
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22438
+ if (status === 200) {
22439
+ return response.text().then((_responseText) => {
22440
+ let result200: any = null;
22441
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProgramStatus;
22442
+ return result200;
22443
+ });
22444
+ } else if (status !== 200 && status !== 204) {
22445
+ return response.text().then((_responseText) => {
22446
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22447
+ });
22448
+ }
22449
+ return Promise.resolve<ProgramStatus>(null as any);
22450
+ }
22451
+ }
22452
+
22014
22453
  export interface IMesProductionOrderAttachmentClient {
22015
22454
 
22016
22455
  /**
@@ -35276,6 +35715,85 @@ export interface ListProductionOrdersRequest {
35276
35715
  maxResults?: number | null;
35277
35716
  }
35278
35717
 
35718
+ export interface PlannerPlanDto {
35719
+ resourceGroupId: string;
35720
+ sequence: PlannerOperationDto[];
35721
+ lockedCount: number;
35722
+ planSavedAt?: Date | null;
35723
+ isDraft: boolean;
35724
+ publishedETag?: string | null;
35725
+ weeklyCapacities: WeekCapacityDto[];
35726
+ }
35727
+
35728
+ export interface PlannerOperationDto {
35729
+ id: string;
35730
+ productionOrderNumber: string;
35731
+ operation: number;
35732
+ operationName: string;
35733
+ plannedStart: Date;
35734
+ plannedEnd?: Date | null;
35735
+ status: OperationStatusDto;
35736
+ resourceId: string;
35737
+ resourceName: string;
35738
+ resourceDepartmentNumber?: string | null;
35739
+ resourceDepartmentName?: string | null;
35740
+ partNumber: string;
35741
+ partName?: string | null;
35742
+ partMaterial?: string | null;
35743
+ quantity: number;
35744
+ producedQuantity: number;
35745
+ totalPlannedHours?: number;
35746
+ totalUsedHours?: number;
35747
+ customerName?: string | null;
35748
+ project?: WorkOrderProjectDto | null;
35749
+ sequenceNumber: number;
35750
+ isManuallyLocked: boolean;
35751
+ weekGroup: string;
35752
+ programStatus?: ProgramStatus | null;
35753
+ }
35754
+
35755
+ export type ProgramStatus = "Blank" | "NotOk" | "Ok";
35756
+
35757
+ export interface WeekCapacityDto {
35758
+ weekGroup: string;
35759
+ weekStart: Date;
35760
+ capacityHours: number;
35761
+ }
35762
+
35763
+ export interface PublishPlanRequest {
35764
+ /** ETag of the published plan the caller last read, used for optimistic
35765
+ concurrency. Null if the caller never observed a published plan. */
35766
+ publishedETag?: string | null;
35767
+ comment?: string | null;
35768
+ /** The caller's unsaved working sequence to publish. When null, the
35769
+ persisted active plan (draft, else published) is published instead. */
35770
+ sequence?: PlannerSequenceInput | null;
35771
+ }
35772
+
35773
+ export interface PlannerSequenceInput {
35774
+ orderedOperationKeys: string[];
35775
+ lockedCount: number;
35776
+ weekGroups?: { [key: string]: string; } | null;
35777
+ }
35778
+
35779
+ export interface PlannerPlanEventDto {
35780
+ id: string;
35781
+ eventType: PlannerEventType;
35782
+ occurredAt: Date;
35783
+ by?: string | null;
35784
+ comment?: string | null;
35785
+ operationCount: number;
35786
+ lockedCount: number;
35787
+ }
35788
+
35789
+ export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
35790
+
35791
+ export interface SetProgramStatus {
35792
+ workOrderId?: string;
35793
+ operationNumber?: number;
35794
+ status?: ProgramStatus;
35795
+ }
35796
+
35279
35797
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
35280
35798
 
35281
35799
  export interface WorkOrderAttachmentDto {
@@ -35566,6 +36084,7 @@ export interface ProductionScheduleOperationDto {
35566
36084
  materialPickStatus: MaterialPickStatus;
35567
36085
  productionStatus: OperationStatusDto;
35568
36086
  setupStatus?: OperationStatusDto | null;
36087
+ programStatus?: ProgramStatus | null;
35569
36088
  }
35570
36089
 
35571
36090
  export interface SurroundingOperationDto {
@@ -35940,7 +36459,6 @@ export interface ImaCertificateTypeRequirementsDto {
35940
36459
  productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationRequirementsDto;
35941
36460
  testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
35942
36461
  testResults: ImaCertificateTypeTestResultsRequirementsDto;
35943
- documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
35944
36462
  }
35945
36463
 
35946
36464
  export interface ImaCdfEntityReadBase {
@@ -35950,6 +36468,7 @@ export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEnt
35950
36468
  manufacturer?: boolean;
35951
36469
  address?: boolean;
35952
36470
  contact?: boolean;
36471
+ steelPlant?: boolean;
35953
36472
  }
35954
36473
 
35955
36474
  export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
@@ -35971,6 +36490,7 @@ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntit
35971
36490
  }
35972
36491
 
35973
36492
  export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
36493
+ certificateType?: boolean;
35974
36494
  certificateOfCompliance?: boolean;
35975
36495
  inspectionCertificate?: boolean;
35976
36496
  }
@@ -35983,7 +36503,8 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto ext
35983
36503
  dimensionsOrWeight?: boolean;
35984
36504
  batchNumber?: boolean;
35985
36505
  heatNumber?: boolean;
35986
- relatedStandards?: boolean;
36506
+ relevantStandard?: boolean;
36507
+ steelMaking?: boolean;
35987
36508
  }
35988
36509
 
35989
36510
  export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
@@ -35991,28 +36512,14 @@ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto exten
35991
36512
  }
35992
36513
 
35993
36514
  export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
35994
- mechanicalProperties?: boolean;
35995
- chemicalAnalysis?: boolean;
36515
+ tensileTests?: boolean;
36516
+ hardnessTests?: boolean;
35996
36517
  impactTests?: boolean;
36518
+ chemicalAnalysis?: boolean;
35997
36519
  corrosionTests?: boolean;
35998
36520
  ferriteContentAndMicrostructure?: boolean;
35999
36521
  }
36000
36522
 
36001
- export interface ImaCertificateTypeDocumentTypesRequirementsDto extends ImaCdfEntityReadBase {
36002
- heatTreatmentCertificate?: boolean;
36003
- ultrasonicControlCertificate?: boolean;
36004
- liquidPenetrantCertificate?: boolean;
36005
- testReport?: boolean;
36006
- dimensionalReport?: boolean;
36007
- dyePenetrantReport?: boolean;
36008
- visualReport?: boolean;
36009
- certificateOfAnalyticalAndMechanicalTests?: boolean;
36010
- certificateOfTest?: boolean;
36011
- technicalReport?: boolean;
36012
- microExaminationReport?: boolean;
36013
- radiologicalReport?: boolean;
36014
- }
36015
-
36016
36523
  export interface ImaCreateOrCopyCertificateTypeRequestDto {
36017
36524
  name: string;
36018
36525
  revision: string;
@@ -36035,13 +36542,13 @@ export interface ImaCertificateTypeRequirementsUpdateDto {
36035
36542
  productAndOrderInformation?: ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
36036
36543
  testMethodsAndReferences?: ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
36037
36544
  testResults?: ImaCertificateTypeTestResultsRequirementsUpdateDto | null;
36038
- documentTypes?: ImaCertificateTypeDocumentTypesRequirementsUpdateDto | null;
36039
36545
  }
36040
36546
 
36041
36547
  export interface ImaCertificateTypeManufacturerRequirementsUpdateDto {
36042
36548
  manufacturer?: boolean | null;
36043
36549
  address?: boolean | null;
36044
36550
  contact?: boolean | null;
36551
+ steelPlant?: boolean | null;
36045
36552
  }
36046
36553
 
36047
36554
  export interface ImaCertificateTypeSignatureRequirementsUpdateDto {
@@ -36063,6 +36570,7 @@ export interface ImaCertificateTypeThirdPartyRequirementsUpdateDto {
36063
36570
  }
36064
36571
 
36065
36572
  export interface ImaCertificateTypeCertificationRequirementsUpdateDto {
36573
+ certificateType?: boolean | null;
36066
36574
  certificateOfCompliance?: boolean | null;
36067
36575
  inspectionCertificate?: boolean | null;
36068
36576
  }
@@ -36075,7 +36583,8 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateD
36075
36583
  dimensionsOrWeight?: boolean | null;
36076
36584
  batchNumber?: boolean | null;
36077
36585
  heatNumber?: boolean | null;
36078
- relatedStandards?: boolean | null;
36586
+ relevantStandard?: boolean | null;
36587
+ steelMaking?: boolean | null;
36079
36588
  }
36080
36589
 
36081
36590
  export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
@@ -36083,28 +36592,14 @@ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto
36083
36592
  }
36084
36593
 
36085
36594
  export interface ImaCertificateTypeTestResultsRequirementsUpdateDto {
36086
- mechanicalProperties?: boolean | null;
36087
- chemicalAnalysis?: boolean | null;
36595
+ tensileTests?: boolean | null;
36596
+ hardnessTests?: boolean | null;
36088
36597
  impactTests?: boolean | null;
36598
+ chemicalAnalysis?: boolean | null;
36089
36599
  corrosionTests?: boolean | null;
36090
36600
  ferriteContentAndMicrostructure?: boolean | null;
36091
36601
  }
36092
36602
 
36093
- export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
36094
- heatTreatmentCertificate?: boolean | null;
36095
- ultrasonicControlCertificate?: boolean | null;
36096
- liquidPenetrantCertificate?: boolean | null;
36097
- testReport?: boolean | null;
36098
- dimensionalReport?: boolean | null;
36099
- dyePenetrantReport?: boolean | null;
36100
- visualReport?: boolean | null;
36101
- certificateOfAnalyticalAndMechanicalTests?: boolean | null;
36102
- certificateOfTest?: boolean | null;
36103
- technicalReport?: boolean | null;
36104
- microExaminationReport?: boolean | null;
36105
- radiologicalReport?: boolean | null;
36106
- }
36107
-
36108
36603
  export interface ImaCertificateTypeLiteDto {
36109
36604
  certificateTypeId: string;
36110
36605
  version: number;
@@ -36179,14 +36674,13 @@ export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
36179
36674
  certification: ImaCertificateTypeCertificationResultsDto;
36180
36675
  productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationResultsDto;
36181
36676
  testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesResultsDto;
36182
- testResults: ImaCertificateTypeTestResultsResultsDto;
36183
- documentTypes: ImaCertificateTypeDocumentTypesResultsDto;
36184
36677
  }
36185
36678
 
36186
36679
  export interface ImaCertificateTypeManufacturerResultsDto extends ImaCdfEntityReadBase {
36187
36680
  manufacturer?: ImaCertificateTypeResultLine | null;
36188
36681
  address?: ImaCertificateTypeResultLine | null;
36189
36682
  contact?: ImaCertificateTypeResultLine | null;
36683
+ steelPlant?: ImaCertificateTypeResultLine | null;
36190
36684
  }
36191
36685
 
36192
36686
  export interface ImaCertificateTypeResultLine extends ImaCdfEntityReadBase {
@@ -36223,10 +36717,20 @@ export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityRead
36223
36717
  }
36224
36718
 
36225
36719
  export interface ImaCertificateTypeCertificationResultsDto extends ImaCdfEntityReadBase {
36226
- certificateOfCompliance?: ImaCertificateTypeResultLine | null;
36720
+ certificateType?: ImaCertificateTypeResultLine | null;
36721
+ certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
36227
36722
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
36228
36723
  }
36229
36724
 
36725
+ export interface ImaSupplementaryCheckResultDto extends ImaCdfEntityReadBase {
36726
+ status?: string | null;
36727
+ documentId?: string | null;
36728
+ acceptable?: boolean | null;
36729
+ standards: string[];
36730
+ summary?: string | null;
36731
+ override?: ImaResultLineOverrideDto | null;
36732
+ }
36733
+
36230
36734
  export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends ImaCdfEntityReadBase {
36231
36735
  productDescription?: ImaCertificateTypeResultLine | null;
36232
36736
  materialGrade?: ImaCertificateTypeResultLine | null;
@@ -36235,41 +36739,32 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends
36235
36739
  dimensionsOrWeight?: ImaCertificateTypeResultLine | null;
36236
36740
  batchNumber?: ImaCertificateTypeResultLine | null;
36237
36741
  heatNumber?: ImaCertificateTypeResultLine | null;
36238
- relatedStandards?: ImaCertificateTypeResultLine | null;
36239
- }
36240
-
36241
- export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
36242
- usedStandards?: ImaCertificateTypeResultLine | null;
36742
+ relevantStandard?: ImaCertificateTypeResultLine | null;
36743
+ steelMaking: ImaSteelMakingResultDto;
36243
36744
  }
36244
36745
 
36245
- export interface ImaCertificateTypeTestResultsResultsDto extends ImaCdfEntityReadBase {
36246
- mechanicalProperties?: ImaCertificateTypeResultLine | null;
36247
- chemicalAnalysis?: ImaCertificateTypeResultLine | null;
36248
- impactTests?: ImaCertificateTypeResultLine | null;
36249
- corrosionTests?: ImaCertificateTypeResultLine | null;
36250
- ferriteContentAndMicrostructure?: ImaCertificateTypeResultLine | null;
36746
+ export interface ImaSteelMakingResultDto extends ImaCdfEntityReadBase {
36747
+ raw?: string[] | null;
36748
+ chain?: string[] | null;
36749
+ unmatched?: string[] | null;
36251
36750
  }
36252
36751
 
36253
- export interface ImaCertificateTypeDocumentTypesResultsDto extends ImaCdfEntityReadBase {
36254
- heatTreatmentCertificate?: ImaCertificateTypeResultLine | null;
36255
- ultrasonicControlCertificate?: ImaCertificateTypeResultLine | null;
36256
- liquidPenetrantCertificate?: ImaCertificateTypeResultLine | null;
36257
- testReport?: ImaCertificateTypeResultLine | null;
36258
- dimensionalReport?: ImaCertificateTypeResultLine | null;
36259
- dyePenetrantReport?: ImaCertificateTypeResultLine | null;
36260
- visualReport?: ImaCertificateTypeResultLine | null;
36261
- certificateOfAnalyticalAndMechanicalTests?: ImaCertificateTypeResultLine | null;
36262
- certificateOfTest?: ImaCertificateTypeResultLine | null;
36263
- technicalReport?: ImaCertificateTypeResultLine | null;
36264
- microExaminationReport?: ImaCertificateTypeResultLine | null;
36265
- radiologicalReport?: ImaCertificateTypeResultLine | null;
36752
+ export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
36753
+ usedStandards?: ImaCertificateTypeResultLine | null;
36266
36754
  }
36267
36755
 
36268
36756
  export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
36269
36757
  chemistry: ImaSpecificationChemistryResultsDto;
36270
36758
  mechanical: ImaSpecificationMechanicalResultsDto;
36271
36759
  ferrite: ImaSpecificationFerriteResultsDto;
36272
- heatTreatments: ImaSpecificationHeatTreatmentResultDto[];
36760
+ chemicalAnalysis: ImaChemicalAnalysisResultDto[];
36761
+ tensileTests: ImaTensileTestResultDto[];
36762
+ hardnessTests: ImaHardnessTestResultDto[];
36763
+ impactTests: ImaImpactTestResultDto[];
36764
+ corrosionTests: ImaCorrosionTestResultDto[];
36765
+ ferriteContentAndMicrostructure: ImaFerriteResultDto[];
36766
+ heatTreatments: ImaHeatTreatmentResultDto[];
36767
+ documentTypes: ImaDocumentTypesResultsDto;
36273
36768
  }
36274
36769
 
36275
36770
  export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBase {
@@ -36319,30 +36814,146 @@ export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBa
36319
36814
  measurementMethod?: string | null;
36320
36815
  }
36321
36816
 
36322
- export interface ImaSpecificationHeatTreatmentResultDto extends ImaCdfEntityReadBase {
36323
- step: number;
36324
- cooling?: ImaSpecificationHeatTreatmentCoolingResult | null;
36325
- heating?: ImaSpecificationHeatTreatmentHeatingResult | null;
36817
+ export interface ImaChemicalAnalysisResultDto extends ImaCdfEntityReadBase {
36818
+ sampleReference?: string | null;
36819
+ analysisType?: string | null;
36820
+ elements: ImaChemicalElementResultDto[];
36821
+ indices: ImaChemicalIndexResultDto[];
36822
+ testStandards: string[];
36823
+ override?: ImaResultLineOverrideDto | null;
36824
+ }
36825
+
36826
+ export interface ImaChemicalElementResultDto extends ImaCdfEntityReadBase {
36827
+ symbol?: string | null;
36828
+ value?: ImaResultValueDto | null;
36829
+ }
36830
+
36831
+ export interface ImaResultValueDto extends ImaCdfEntityReadBase {
36832
+ readValue?: string | null;
36833
+ value?: number | null;
36834
+ unit?: string | null;
36835
+ override?: ImaResultLineOverrideDto | null;
36836
+ }
36837
+
36838
+ export interface ImaChemicalIndexResultDto extends ImaCdfEntityReadBase {
36839
+ name?: string | null;
36840
+ value?: number | null;
36841
+ }
36842
+
36843
+ export interface ImaTensileTestResultDto extends ImaCdfEntityReadBase {
36844
+ sampleReference?: string | null;
36845
+ orientation?: string | null;
36846
+ testLocation?: string | null;
36847
+ temperature?: ImaResultValueDto | null;
36848
+ roomTemperature?: boolean | null;
36849
+ yieldStrengths: ImaYieldStrengthResultDto[];
36850
+ tensileStrength?: ImaResultValueDto | null;
36851
+ yieldTensileRatio?: number | null;
36852
+ elongations: ImaElongationResultDto[];
36853
+ reductionOfArea?: ImaResultValueDto | null;
36854
+ testStandards: string[];
36855
+ override?: ImaResultLineOverrideDto | null;
36856
+ }
36857
+
36858
+ export interface ImaYieldStrengthResultDto extends ImaCdfEntityReadBase {
36859
+ label?: string | null;
36860
+ value?: ImaResultValueDto | null;
36326
36861
  }
36327
36862
 
36328
- export interface ImaSpecificationHeatTreatmentCoolingResult extends ImaCdfEntityReadBase {
36329
- coolingMethods?: string[] | null;
36330
- temperature?: ImaSpecificationResultLineDto | null;
36331
- duration?: ImaSpecificationResultLineDto | null;
36863
+ export interface ImaElongationResultDto extends ImaCdfEntityReadBase {
36864
+ gauge?: string | null;
36865
+ value?: ImaResultValueDto | null;
36332
36866
  }
36333
36867
 
36334
- export interface ImaSpecificationHeatTreatmentHeatingResult extends ImaCdfEntityReadBase {
36335
- heatingMethod?: string | null;
36336
- temperature?: ImaSpecificationResultLineDto | null;
36337
- duration?: ImaSpecificationResultLineDto | null;
36868
+ export interface ImaHardnessTestResultDto extends ImaCdfEntityReadBase {
36869
+ sampleReference?: string | null;
36870
+ orientation?: string | null;
36871
+ testLocation?: string | null;
36872
+ readings: ImaHardnessReadingResultDto[];
36873
+ testStandards: string[];
36874
+ override?: ImaResultLineOverrideDto | null;
36875
+ }
36876
+
36877
+ export interface ImaHardnessReadingResultDto extends ImaCdfEntityReadBase {
36878
+ label?: string | null;
36879
+ scale?: string | null;
36880
+ value?: number | null;
36881
+ }
36882
+
36883
+ export interface ImaImpactTestResultDto extends ImaCdfEntityReadBase {
36884
+ sampleReference?: string | null;
36885
+ orientation?: string | null;
36886
+ testLocation?: string | null;
36887
+ temperature?: ImaResultValueDto | null;
36888
+ roomTemperature?: boolean | null;
36889
+ testLabel?: string | null;
36890
+ notchType?: string | null;
36891
+ specimenSize?: string | null;
36892
+ individualValues: ImaResultValueDto[];
36893
+ reportedAverage?: ImaResultValueDto | null;
36894
+ reportedMinimum?: ImaResultValueDto | null;
36895
+ testStandards: string[];
36896
+ override?: ImaResultLineOverrideDto | null;
36897
+ }
36898
+
36899
+ export interface ImaCorrosionTestResultDto extends ImaCdfEntityReadBase {
36900
+ sampleReference?: string | null;
36901
+ testLocation?: string | null;
36902
+ testMethod?: string | null;
36903
+ testTemperature?: ImaResultValueDto | null;
36904
+ roomTemperature?: boolean | null;
36905
+ weightLoss?: ImaResultValueDto | null;
36906
+ pitting?: boolean | null;
36907
+ result?: string | null;
36908
+ acceptable?: boolean | null;
36909
+ override?: ImaResultLineOverrideDto | null;
36910
+ }
36911
+
36912
+ export interface ImaFerriteResultDto extends ImaCdfEntityReadBase {
36913
+ sampleReference?: string | null;
36914
+ testLocation?: string | null;
36915
+ ferrite?: ImaResultValueDto | null;
36916
+ ferriteTolerance?: number | null;
36917
+ reportedRange?: string | null;
36918
+ intermetallicPhases?: boolean | null;
36919
+ grainSize?: string | null;
36920
+ testStandards: string[];
36921
+ override?: ImaResultLineOverrideDto | null;
36922
+ }
36923
+
36924
+ export interface ImaHeatTreatmentResultDto extends ImaCdfEntityReadBase {
36925
+ stepType?: string | null;
36926
+ treatmentName?: string | null;
36927
+ temperature?: ImaResultValueDto | null;
36928
+ temperatureMin?: number | null;
36929
+ temperatureMax?: number | null;
36930
+ soakTime?: ImaResultValueDto | null;
36931
+ soakRate?: string | null;
36932
+ coolingMedium?: string | null;
36933
+ override?: ImaResultLineOverrideDto | null;
36934
+ }
36935
+
36936
+ export interface ImaDocumentTypesResultsDto extends ImaCdfEntityReadBase {
36937
+ ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
36938
+ radiologicalReport?: ImaSupplementaryCheckResultDto | null;
36939
+ liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
36940
+ magneticParticle?: ImaSupplementaryCheckResultDto | null;
36941
+ pmi?: ImaSupplementaryCheckResultDto | null;
36942
+ hydrostatic?: ImaSupplementaryCheckResultDto | null;
36943
+ visualReport?: ImaSupplementaryCheckResultDto | null;
36944
+ dimensionalReport?: ImaSupplementaryCheckResultDto | null;
36945
+ microExaminationReport?: ImaSupplementaryCheckResultDto | null;
36338
36946
  }
36339
36947
 
36340
36948
  export interface ImaOverrideMaterialCheckRequestDto {
36341
36949
  certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
36342
- chemistrySpecificationSection?: ImaOverrideSpecificationChemistryResultsDto | null;
36343
- mechanicalSpecificationSection?: ImaOverrideSpecificationMechanicalResultsDto | null;
36344
- ferriteSpecificationSection?: ImaOverrideSpecificationFerriteResultsDto | null;
36345
- heatSpecificationSection?: ImaOverrideSpecificationHeatTreatmentResultsDto | null;
36950
+ chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36951
+ tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36952
+ hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36953
+ impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36954
+ corrosionTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36955
+ ferriteResultSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36956
+ documentTypesSection?: ImaOverrideDocumentTypesResultsDto | null;
36346
36957
  }
36347
36958
 
36348
36959
  export interface ImaOverrideCertificateTypeResultsDto {
@@ -36352,14 +36963,13 @@ export interface ImaOverrideCertificateTypeResultsDto {
36352
36963
  certification?: ImaOverrideCertificateTypeCertificationResultsDto | null;
36353
36964
  productAndOrderInformation?: ImaOverrideCertificateTypeProductAndOrderInformationResultsDto | null;
36354
36965
  testMethodsAndReferences?: ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto | null;
36355
- testResults?: ImaOverrideCertificateTypeTestResultsResultsDto | null;
36356
- documentTypes?: ImaOverrideCertificateTypeDocumentTypesResultsDto | null;
36357
36966
  }
36358
36967
 
36359
36968
  export interface ImaOverrideCertificateTypeManufacturerResultsDto {
36360
36969
  manufacturer?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36361
36970
  address?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36362
36971
  contact?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36972
+ steelPlant?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36363
36973
  }
36364
36974
 
36365
36975
  export interface ImaOverrideUpdateMaterialCheckResultLineDto {
@@ -36386,6 +36996,7 @@ export interface ImaOverrideCertificateTypeThirdPartyResultsDto {
36386
36996
  }
36387
36997
 
36388
36998
  export interface ImaOverrideCertificateTypeCertificationResultsDto {
36999
+ certificateType?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36389
37000
  certificateOfCompliance?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36390
37001
  inspectionCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36391
37002
  }
@@ -36398,66 +37009,23 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
36398
37009
  dimensionsOrWeight?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36399
37010
  batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36400
37011
  heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36401
- relatedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37012
+ relevantStandard?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36402
37013
  }
36403
37014
 
36404
37015
  export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
36405
37016
  usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36406
37017
  }
36407
37018
 
36408
- export interface ImaOverrideCertificateTypeTestResultsResultsDto {
36409
- mechanicalProperties?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36410
- chemicalAnalysis?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36411
- impactTests?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36412
- corrosionTests?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36413
- ferriteContentAndMicrostructure?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36414
- }
36415
-
36416
- export interface ImaOverrideCertificateTypeDocumentTypesResultsDto {
36417
- heatTreatmentCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37019
+ export interface ImaOverrideDocumentTypesResultsDto {
36418
37020
  ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37021
+ radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36419
37022
  liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36420
- testReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36421
- dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36422
- dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37023
+ magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37024
+ pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37025
+ hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36423
37026
  visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36424
- certificateOfAnalyticalAndMechanicalTests?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36425
- certificateOfTest?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36426
- technicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37027
+ dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36427
37028
  microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36428
- radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36429
- }
36430
-
36431
- export interface ImaOverrideSpecificationChemistryResultsDto {
36432
- carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36433
- manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36434
- silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36435
- phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36436
- sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36437
- chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36438
- nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36439
- molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36440
- copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36441
- nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36442
- wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36443
- iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36444
- }
36445
-
36446
- export interface ImaOverrideSpecificationMechanicalResultsDto {
36447
- yieldStrength?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36448
- tensileStrength?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36449
- elongation?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36450
- reductionOfArea?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36451
- impactEnergy?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36452
- hardness?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36453
- }
36454
-
36455
- export interface ImaOverrideSpecificationFerriteResultsDto {
36456
- ferriteContent?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
36457
- }
36458
-
36459
- export interface ImaOverrideSpecificationHeatTreatmentResultsDto {
36460
- heatTreatmentOverrides?: ImaOverrideUpdateMaterialCheckResultLineDto[] | null;
36461
37029
  }
36462
37030
 
36463
37031
  export interface ImaUpdateMaterialCheckMetadataRequestDto {
@@ -36515,7 +37083,7 @@ export interface ImaMaterialCheckLiteDto {
36515
37083
 
36516
37084
  export interface ImaMaterialChecksPageRequestDto {
36517
37085
  pageSize?: number | null;
36518
- orderBy?: ImaMaterialChecksPageOrderRequestDto[] | null;
37086
+ orderBy?: ImaMaterialChecksPageOrderRequestDto | null;
36519
37087
  searchQuery?: string | null;
36520
37088
  fileNameFilter?: string | null;
36521
37089
  specificationFilter?: string | null;
@@ -36686,6 +37254,7 @@ export interface ImaSpecificationDto {
36686
37254
  chemistrySpecification: ImaChemistrySpecificationDto;
36687
37255
  mechanicalSpecification: ImaMechanicalSpecificationDto;
36688
37256
  ferriteSpecification: ImaFerriteSpecificationDto;
37257
+ documentTypesSpecification: ImaDocumentTypesSpecificationDto;
36689
37258
  heatTreatmentSpecifications: ImaHeatTreatmentSpecificationDto[];
36690
37259
  }
36691
37260
 
@@ -36727,6 +37296,18 @@ export interface ImaFerriteSpecificationDto {
36727
37296
  ferriteContent?: ImaSpecificationLineDto | null;
36728
37297
  }
36729
37298
 
37299
+ export interface ImaDocumentTypesSpecificationDto {
37300
+ ultrasonicControlCertificate?: boolean;
37301
+ radiologicalReport?: boolean;
37302
+ liquidPenetrantCertificate?: boolean;
37303
+ magneticParticle?: boolean;
37304
+ pmi?: boolean;
37305
+ hydrostatic?: boolean;
37306
+ visualReport?: boolean;
37307
+ dimensionalReport?: boolean;
37308
+ microExaminationReport?: boolean;
37309
+ }
37310
+
36730
37311
  export interface ImaHeatTreatmentSpecificationDto {
36731
37312
  step: number;
36732
37313
  cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
@@ -36773,6 +37354,7 @@ export interface ImaUpdateSpecificationDto {
36773
37354
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
36774
37355
  mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
36775
37356
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
37357
+ documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
36776
37358
  heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
36777
37359
  }
36778
37360
 
@@ -37996,6 +38578,7 @@ export interface WorkorderDiscussionMessageDto {
37996
38578
  operationName?: string | null;
37997
38579
  resourceId?: string | null;
37998
38580
  created?: Date;
38581
+ messageType?: DiscussionMessageType;
37999
38582
  }
38000
38583
 
38001
38584
  export interface WorkOrderDiscussionContent {
@@ -38005,11 +38588,14 @@ export interface WorkOrderDiscussionContent {
38005
38588
 
38006
38589
  export type WorkOrderDiscussionContentType = 0 | 1;
38007
38590
 
38591
+ export type DiscussionMessageType = "Public" | "Planner";
38592
+
38008
38593
  export interface AddDiscussionMessageRequest {
38009
38594
  message: string;
38010
38595
  operationId?: string | null;
38011
38596
  operationName?: string | null;
38012
38597
  resourceId?: string | null;
38598
+ messageType?: DiscussionMessageType;
38013
38599
  }
38014
38600
 
38015
38601
  export interface WorkorderDiscussionReadStatusDto {