@ignos/api-client 20260621.159.1-alpha → 20260626.160.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.
@@ -12292,6 +12292,160 @@ export class MachinesClient extends AuthorizedApiBase implements IMachinesClient
12292
12292
  }
12293
12293
  }
12294
12294
 
12295
+ export interface IMachineDataClient {
12296
+
12297
+ getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
12298
+
12299
+ getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
12300
+
12301
+ exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
12302
+ }
12303
+
12304
+ export class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
12305
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
12306
+ private baseUrl: string;
12307
+
12308
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
12309
+ super(configuration);
12310
+ this.http = http ? http : window as any;
12311
+ this.baseUrl = baseUrl ?? "";
12312
+ }
12313
+
12314
+ getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto> {
12315
+ let url_ = this.baseUrl + "/machinedata/{assetId}/live-machinedata?";
12316
+ if (assetId === undefined || assetId === null)
12317
+ throw new globalThis.Error("The parameter 'assetId' must be defined.");
12318
+ url_ = url_.replace("{assetId}", encodeURIComponent("" + assetId));
12319
+ if (externalIds === null)
12320
+ throw new globalThis.Error("The parameter 'externalIds' cannot be null.");
12321
+ else if (externalIds !== undefined)
12322
+ externalIds && externalIds.forEach(item => { url_ += "externalIds=" + encodeURIComponent("" + item) + "&"; });
12323
+ url_ = url_.replace(/[?&]$/, "");
12324
+
12325
+ let options_: RequestInit = {
12326
+ method: "GET",
12327
+ headers: {
12328
+ "Accept": "application/json"
12329
+ }
12330
+ };
12331
+
12332
+ return this.transformOptions(options_).then(transformedOptions_ => {
12333
+ return this.http.fetch(url_, transformedOptions_);
12334
+ }).then((_response: Response) => {
12335
+ return this.processGetLiveMachineData(_response);
12336
+ });
12337
+ }
12338
+
12339
+ protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto> {
12340
+ const status = response.status;
12341
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12342
+ if (status === 200) {
12343
+ return response.text().then((_responseText) => {
12344
+ let result200: any = null;
12345
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as LiveMachineDataDto;
12346
+ return result200;
12347
+ });
12348
+ } else if (status !== 200 && status !== 204) {
12349
+ return response.text().then((_responseText) => {
12350
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12351
+ });
12352
+ }
12353
+ return Promise.resolve<LiveMachineDataDto>(null as any);
12354
+ }
12355
+
12356
+ getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto> {
12357
+ let url_ = this.baseUrl + "/machinedata/{assetId}/timeseries-graph?";
12358
+ if (assetId === undefined || assetId === null)
12359
+ throw new globalThis.Error("The parameter 'assetId' must be defined.");
12360
+ url_ = url_.replace("{assetId}", encodeURIComponent("" + assetId));
12361
+ if (externalIds === null)
12362
+ throw new globalThis.Error("The parameter 'externalIds' cannot be null.");
12363
+ else if (externalIds !== undefined)
12364
+ externalIds && externalIds.forEach(item => { url_ += "externalIds=" + encodeURIComponent("" + item) + "&"; });
12365
+ if (startTime === null)
12366
+ throw new globalThis.Error("The parameter 'startTime' cannot be null.");
12367
+ else if (startTime !== undefined)
12368
+ url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
12369
+ if (endTime === null)
12370
+ throw new globalThis.Error("The parameter 'endTime' cannot be null.");
12371
+ else if (endTime !== undefined)
12372
+ url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
12373
+ url_ = url_.replace(/[?&]$/, "");
12374
+
12375
+ let options_: RequestInit = {
12376
+ method: "GET",
12377
+ headers: {
12378
+ "Accept": "application/json"
12379
+ }
12380
+ };
12381
+
12382
+ return this.transformOptions(options_).then(transformedOptions_ => {
12383
+ return this.http.fetch(url_, transformedOptions_);
12384
+ }).then((_response: Response) => {
12385
+ return this.processGetTimeseriesGraph(_response);
12386
+ });
12387
+ }
12388
+
12389
+ protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto> {
12390
+ const status = response.status;
12391
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12392
+ if (status === 200) {
12393
+ return response.text().then((_responseText) => {
12394
+ let result200: any = null;
12395
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as TimeseriesGraphDto;
12396
+ return result200;
12397
+ });
12398
+ } else if (status !== 200 && status !== 204) {
12399
+ return response.text().then((_responseText) => {
12400
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12401
+ });
12402
+ }
12403
+ return Promise.resolve<TimeseriesGraphDto>(null as any);
12404
+ }
12405
+
12406
+ exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto> {
12407
+ let url_ = this.baseUrl + "/machinedata/{assetId}/timeseries-graph/export-csv";
12408
+ if (assetId === undefined || assetId === null)
12409
+ throw new globalThis.Error("The parameter 'assetId' must be defined.");
12410
+ url_ = url_.replace("{assetId}", encodeURIComponent("" + assetId));
12411
+ url_ = url_.replace(/[?&]$/, "");
12412
+
12413
+ const content_ = JSON.stringify(request);
12414
+
12415
+ let options_: RequestInit = {
12416
+ body: content_,
12417
+ method: "POST",
12418
+ headers: {
12419
+ "Content-Type": "application/json",
12420
+ "Accept": "application/json"
12421
+ }
12422
+ };
12423
+
12424
+ return this.transformOptions(options_).then(transformedOptions_ => {
12425
+ return this.http.fetch(url_, transformedOptions_);
12426
+ }).then((_response: Response) => {
12427
+ return this.processExportTimeseriesGraph(_response);
12428
+ });
12429
+ }
12430
+
12431
+ protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto> {
12432
+ const status = response.status;
12433
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
12434
+ if (status === 200) {
12435
+ return response.text().then((_responseText) => {
12436
+ let result200: any = null;
12437
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
12438
+ return result200;
12439
+ });
12440
+ } else if (status !== 200 && status !== 204) {
12441
+ return response.text().then((_responseText) => {
12442
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12443
+ });
12444
+ }
12445
+ return Promise.resolve<DownloadDto>(null as any);
12446
+ }
12447
+ }
12448
+
12295
12449
  export interface ILinksClient {
12296
12450
 
12297
12451
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
@@ -21383,6 +21537,132 @@ export class MesEngineeringChangeOrdersClient extends AuthorizedApiBase implemen
21383
21537
  }
21384
21538
  }
21385
21539
 
21540
+ export interface IMesIndirectActivitiesClient {
21541
+
21542
+ listIndirectActivities(): Promise<IndirectActivityDto[]>;
21543
+
21544
+ getMyActiveIndirectActivity(): Promise<CurrentIndirectActivityDto>;
21545
+
21546
+ startIndirectActivity(request: StartIndirectActivity): Promise<void>;
21547
+ }
21548
+
21549
+ export class MesIndirectActivitiesClient extends AuthorizedApiBase implements IMesIndirectActivitiesClient {
21550
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
21551
+ private baseUrl: string;
21552
+
21553
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
21554
+ super(configuration);
21555
+ this.http = http ? http : window as any;
21556
+ this.baseUrl = baseUrl ?? "";
21557
+ }
21558
+
21559
+ listIndirectActivities(): Promise<IndirectActivityDto[]> {
21560
+ let url_ = this.baseUrl + "/mes/indirect-activities";
21561
+ url_ = url_.replace(/[?&]$/, "");
21562
+
21563
+ let options_: RequestInit = {
21564
+ method: "GET",
21565
+ headers: {
21566
+ "Accept": "application/json"
21567
+ }
21568
+ };
21569
+
21570
+ return this.transformOptions(options_).then(transformedOptions_ => {
21571
+ return this.http.fetch(url_, transformedOptions_);
21572
+ }).then((_response: Response) => {
21573
+ return this.processListIndirectActivities(_response);
21574
+ });
21575
+ }
21576
+
21577
+ protected processListIndirectActivities(response: Response): Promise<IndirectActivityDto[]> {
21578
+ const status = response.status;
21579
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21580
+ if (status === 200) {
21581
+ return response.text().then((_responseText) => {
21582
+ let result200: any = null;
21583
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as IndirectActivityDto[];
21584
+ return result200;
21585
+ });
21586
+ } else if (status !== 200 && status !== 204) {
21587
+ return response.text().then((_responseText) => {
21588
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21589
+ });
21590
+ }
21591
+ return Promise.resolve<IndirectActivityDto[]>(null as any);
21592
+ }
21593
+
21594
+ getMyActiveIndirectActivity(): Promise<CurrentIndirectActivityDto> {
21595
+ let url_ = this.baseUrl + "/mes/myactiveindirectactivity";
21596
+ url_ = url_.replace(/[?&]$/, "");
21597
+
21598
+ let options_: RequestInit = {
21599
+ method: "GET",
21600
+ headers: {
21601
+ "Accept": "application/json"
21602
+ }
21603
+ };
21604
+
21605
+ return this.transformOptions(options_).then(transformedOptions_ => {
21606
+ return this.http.fetch(url_, transformedOptions_);
21607
+ }).then((_response: Response) => {
21608
+ return this.processGetMyActiveIndirectActivity(_response);
21609
+ });
21610
+ }
21611
+
21612
+ protected processGetMyActiveIndirectActivity(response: Response): Promise<CurrentIndirectActivityDto> {
21613
+ const status = response.status;
21614
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21615
+ if (status === 200) {
21616
+ return response.text().then((_responseText) => {
21617
+ let result200: any = null;
21618
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CurrentIndirectActivityDto;
21619
+ return result200;
21620
+ });
21621
+ } else if (status !== 200 && status !== 204) {
21622
+ return response.text().then((_responseText) => {
21623
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21624
+ });
21625
+ }
21626
+ return Promise.resolve<CurrentIndirectActivityDto>(null as any);
21627
+ }
21628
+
21629
+ startIndirectActivity(request: StartIndirectActivity): Promise<void> {
21630
+ let url_ = this.baseUrl + "/mes/start-indirect-activity";
21631
+ url_ = url_.replace(/[?&]$/, "");
21632
+
21633
+ const content_ = JSON.stringify(request);
21634
+
21635
+ let options_: RequestInit = {
21636
+ body: content_,
21637
+ method: "POST",
21638
+ headers: {
21639
+ "Content-Type": "application/json",
21640
+ }
21641
+ };
21642
+
21643
+ return this.transformOptions(options_).then(transformedOptions_ => {
21644
+ return this.http.fetch(url_, transformedOptions_);
21645
+ }).then((_response: Response) => {
21646
+ return this.processStartIndirectActivity(_response);
21647
+ });
21648
+ }
21649
+
21650
+ protected processStartIndirectActivity(response: Response): Promise<void> {
21651
+ const status = response.status;
21652
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21653
+ if (status === 204) {
21654
+ return response.text().then((_responseText) => {
21655
+ return;
21656
+ });
21657
+ } else if (status !== 200 && status !== 204) {
21658
+ return response.text().then((_responseText) => {
21659
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21660
+ });
21661
+ }
21662
+ return Promise.resolve<void>(null as any);
21663
+ }
21664
+ }
21665
+
21386
21666
  export interface IMesLinksClient {
21387
21667
 
21388
21668
  addMesLink(request: AddMesLink): Promise<void>;
@@ -21693,61 +21973,6 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
21693
21973
  }
21694
21974
  }
21695
21975
 
21696
- export interface IMesPlannerClient {
21697
-
21698
- getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto>;
21699
- }
21700
-
21701
- export class MesPlannerClient extends AuthorizedApiBase implements IMesPlannerClient {
21702
- private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
21703
- private baseUrl: string;
21704
-
21705
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
21706
- super(configuration);
21707
- this.http = http ? http : window as any;
21708
- this.baseUrl = baseUrl ?? "";
21709
- }
21710
-
21711
- getPlan(resourceGroupId: string | undefined): Promise<PlannerPlanDto> {
21712
- let url_ = this.baseUrl + "/mes/planner/plan?";
21713
- if (resourceGroupId === null)
21714
- throw new globalThis.Error("The parameter 'resourceGroupId' cannot be null.");
21715
- else if (resourceGroupId !== undefined)
21716
- url_ += "resourceGroupId=" + encodeURIComponent("" + resourceGroupId) + "&";
21717
- url_ = url_.replace(/[?&]$/, "");
21718
-
21719
- let options_: RequestInit = {
21720
- method: "GET",
21721
- headers: {
21722
- "Accept": "application/json"
21723
- }
21724
- };
21725
-
21726
- return this.transformOptions(options_).then(transformedOptions_ => {
21727
- return this.http.fetch(url_, transformedOptions_);
21728
- }).then((_response: Response) => {
21729
- return this.processGetPlan(_response);
21730
- });
21731
- }
21732
-
21733
- protected processGetPlan(response: Response): Promise<PlannerPlanDto> {
21734
- const status = response.status;
21735
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21736
- if (status === 200) {
21737
- return response.text().then((_responseText) => {
21738
- let result200: any = null;
21739
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PlannerPlanDto;
21740
- return result200;
21741
- });
21742
- } else if (status !== 200 && status !== 204) {
21743
- return response.text().then((_responseText) => {
21744
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21745
- });
21746
- }
21747
- return Promise.resolve<PlannerPlanDto>(null as any);
21748
- }
21749
- }
21750
-
21751
21976
  export interface IMesProductionOrderClient {
21752
21977
 
21753
21978
  getProductionOrder(id: string): Promise<ProductionOrderDto>;
@@ -23441,7 +23666,7 @@ export interface IInspectMatchMaterialChecksAdminClient {
23441
23666
 
23442
23667
  updateMaterialCheckOverrides(id: string, request: ImaOverrideMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
23443
23668
 
23444
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto>;
23669
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto>;
23445
23670
 
23446
23671
  updateMaterialCheckMetadata(id: string, metadataRequest: ImaUpdateMaterialCheckMetadataRequestDto): Promise<ImaMaterialCheckDto>;
23447
23672
 
@@ -23500,7 +23725,7 @@ export class InspectMatchMaterialChecksAdminClient extends AuthorizedApiBase imp
23500
23725
  return Promise.resolve<ImaMaterialCheckDto>(null as any);
23501
23726
  }
23502
23727
 
23503
- updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatus | undefined): Promise<ImaMaterialCheckDto> {
23728
+ updateMaterialCheckStatus(id: string, status: ImaMaterialCheckStatusDto | undefined): Promise<ImaMaterialCheckDto> {
23504
23729
  let url_ = this.baseUrl + "/inspect/match/material-checks/status/{id}?";
23505
23730
  if (id === undefined || id === null)
23506
23731
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -32815,6 +33040,47 @@ export interface CrossCompanyUtilizationSummaryDto {
32815
33040
  companies: MachineGroupUtilizationDto[];
32816
33041
  }
32817
33042
 
33043
+ export interface LiveMachineDataDto {
33044
+ assetId?: number;
33045
+ dataPoints?: LiveMachineDataPointDto[];
33046
+ }
33047
+
33048
+ export interface LiveMachineDataPointDto {
33049
+ externalId?: string;
33050
+ timestamp?: number | null;
33051
+ numericValue?: number | null;
33052
+ stringValue?: string | null;
33053
+ }
33054
+
33055
+ export interface TimeseriesGraphDto {
33056
+ assetId?: number;
33057
+ series?: TimeseriesGraphSeriesDto[];
33058
+ }
33059
+
33060
+ export interface TimeseriesGraphSeriesDto {
33061
+ externalId?: string;
33062
+ isString?: boolean;
33063
+ dataPoints?: TimeseriesGraphDataPointDto[];
33064
+ }
33065
+
33066
+ export interface TimeseriesGraphDataPointDto {
33067
+ timestamp?: number;
33068
+ numericValue?: number | null;
33069
+ stringValue?: string | null;
33070
+ }
33071
+
33072
+ export interface ExportTimeseriesGraphRequest {
33073
+ series?: TimeseriesExportSeries[];
33074
+ startTime?: Date;
33075
+ endTime?: Date;
33076
+ }
33077
+
33078
+ export interface TimeseriesExportSeries {
33079
+ externalId?: string;
33080
+ displayName?: string | null;
33081
+ unit?: string | null;
33082
+ }
33083
+
32818
33084
  export interface LinkDto {
32819
33085
  id: string;
32820
33086
  uri: string;
@@ -34635,6 +34901,22 @@ export interface EngineeringChangeOrdersDto {
34635
34901
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
34636
34902
  }
34637
34903
 
34904
+ export interface IndirectActivityDto {
34905
+ activityId: string;
34906
+ name: string;
34907
+ companyId: string;
34908
+ }
34909
+
34910
+ export interface CurrentIndirectActivityDto {
34911
+ activityId?: string | null;
34912
+ personnelNumber?: string | null;
34913
+ startTime?: Date | null;
34914
+ }
34915
+
34916
+ export interface StartIndirectActivity {
34917
+ activityId: string;
34918
+ }
34919
+
34638
34920
  export interface AddMesLink {
34639
34921
  uri: string;
34640
34922
  name: string;
@@ -34683,41 +34965,6 @@ export interface LabelId {
34683
34965
  trackingId?: string | null;
34684
34966
  }
34685
34967
 
34686
- export interface PlannerPlanDto {
34687
- resourceGroupId: string;
34688
- sequence: PlannerOperationDto[];
34689
- lockedCount: number;
34690
- planSavedAt?: Date | null;
34691
- isDraft: boolean;
34692
- hasUserDraft: boolean;
34693
- }
34694
-
34695
- export interface PlannerOperationDto {
34696
- id: string;
34697
- productionOrderNumber: string;
34698
- operation: number;
34699
- operationName: string;
34700
- plannedStart: Date;
34701
- plannedEnd?: Date | null;
34702
- status: OperationStatusDto;
34703
- resourceId: string;
34704
- resourceName: string;
34705
- resourceDepartmentNumber?: string | null;
34706
- resourceDepartmentName?: string | null;
34707
- partNumber: string;
34708
- partName?: string | null;
34709
- partMaterial?: string | null;
34710
- quantity: number;
34711
- producedQuantity: number;
34712
- totalPlannedHours?: number;
34713
- totalUsedHours?: number;
34714
- customerName?: string | null;
34715
- project?: WorkOrderProjectDto | null;
34716
- sequenceNumber: number;
34717
- isManuallyLocked: boolean;
34718
- weekGroup: string;
34719
- }
34720
-
34721
34968
  export interface ProductionOrderDto {
34722
34969
  id: string;
34723
34970
  companyId: string;
@@ -35350,26 +35597,22 @@ export interface WeldingIotConfigDto {
35350
35597
  export interface CreateWeldingIotConfig {
35351
35598
  }
35352
35599
 
35353
- export interface ImaCdfEntityReadBase {
35354
- }
35355
-
35356
- export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
35357
- companyId: string;
35600
+ export interface ImaCertificateTypeDto {
35358
35601
  certificateTypeId: string;
35359
35602
  version: number;
35360
35603
  allVersions: ImaCertificateTypeVersionDto[];
35361
35604
  name: string;
35362
35605
  revision: string;
35363
- status: ImaCertificateTypeStatus;
35606
+ status: ImaCertificateTypeStatusDto;
35364
35607
  description?: string | null;
35365
35608
  isStandardCertificateType: boolean;
35366
35609
  created: Date;
35367
35610
  createdBy: string;
35368
35611
  createdById: string;
35369
- createdByName: string;
35612
+ createdByName?: string | null;
35370
35613
  updatedBy: string;
35371
35614
  updatedById: string;
35372
- updatedByName: string;
35615
+ updatedByName?: string | null;
35373
35616
  updated: Date;
35374
35617
  isDeleted: boolean;
35375
35618
  requirements: ImaCertificateTypeRequirementsDto;
@@ -35377,10 +35620,10 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
35377
35620
 
35378
35621
  export interface ImaCertificateTypeVersionDto {
35379
35622
  version?: number;
35380
- status?: ImaCertificateTypeStatus;
35623
+ status?: ImaCertificateTypeStatusDto;
35381
35624
  }
35382
35625
 
35383
- export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35626
+ export type ImaCertificateTypeStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35384
35627
 
35385
35628
  export interface ImaCertificateTypeRequirementsDto {
35386
35629
  manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
@@ -35393,6 +35636,9 @@ export interface ImaCertificateTypeRequirementsDto {
35393
35636
  documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
35394
35637
  }
35395
35638
 
35639
+ export interface ImaCdfEntityReadBase {
35640
+ }
35641
+
35396
35642
  export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
35397
35643
  manufacturer?: boolean;
35398
35644
  address?: boolean;
@@ -35469,7 +35715,7 @@ export interface ImaCreateOrCopyCertificateTypeRequestDto {
35469
35715
  export interface ImaUpdateImaCertificateTypeRequestDto {
35470
35716
  name?: string | null;
35471
35717
  revision?: string | null;
35472
- status?: ImaCertificateTypeStatus | null;
35718
+ status?: ImaCertificateTypeStatusDto | null;
35473
35719
  description?: string | null;
35474
35720
  requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
35475
35721
  }
@@ -35552,21 +35798,21 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
35552
35798
  radiologicalReport?: boolean | null;
35553
35799
  }
35554
35800
 
35555
- export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
35801
+ export interface ImaCertificateTypeLiteDto {
35556
35802
  certificateTypeId: string;
35557
35803
  version: number;
35558
35804
  name: string;
35559
35805
  revision: string;
35560
- status: ImaCertificateTypeStatus;
35806
+ status: ImaCertificateTypeStatusDto;
35561
35807
  description?: string | null;
35562
35808
  isStandardCertificateType: boolean;
35563
35809
  created: Date;
35564
35810
  createdBy: string;
35565
35811
  createdById: string;
35566
- createdByName: string;
35812
+ createdByName?: string | null;
35567
35813
  updatedBy: string;
35568
35814
  updatedById: string;
35569
- updatedByName: string;
35815
+ updatedByName?: string | null;
35570
35816
  updated: Date;
35571
35817
  isDeleted: boolean;
35572
35818
  }
@@ -35583,27 +35829,29 @@ export interface ImaMaterialCheckDto {
35583
35829
  certificateTypeVersion?: number | null;
35584
35830
  certificateTypeName?: string | null;
35585
35831
  certificateTypeRevision?: string | null;
35832
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
35586
35833
  specificationId: string;
35587
35834
  specificationVersion: number;
35588
35835
  specificationName: string;
35589
- specificationRevision: string;
35590
- specificationStatus: ImaSpecificationStatus;
35591
- certificateTypeStatus: ImaCertificateTypeStatus;
35836
+ specificationRevision?: string | null;
35837
+ specificationStatus: ImaSpecificationStatusDto;
35592
35838
  purchaseOrder?: string | null;
35593
35839
  purchaseOrderLine?: number | null;
35594
35840
  purchaseOrderVendorBatches?: string[] | null;
35595
35841
  purchaseOrderPartName?: string | null;
35596
35842
  purchaseOrderPartNumber?: string | null;
35843
+ purchaseOrderPartRevision?: string | null;
35597
35844
  purchaseOrderDrawing?: string | null;
35845
+ purchaseOrderDrawingRevision?: string | null;
35598
35846
  heatNumber?: string | null;
35599
- status: ImaMaterialCheckStatus;
35847
+ status: ImaMaterialCheckStatusDto;
35600
35848
  created: Date;
35601
35849
  createdBy: string;
35602
35850
  createdById: string;
35603
- createdByName: string;
35851
+ createdByName?: string | null;
35604
35852
  updatedBy: string;
35605
35853
  updatedById: string;
35606
- updatedByName: string;
35854
+ updatedByName?: string | null;
35607
35855
  isDeleted: boolean;
35608
35856
  reportCreatedBy?: string | null;
35609
35857
  reportCreatedById?: string | null;
@@ -35613,9 +35861,9 @@ export interface ImaMaterialCheckDto {
35613
35861
  specificationResults: ImaSpecificationResultsDto;
35614
35862
  }
35615
35863
 
35616
- export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35864
+ export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35617
35865
 
35618
- export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
35866
+ export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
35619
35867
 
35620
35868
  export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
35621
35869
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
@@ -35736,11 +35984,11 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
35736
35984
  specificationMin?: number | null;
35737
35985
  specificationMax?: number | null;
35738
35986
  readValue?: string | null;
35739
- status: ImaSpecificationResultLineStatus;
35987
+ status: ImaSpecificationResultLineStatusDto;
35740
35988
  override?: ImaResultLineOverrideDto | null;
35741
35989
  }
35742
35990
 
35743
- export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
35991
+ export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
35744
35992
 
35745
35993
  export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
35746
35994
  yieldStrength?: ImaSpecificationResultLineDto | null;
@@ -35759,7 +36007,7 @@ export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBa
35759
36007
  specificationMin?: number | null;
35760
36008
  specificationMax?: number | null;
35761
36009
  readValue?: string | null;
35762
- status: ImaSpecificationResultLineStatus;
36010
+ status: ImaSpecificationResultLineStatusDto;
35763
36011
  override?: ImaResultLineOverrideDto | null;
35764
36012
  measurementMethod?: string | null;
35765
36013
  }
@@ -35928,27 +36176,29 @@ export interface ImaMaterialCheckLiteDto {
35928
36176
  certificateTypeVersion?: number | null;
35929
36177
  certificateTypeName?: string | null;
35930
36178
  certificateTypeRevision?: string | null;
36179
+ certificateTypeStatus: ImaCertificateTypeStatusDto;
35931
36180
  specificationId: string;
35932
36181
  specificationVersion: number;
35933
36182
  specificationName: string;
35934
- specificationRevision: string;
36183
+ specificationRevision?: string | null;
36184
+ specificationStatus: ImaSpecificationStatusDto;
35935
36185
  purchaseOrder?: string | null;
35936
36186
  purchaseOrderLine?: number | null;
35937
36187
  purchaseOrderVendorBatches?: string[] | null;
35938
36188
  purchaseOrderPartName?: string | null;
35939
36189
  purchaseOrderPartNumber?: string | null;
36190
+ purchaseOrderPartRevision?: string | null;
35940
36191
  purchaseOrderDrawing?: string | null;
36192
+ purchaseOrderDrawingRevision?: string | null;
35941
36193
  heatNumber?: string | null;
35942
- status: ImaMaterialCheckStatus;
35943
- specificationStatus: ImaSpecificationStatus;
35944
- certificateTypeStatus: ImaCertificateTypeStatus;
36194
+ status: ImaMaterialCheckStatusDto;
35945
36195
  created: Date;
35946
36196
  createdBy: string;
35947
36197
  createdById: string;
35948
- createdByName: string;
36198
+ createdByName?: string | null;
35949
36199
  updatedBy: string;
35950
36200
  updatedById: string;
35951
- updatedByName: string;
36201
+ updatedByName?: string | null;
35952
36202
  isDeleted?: boolean;
35953
36203
  reportCreatedBy?: string | null;
35954
36204
  reportCreatedById?: string | null;
@@ -35975,18 +36225,18 @@ export interface ImaMaterialChecksPageRequestDto {
35975
36225
  purchaseOrderDrawingFilter?: string | null;
35976
36226
  dateFromFilter?: Date | null;
35977
36227
  dateToFilter?: Date | null;
35978
- statusFilter?: ImaMaterialCheckStatus[] | null;
36228
+ statusFilter?: ImaMaterialCheckStatusDto[] | null;
35979
36229
  continuationToken?: string | null;
35980
36230
  }
35981
36231
 
35982
36232
  export interface ImaMaterialChecksPageOrderRequestDto {
35983
- column?: ImaMaterialChecksOrderByColumn;
35984
- direction?: ImaOrderDirection;
36233
+ column?: ImaMaterialChecksOrderByColumnDto;
36234
+ direction?: ImaOrderDirectionDto;
35985
36235
  }
35986
36236
 
35987
- export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
36237
+ export type ImaMaterialChecksOrderByColumnDto = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
35988
36238
 
35989
- export type ImaOrderDirection = "Asc" | "Desc";
36239
+ export type ImaOrderDirectionDto = "Asc" | "Desc";
35990
36240
 
35991
36241
  export interface ProcessMaterialCertificate {
35992
36242
  files: UploadFileCdfDto[];
@@ -36106,7 +36356,7 @@ export interface ImaUpdateMatchSettingsColumnsDto {
36106
36356
  status: boolean;
36107
36357
  }
36108
36358
 
36109
- export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
36359
+ export interface ImaSpecificationDto {
36110
36360
  specificationId: string;
36111
36361
  version: number;
36112
36362
  allVersions: ImaSpecificationVersionDto[];
@@ -36114,16 +36364,16 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
36114
36364
  number: string;
36115
36365
  revision: string;
36116
36366
  date: Date;
36117
- status: ImaSpecificationStatus;
36367
+ status: ImaSpecificationStatusDto;
36118
36368
  summary?: string | null;
36119
36369
  relatedStandards: string[];
36120
36370
  created: Date;
36121
36371
  createdBy: string;
36122
36372
  createdById: string;
36123
- createdByName: string;
36373
+ createdByName?: string | null;
36124
36374
  updatedBy: string;
36125
36375
  updatedById: string;
36126
- updatedByName: string;
36376
+ updatedByName?: string | null;
36127
36377
  updated: Date;
36128
36378
  isDeleted: boolean;
36129
36379
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -36134,10 +36384,10 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
36134
36384
 
36135
36385
  export interface ImaSpecificationVersionDto {
36136
36386
  version?: number;
36137
- status?: ImaSpecificationStatus;
36387
+ status?: ImaSpecificationStatusDto;
36138
36388
  }
36139
36389
 
36140
- export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
36390
+ export interface ImaChemistrySpecificationDto {
36141
36391
  carbon?: ImaSpecificationLineDto | null;
36142
36392
  manganese?: ImaSpecificationLineDto | null;
36143
36393
  silicon?: ImaSpecificationLineDto | null;
@@ -36157,7 +36407,7 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
36157
36407
  max?: number | null;
36158
36408
  }
36159
36409
 
36160
- export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
36410
+ export interface ImaMechanicalSpecificationDto {
36161
36411
  yieldStrength?: ImaSpecificationLineDto | null;
36162
36412
  tensileStrength?: ImaSpecificationLineDto | null;
36163
36413
  elongation?: ImaSpecificationLineDto | null;
@@ -36166,31 +36416,31 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
36166
36416
  hardness?: ImaSpecificationLineDto | null;
36167
36417
  }
36168
36418
 
36169
- export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
36419
+ export interface ImaFerriteSpecificationDto {
36170
36420
  ferriteContent?: ImaSpecificationLineDto | null;
36171
36421
  }
36172
36422
 
36173
- export interface ImaHeatTreatmentSpecificationDto extends ImaCdfEntityReadBase {
36423
+ export interface ImaHeatTreatmentSpecificationDto {
36174
36424
  step: number;
36175
36425
  cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
36176
36426
  heating?: ImaHeatTreatmentSpecificationHeatingDto | null;
36177
36427
  }
36178
36428
 
36179
- export interface ImaHeatTreatmentSpecificationCoolingDto extends ImaCdfEntityReadBase {
36180
- coolingMethods: ImaHeatTreatmentCoolingMethod[];
36429
+ export interface ImaHeatTreatmentSpecificationCoolingDto {
36430
+ coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
36181
36431
  temperature?: ImaSpecificationLineDto | null;
36182
36432
  duration?: ImaSpecificationLineDto | null;
36183
36433
  }
36184
36434
 
36185
- export type ImaHeatTreatmentCoolingMethod = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
36435
+ export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
36186
36436
 
36187
- export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityReadBase {
36188
- heatingMethod: ImaHeatTreatmentHeatingMethod;
36437
+ export interface ImaHeatTreatmentSpecificationHeatingDto {
36438
+ heatingMethod: ImaHeatTreatmentHeatingMethodDto;
36189
36439
  temperature?: ImaSpecificationLineDto | null;
36190
36440
  duration?: ImaSpecificationLineDto | null;
36191
36441
  }
36192
36442
 
36193
- export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
36443
+ export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
36194
36444
 
36195
36445
  export interface ImaCreateSpecificationRequestDto {
36196
36446
  name: string;
@@ -36210,7 +36460,7 @@ export interface ImaCopySpecificationRequestDto {
36210
36460
  export interface ImaUpdateSpecificationDto {
36211
36461
  name?: string | null;
36212
36462
  number?: string | null;
36213
- status?: ImaSpecificationStatus | null;
36463
+ status?: ImaSpecificationStatusDto | null;
36214
36464
  summary?: string | null;
36215
36465
  relatedStandards?: string[] | null;
36216
36466
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
@@ -36219,23 +36469,24 @@ export interface ImaUpdateSpecificationDto {
36219
36469
  heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
36220
36470
  }
36221
36471
 
36222
- export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
36472
+ export interface ImaSpecificationLiteDto {
36223
36473
  specificationId: string;
36224
36474
  version: number;
36225
36475
  name: string;
36226
36476
  number: string;
36227
36477
  revision: string;
36228
36478
  date: Date;
36229
- status: ImaSpecificationStatus;
36479
+ status: ImaSpecificationStatusDto;
36230
36480
  summary?: string | null;
36231
36481
  relatedStandards: string[];
36232
36482
  created: Date;
36233
36483
  createdBy: string;
36234
36484
  createdById: string;
36235
- createdByName: string;
36485
+ createdByName?: string | null;
36236
36486
  updatedBy: string;
36237
36487
  updatedById: string;
36238
- updatedByName: string;
36488
+ updatedByName?: string | null;
36489
+ updated: Date;
36239
36490
  isDeleted: boolean;
36240
36491
  }
36241
36492