@ignos/api-client 20260319.82.1 → 20260320.83.1-alpha

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.
@@ -2327,7 +2327,6 @@ export interface IMesLinksClient {
2327
2327
  listUnmappedMesLinks(): Promise<MesLinkDto[]>;
2328
2328
  updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
2329
2329
  deleteMesLink(id: string): Promise<void>;
2330
- getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
2331
2330
  }
2332
2331
  export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
2333
2332
  private http;
@@ -2345,8 +2344,6 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
2345
2344
  protected processUpdateMesLink(response: Response): Promise<FileResponse>;
2346
2345
  deleteMesLink(id: string): Promise<void>;
2347
2346
  protected processDeleteMesLink(response: Response): Promise<void>;
2348
- getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
2349
- protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto>;
2350
2347
  }
2351
2348
  export interface IMesOrMoveClient {
2352
2349
  getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
@@ -2516,6 +2513,7 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
2516
2513
  export interface IInspectMatchCertificateChecksClient {
2517
2514
  listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
2518
2515
  getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
2516
+ deleteMaterialCheck(id: string): Promise<void>;
2519
2517
  processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
2520
2518
  updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
2521
2519
  }
@@ -2529,6 +2527,8 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
2529
2527
  protected processListMaterialCertificateChecks(response: Response): Promise<ImaMaterialChecksPageDto>;
2530
2528
  getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
2531
2529
  protected processGetMaterialCertificateCheck(response: Response): Promise<ImaMaterialCheckDto>;
2530
+ deleteMaterialCheck(id: string): Promise<void>;
2531
+ protected processDeleteMaterialCheck(response: Response): Promise<void>;
2532
2532
  processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
2533
2533
  protected processProcessMaterialCertificate(response: Response): Promise<void>;
2534
2534
  updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
@@ -2537,8 +2537,8 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
2537
2537
  export interface IInspectMatchCertificateTypesClient {
2538
2538
  listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
2539
2539
  getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2540
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2541
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2540
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2541
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
2542
2542
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2543
2543
  copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2544
2544
  createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
@@ -2554,10 +2554,10 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
2554
2554
  protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]>;
2555
2555
  getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2556
2556
  protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2557
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2558
- protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2559
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2560
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
2557
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2558
+ protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2559
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
2560
+ protected processDeleteMaterialCertificateType(response: Response): Promise<void>;
2561
2561
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2562
2562
  protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2563
2563
  copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
@@ -2570,12 +2570,15 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
2570
2570
  export interface IInspectMatchSpecificationsClient {
2571
2571
  listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2572
2572
  getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2573
- updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2574
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2575
- createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2573
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2574
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
2575
+ createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2576
2576
  copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2577
2577
  createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2578
2578
  releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2579
+ getAllUnits(): Promise<ImaSpecificationUnit[]>;
2580
+ getAllHeatTreatmentCoolingMethods(): Promise<ImaHeatTreatmentCoolingMethod[]>;
2581
+ getAllHeatTreatmentHeatingMethods(): Promise<ImaHeatTreatmentHeatingMethod[]>;
2579
2582
  }
2580
2583
  export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
2581
2584
  private http;
@@ -2587,18 +2590,24 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
2587
2590
  protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2588
2591
  getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2589
2592
  protected processGetSpecification(response: Response): Promise<ImaSpecificationDto>;
2590
- updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2591
- protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto>;
2592
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
2593
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
2594
- createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2595
- protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto>;
2593
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2594
+ protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
2595
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
2596
+ protected processDeleteSpecification(response: Response): Promise<void>;
2597
+ createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2598
+ protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto>;
2596
2599
  copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2597
2600
  protected processCopySpecification(response: Response): Promise<ImaSpecificationDto>;
2598
2601
  createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2599
2602
  protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto>;
2600
2603
  releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2601
2604
  protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto>;
2605
+ getAllUnits(): Promise<ImaSpecificationUnit[]>;
2606
+ protected processGetAllUnits(response: Response): Promise<ImaSpecificationUnit[]>;
2607
+ getAllHeatTreatmentCoolingMethods(): Promise<ImaHeatTreatmentCoolingMethod[]>;
2608
+ protected processGetAllHeatTreatmentCoolingMethods(response: Response): Promise<ImaHeatTreatmentCoolingMethod[]>;
2609
+ getAllHeatTreatmentHeatingMethods(): Promise<ImaHeatTreatmentHeatingMethod[]>;
2610
+ protected processGetAllHeatTreatmentHeatingMethods(response: Response): Promise<ImaHeatTreatmentHeatingMethod[]>;
2602
2611
  }
2603
2612
  export interface IMeasurementFormSchemasAdminClient {
2604
2613
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -6365,10 +6374,6 @@ export interface WorkspaceDto {
6365
6374
  widgetSettings: {
6366
6375
  [key: string]: string;
6367
6376
  };
6368
- isSystemManaged?: boolean;
6369
- systemManagedKind?: string | null;
6370
- sourceTemplateId?: string | null;
6371
- sourceMachineId?: string | null;
6372
6377
  }
6373
6378
  export interface WorkspaceWidgetDto {
6374
6379
  id: string;
@@ -6831,11 +6836,10 @@ export interface EngineeringChangeOrdersDto {
6831
6836
  engineeringChangeOrders?: EngineeringChangeOrderDto[];
6832
6837
  }
6833
6838
  export interface AddMesLink {
6834
- uri?: string;
6835
- name?: string;
6839
+ uri?: string | null;
6840
+ name?: string | null;
6836
6841
  type?: MesLinkTypeDto;
6837
- openInNewTab?: boolean;
6838
- description?: string | null;
6842
+ companyId?: string | null;
6839
6843
  }
6840
6844
  export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
6841
6845
  export interface MesLinkDto {
@@ -6843,22 +6847,14 @@ export interface MesLinkDto {
6843
6847
  uri?: string;
6844
6848
  name?: string;
6845
6849
  type?: MesLinkTypeDto;
6846
- openInNewTab?: boolean;
6847
- description?: string | null;
6850
+ companyId?: string;
6848
6851
  }
6849
6852
  export interface UpdateMesLink {
6850
- id?: string;
6851
- uri?: string;
6852
- name?: string;
6853
+ id?: string | null;
6854
+ uri?: string | null;
6855
+ name?: string | null;
6853
6856
  type?: MesLinkTypeDto;
6854
- openInNewTab?: boolean;
6855
- description?: string | null;
6856
- displayBeforeId?: string | null;
6857
- }
6858
- export interface MesLinkPlaceholdersDto {
6859
- static: string[];
6860
- workOrder: string[];
6861
- operation: string[];
6857
+ companyId?: string | null;
6862
6858
  }
6863
6859
  export interface GeneratePrintableLabel {
6864
6860
  labelIds: LabelId[];
@@ -7463,6 +7459,7 @@ export interface ImaMaterialCheckLiteDto {
7463
7459
  createdById: string;
7464
7460
  updatedBy?: string | null;
7465
7461
  updatedById?: string | null;
7462
+ isDeleted?: boolean;
7466
7463
  }
7467
7464
  export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
7468
7465
  export interface ImaMaterialChecksPageRequestDto {
@@ -7510,6 +7507,7 @@ export interface ImaMaterialCheckDto {
7510
7507
  createdById: string;
7511
7508
  updatedBy?: string | null;
7512
7509
  updatedById?: string | null;
7510
+ isDeleted?: boolean;
7513
7511
  certificateTypeResults: ImaCertificateTypeResultsDto;
7514
7512
  specificationChemistry: ImaSpecificationChemistryResultsDto;
7515
7513
  specificationMechanical: ImaSpecificationMechanicalResultsDto;
@@ -7646,22 +7644,22 @@ export interface ImaSpecificationHeatTreatmentResultsDto {
7646
7644
  heatTreatments: ImaSpecificationHeatTreatmentsResultLineDto[];
7647
7645
  }
7648
7646
  export interface ImaSpecificationHeatTreatmentsResultLineDto {
7649
- heatingMethod: ImaHeatingTreatmentMethod;
7647
+ heatTreatmentHeatingMethod: ImaHeatTreatmentHeatingMethod;
7650
7648
  specificationHeatingTreatmentTemperature?: number | null;
7651
7649
  specificationHeatingHoldingTime?: number | null;
7652
7650
  heatingTreatmentTemperature?: number | null;
7653
7651
  heatingHoldingTime?: number | null;
7654
- specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
7652
+ specificationCoolingMethods?: ImaHeatTreatmentCoolingMethod[] | null;
7655
7653
  specificationCoolingTreatmentTemperature?: number | null;
7656
7654
  specificationCoolingHoldingTime?: number | null;
7657
- coolingMethod?: ImaCoolingTreatmentMethod | null;
7655
+ coolingMethod?: ImaHeatTreatmentCoolingMethod | null;
7658
7656
  coolingTreatmentTemperature?: number | null;
7659
7657
  coolingHoldingTime?: number | null;
7660
7658
  status: ImaSpecificationResultLineStatus;
7661
7659
  override?: ImaResultLineOverrideDto | null;
7662
7660
  }
7663
- export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
7664
- export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
7661
+ export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
7662
+ export type ImaHeatTreatmentCoolingMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
7665
7663
  export interface ProcessImaCheckRequestDto {
7666
7664
  files: UploadFileDto[];
7667
7665
  specificationId: string;
@@ -7802,6 +7800,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
7802
7800
  updatedBy?: string | null;
7803
7801
  updatedById?: string | null;
7804
7802
  updated: Date;
7803
+ isDeleted: boolean;
7805
7804
  }
7806
7805
  export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7807
7806
  export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
@@ -7819,6 +7818,7 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
7819
7818
  updatedBy?: string | null;
7820
7819
  updatedById?: string | null;
7821
7820
  updated: Date;
7821
+ isDeleted: boolean;
7822
7822
  requirements: ImaCertificateTypeRequirementsDto;
7823
7823
  }
7824
7824
  export interface ImaCertificateTypeVersionDto {
@@ -7990,6 +7990,7 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
7990
7990
  createdById: string;
7991
7991
  updatedBy: string;
7992
7992
  updatedById: string;
7993
+ isDeleted: boolean;
7993
7994
  }
7994
7995
  export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
7995
7996
  export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
@@ -8009,10 +8010,11 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8009
8010
  updatedBy: string;
8010
8011
  updatedById: string;
8011
8012
  updated: Date;
8013
+ isDeleted: boolean;
8012
8014
  chemistrySpecification: ImaChemistrySpecificationDto;
8013
8015
  mechanicalSpecification: ImaMechanicalSpecificationDto;
8014
8016
  ferriteSpecification: ImaFerriteSpecificationDto;
8015
- heatSpecification: ImaHeatTreatmentSpecificationDto;
8017
+ heatSpecifications: ImaHeatSpecificationDto[];
8016
8018
  }
8017
8019
  export interface ImaSpecificationVersionDto {
8018
8020
  version?: number;
@@ -8036,10 +8038,10 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8036
8038
  operator: ImaSpecificationOperator;
8037
8039
  value1: number;
8038
8040
  value2?: number | null;
8039
- symbol: ImaSpecificationSymbol;
8041
+ unit: ImaSpecificationUnit;
8040
8042
  }
8041
8043
  export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
8042
- export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
8044
+ export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
8043
8045
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8044
8046
  yieldStrength?: ImaSpecificationLineDto | null;
8045
8047
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -8051,16 +8053,20 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8051
8053
  export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
8052
8054
  ferriteContent?: ImaSpecificationLineDto | null;
8053
8055
  }
8054
- export interface ImaHeatTreatmentSpecificationDto {
8055
- heatTreatments: ImaHeatTreatmentsSpecificationDto[];
8056
+ export interface ImaHeatSpecificationDto extends ImaCdfEntityReadBase {
8057
+ step: number;
8058
+ cooling?: ImaHeatSpecificationCooling | null;
8059
+ heating?: ImaHeatSpecificationHeating | null;
8056
8060
  }
8057
- export interface ImaHeatTreatmentsSpecificationDto {
8058
- heatingMethod: ImaHeatingTreatmentMethod;
8059
- heatingTreatmentTemperature?: number | null;
8060
- heatingHoldingTime?: number | null;
8061
- coolingMethods?: ImaCoolingTreatmentMethod[] | null;
8062
- coolingTreatmentTemperature?: number | null;
8063
- coolingHoldingTime?: number | null;
8061
+ export interface ImaHeatSpecificationCooling extends ImaCdfEntityReadBase {
8062
+ coolingMethods: string[];
8063
+ temperature?: ImaSpecificationLineDto | null;
8064
+ duration?: ImaSpecificationLineDto | null;
8065
+ }
8066
+ export interface ImaHeatSpecificationHeating extends ImaCdfEntityReadBase {
8067
+ heatingMethod: string;
8068
+ temperature?: ImaSpecificationLineDto | null;
8069
+ duration?: ImaSpecificationLineDto | null;
8064
8070
  }
8065
8071
  export interface ImaCreateSpecificationRequestDto {
8066
8072
  specificationName: string;
@@ -8084,7 +8090,7 @@ export interface ImaUpdateSpecificationDto {
8084
8090
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
8085
8091
  mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
8086
8092
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
8087
- heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
8093
+ heatSpecifications?: ImaHeatSpecificationDto[] | null;
8088
8094
  }
8089
8095
  export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
8090
8096
  export interface MeasurementFormSchemaDto {
@@ -19028,42 +19028,6 @@ export class MesLinksClient extends AuthorizedApiBase {
19028
19028
  }
19029
19029
  return Promise.resolve(null);
19030
19030
  }
19031
- getMesLinkPlaceholders() {
19032
- let url_ = this.baseUrl + "/mes/links/placeholders";
19033
- url_ = url_.replace(/[?&]$/, "");
19034
- let options_ = {
19035
- method: "GET",
19036
- headers: {
19037
- "Accept": "application/json"
19038
- }
19039
- };
19040
- return this.transformOptions(options_).then(transformedOptions_ => {
19041
- return this.http.fetch(url_, transformedOptions_);
19042
- }).then((_response) => {
19043
- return this.processGetMesLinkPlaceholders(_response);
19044
- });
19045
- }
19046
- processGetMesLinkPlaceholders(response) {
19047
- const status = response.status;
19048
- let _headers = {};
19049
- if (response.headers && response.headers.forEach) {
19050
- response.headers.forEach((v, k) => _headers[k] = v);
19051
- }
19052
- ;
19053
- if (status === 200) {
19054
- return response.text().then((_responseText) => {
19055
- let result200 = null;
19056
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
19057
- return result200;
19058
- });
19059
- }
19060
- else if (status !== 200 && status !== 204) {
19061
- return response.text().then((_responseText) => {
19062
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
19063
- });
19064
- }
19065
- return Promise.resolve(null);
19066
- }
19067
19031
  }
19068
19032
  export class MesOrMoveClient extends AuthorizedApiBase {
19069
19033
  constructor(configuration, baseUrl, http) {
@@ -20431,6 +20395,41 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase {
20431
20395
  }
20432
20396
  return Promise.resolve(null);
20433
20397
  }
20398
+ deleteMaterialCheck(id) {
20399
+ let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
20400
+ if (id === undefined || id === null)
20401
+ throw new globalThis.Error("The parameter 'id' must be defined.");
20402
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
20403
+ url_ = url_.replace(/[?&]$/, "");
20404
+ let options_ = {
20405
+ method: "DELETE",
20406
+ headers: {}
20407
+ };
20408
+ return this.transformOptions(options_).then(transformedOptions_ => {
20409
+ return this.http.fetch(url_, transformedOptions_);
20410
+ }).then((_response) => {
20411
+ return this.processDeleteMaterialCheck(_response);
20412
+ });
20413
+ }
20414
+ processDeleteMaterialCheck(response) {
20415
+ const status = response.status;
20416
+ let _headers = {};
20417
+ if (response.headers && response.headers.forEach) {
20418
+ response.headers.forEach((v, k) => _headers[k] = v);
20419
+ }
20420
+ ;
20421
+ if (status === 204) {
20422
+ return response.text().then((_responseText) => {
20423
+ return;
20424
+ });
20425
+ }
20426
+ else if (status !== 200 && status !== 204) {
20427
+ return response.text().then((_responseText) => {
20428
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
20429
+ });
20430
+ }
20431
+ return Promise.resolve(null);
20432
+ }
20434
20433
  processMaterialCertificate(certificatesRequest) {
20435
20434
  let url_ = this.baseUrl + "/inspect/match/material-checks";
20436
20435
  url_ = url_.replace(/[?&]$/, "");
@@ -20590,7 +20589,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
20590
20589
  }
20591
20590
  return Promise.resolve(null);
20592
20591
  }
20593
- updateMaterialCertificateTypes(id, version, payload) {
20592
+ updateMaterialCertificateType(id, version, payload) {
20594
20593
  let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
20595
20594
  if (id === undefined || id === null)
20596
20595
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -20610,10 +20609,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
20610
20609
  return this.transformOptions(options_).then(transformedOptions_ => {
20611
20610
  return this.http.fetch(url_, transformedOptions_);
20612
20611
  }).then((_response) => {
20613
- return this.processUpdateMaterialCertificateTypes(_response);
20612
+ return this.processUpdateMaterialCertificateType(_response);
20614
20613
  });
20615
20614
  }
20616
- processUpdateMaterialCertificateTypes(response) {
20615
+ processUpdateMaterialCertificateType(response) {
20617
20616
  const status = response.status;
20618
20617
  let _headers = {};
20619
20618
  if (response.headers && response.headers.forEach) {
@@ -20634,7 +20633,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
20634
20633
  }
20635
20634
  return Promise.resolve(null);
20636
20635
  }
20637
- deleteMaterialCertificateTypes(id, version) {
20636
+ deleteMaterialCertificateType(id, version) {
20638
20637
  let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
20639
20638
  if (id === undefined || id === null)
20640
20639
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -20649,10 +20648,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
20649
20648
  return this.transformOptions(options_).then(transformedOptions_ => {
20650
20649
  return this.http.fetch(url_, transformedOptions_);
20651
20650
  }).then((_response) => {
20652
- return this.processDeleteMaterialCertificateTypes(_response);
20651
+ return this.processDeleteMaterialCertificateType(_response);
20653
20652
  });
20654
20653
  }
20655
- processDeleteMaterialCertificateTypes(response) {
20654
+ processDeleteMaterialCertificateType(response) {
20656
20655
  const status = response.status;
20657
20656
  let _headers = {};
20658
20657
  if (response.headers && response.headers.forEach) {
@@ -20920,7 +20919,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
20920
20919
  }
20921
20920
  return Promise.resolve(null);
20922
20921
  }
20923
- updateSpecifications(id, version, dto) {
20922
+ updateSpecification(id, version, dto) {
20924
20923
  let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
20925
20924
  if (id === undefined || id === null)
20926
20925
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -20940,10 +20939,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
20940
20939
  return this.transformOptions(options_).then(transformedOptions_ => {
20941
20940
  return this.http.fetch(url_, transformedOptions_);
20942
20941
  }).then((_response) => {
20943
- return this.processUpdateSpecifications(_response);
20942
+ return this.processUpdateSpecification(_response);
20944
20943
  });
20945
20944
  }
20946
- processUpdateSpecifications(response) {
20945
+ processUpdateSpecification(response) {
20947
20946
  const status = response.status;
20948
20947
  let _headers = {};
20949
20948
  if (response.headers && response.headers.forEach) {
@@ -20964,7 +20963,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
20964
20963
  }
20965
20964
  return Promise.resolve(null);
20966
20965
  }
20967
- deleteMaterialCertificateTypes(id, version) {
20966
+ deleteSpecification(id, version) {
20968
20967
  let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
20969
20968
  if (id === undefined || id === null)
20970
20969
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -20979,10 +20978,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
20979
20978
  return this.transformOptions(options_).then(transformedOptions_ => {
20980
20979
  return this.http.fetch(url_, transformedOptions_);
20981
20980
  }).then((_response) => {
20982
- return this.processDeleteMaterialCertificateTypes(_response);
20981
+ return this.processDeleteSpecification(_response);
20983
20982
  });
20984
20983
  }
20985
- processDeleteMaterialCertificateTypes(response) {
20984
+ processDeleteSpecification(response) {
20986
20985
  const status = response.status;
20987
20986
  let _headers = {};
20988
20987
  if (response.headers && response.headers.forEach) {
@@ -21001,7 +21000,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
21001
21000
  }
21002
21001
  return Promise.resolve(null);
21003
21002
  }
21004
- createSpecifications(createRequestDto) {
21003
+ createSpecification(createRequestDto) {
21005
21004
  let url_ = this.baseUrl + "/inspect/match/specifications";
21006
21005
  url_ = url_.replace(/[?&]$/, "");
21007
21006
  const content_ = JSON.stringify(createRequestDto);
@@ -21016,10 +21015,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
21016
21015
  return this.transformOptions(options_).then(transformedOptions_ => {
21017
21016
  return this.http.fetch(url_, transformedOptions_);
21018
21017
  }).then((_response) => {
21019
- return this.processCreateSpecifications(_response);
21018
+ return this.processCreateSpecification(_response);
21020
21019
  });
21021
21020
  }
21022
- processCreateSpecifications(response) {
21021
+ processCreateSpecification(response) {
21023
21022
  const status = response.status;
21024
21023
  let _headers = {};
21025
21024
  if (response.headers && response.headers.forEach) {
@@ -21166,6 +21165,114 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
21166
21165
  }
21167
21166
  return Promise.resolve(null);
21168
21167
  }
21168
+ getAllUnits() {
21169
+ let url_ = this.baseUrl + "/inspect/match/specifications/units";
21170
+ url_ = url_.replace(/[?&]$/, "");
21171
+ let options_ = {
21172
+ method: "GET",
21173
+ headers: {
21174
+ "Accept": "application/json"
21175
+ }
21176
+ };
21177
+ return this.transformOptions(options_).then(transformedOptions_ => {
21178
+ return this.http.fetch(url_, transformedOptions_);
21179
+ }).then((_response) => {
21180
+ return this.processGetAllUnits(_response);
21181
+ });
21182
+ }
21183
+ processGetAllUnits(response) {
21184
+ const status = response.status;
21185
+ let _headers = {};
21186
+ if (response.headers && response.headers.forEach) {
21187
+ response.headers.forEach((v, k) => _headers[k] = v);
21188
+ }
21189
+ ;
21190
+ if (status === 200) {
21191
+ return response.text().then((_responseText) => {
21192
+ let result200 = null;
21193
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
21194
+ return result200;
21195
+ });
21196
+ }
21197
+ else if (status !== 200 && status !== 204) {
21198
+ return response.text().then((_responseText) => {
21199
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21200
+ });
21201
+ }
21202
+ return Promise.resolve(null);
21203
+ }
21204
+ getAllHeatTreatmentCoolingMethods() {
21205
+ let url_ = this.baseUrl + "/inspect/match/specifications/heat-treatment/cooling-methods";
21206
+ url_ = url_.replace(/[?&]$/, "");
21207
+ let options_ = {
21208
+ method: "GET",
21209
+ headers: {
21210
+ "Accept": "application/json"
21211
+ }
21212
+ };
21213
+ return this.transformOptions(options_).then(transformedOptions_ => {
21214
+ return this.http.fetch(url_, transformedOptions_);
21215
+ }).then((_response) => {
21216
+ return this.processGetAllHeatTreatmentCoolingMethods(_response);
21217
+ });
21218
+ }
21219
+ processGetAllHeatTreatmentCoolingMethods(response) {
21220
+ const status = response.status;
21221
+ let _headers = {};
21222
+ if (response.headers && response.headers.forEach) {
21223
+ response.headers.forEach((v, k) => _headers[k] = v);
21224
+ }
21225
+ ;
21226
+ if (status === 200) {
21227
+ return response.text().then((_responseText) => {
21228
+ let result200 = null;
21229
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
21230
+ return result200;
21231
+ });
21232
+ }
21233
+ else if (status !== 200 && status !== 204) {
21234
+ return response.text().then((_responseText) => {
21235
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21236
+ });
21237
+ }
21238
+ return Promise.resolve(null);
21239
+ }
21240
+ getAllHeatTreatmentHeatingMethods() {
21241
+ let url_ = this.baseUrl + "/inspect/match/specifications/heat-treatment/heating-methods";
21242
+ url_ = url_.replace(/[?&]$/, "");
21243
+ let options_ = {
21244
+ method: "GET",
21245
+ headers: {
21246
+ "Accept": "application/json"
21247
+ }
21248
+ };
21249
+ return this.transformOptions(options_).then(transformedOptions_ => {
21250
+ return this.http.fetch(url_, transformedOptions_);
21251
+ }).then((_response) => {
21252
+ return this.processGetAllHeatTreatmentHeatingMethods(_response);
21253
+ });
21254
+ }
21255
+ processGetAllHeatTreatmentHeatingMethods(response) {
21256
+ const status = response.status;
21257
+ let _headers = {};
21258
+ if (response.headers && response.headers.forEach) {
21259
+ response.headers.forEach((v, k) => _headers[k] = v);
21260
+ }
21261
+ ;
21262
+ if (status === 200) {
21263
+ return response.text().then((_responseText) => {
21264
+ let result200 = null;
21265
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
21266
+ return result200;
21267
+ });
21268
+ }
21269
+ else if (status !== 200 && status !== 204) {
21270
+ return response.text().then((_responseText) => {
21271
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21272
+ });
21273
+ }
21274
+ return Promise.resolve(null);
21275
+ }
21169
21276
  }
21170
21277
  export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
21171
21278
  constructor(configuration, baseUrl, http) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260319.82.1",
3
+ "version": "20260320.83.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -20160,8 +20160,6 @@ export interface IMesLinksClient {
20160
20160
  updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
20161
20161
 
20162
20162
  deleteMesLink(id: string): Promise<void>;
20163
-
20164
- getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
20165
20163
  }
20166
20164
 
20167
20165
  export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
@@ -20367,41 +20365,6 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
20367
20365
  }
20368
20366
  return Promise.resolve<void>(null as any);
20369
20367
  }
20370
-
20371
- getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto> {
20372
- let url_ = this.baseUrl + "/mes/links/placeholders";
20373
- url_ = url_.replace(/[?&]$/, "");
20374
-
20375
- let options_: RequestInit = {
20376
- method: "GET",
20377
- headers: {
20378
- "Accept": "application/json"
20379
- }
20380
- };
20381
-
20382
- return this.transformOptions(options_).then(transformedOptions_ => {
20383
- return this.http.fetch(url_, transformedOptions_);
20384
- }).then((_response: Response) => {
20385
- return this.processGetMesLinkPlaceholders(_response);
20386
- });
20387
- }
20388
-
20389
- protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto> {
20390
- const status = response.status;
20391
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
20392
- if (status === 200) {
20393
- return response.text().then((_responseText) => {
20394
- let result200: any = null;
20395
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MesLinkPlaceholdersDto;
20396
- return result200;
20397
- });
20398
- } else if (status !== 200 && status !== 204) {
20399
- return response.text().then((_responseText) => {
20400
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
20401
- });
20402
- }
20403
- return Promise.resolve<MesLinkPlaceholdersDto>(null as any);
20404
- }
20405
20368
  }
20406
20369
 
20407
20370
  export interface IMesOrMoveClient {
@@ -21791,6 +21754,8 @@ export interface IInspectMatchCertificateChecksClient {
21791
21754
 
21792
21755
  getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
21793
21756
 
21757
+ deleteMaterialCheck(id: string): Promise<void>;
21758
+
21794
21759
  processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
21795
21760
 
21796
21761
  updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
@@ -21883,6 +21848,41 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase imple
21883
21848
  return Promise.resolve<ImaMaterialCheckDto>(null as any);
21884
21849
  }
21885
21850
 
21851
+ deleteMaterialCheck(id: string): Promise<void> {
21852
+ let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
21853
+ if (id === undefined || id === null)
21854
+ throw new globalThis.Error("The parameter 'id' must be defined.");
21855
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
21856
+ url_ = url_.replace(/[?&]$/, "");
21857
+
21858
+ let options_: RequestInit = {
21859
+ method: "DELETE",
21860
+ headers: {
21861
+ }
21862
+ };
21863
+
21864
+ return this.transformOptions(options_).then(transformedOptions_ => {
21865
+ return this.http.fetch(url_, transformedOptions_);
21866
+ }).then((_response: Response) => {
21867
+ return this.processDeleteMaterialCheck(_response);
21868
+ });
21869
+ }
21870
+
21871
+ protected processDeleteMaterialCheck(response: Response): Promise<void> {
21872
+ const status = response.status;
21873
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
21874
+ if (status === 204) {
21875
+ return response.text().then((_responseText) => {
21876
+ return;
21877
+ });
21878
+ } else if (status !== 200 && status !== 204) {
21879
+ return response.text().then((_responseText) => {
21880
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
21881
+ });
21882
+ }
21883
+ return Promise.resolve<void>(null as any);
21884
+ }
21885
+
21886
21886
  processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void> {
21887
21887
  let url_ = this.baseUrl + "/inspect/match/material-checks";
21888
21888
  url_ = url_.replace(/[?&]$/, "");
@@ -21965,9 +21965,9 @@ export interface IInspectMatchCertificateTypesClient {
21965
21965
 
21966
21966
  getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
21967
21967
 
21968
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21968
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21969
21969
 
21970
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
21970
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
21971
21971
 
21972
21972
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
21973
21973
 
@@ -22063,7 +22063,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22063
22063
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
22064
22064
  }
22065
22065
 
22066
- updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22066
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22067
22067
  let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22068
22068
  if (id === undefined || id === null)
22069
22069
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22086,11 +22086,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22086
22086
  return this.transformOptions(options_).then(transformedOptions_ => {
22087
22087
  return this.http.fetch(url_, transformedOptions_);
22088
22088
  }).then((_response: Response) => {
22089
- return this.processUpdateMaterialCertificateTypes(_response);
22089
+ return this.processUpdateMaterialCertificateType(_response);
22090
22090
  });
22091
22091
  }
22092
22092
 
22093
- protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22093
+ protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22094
22094
  const status = response.status;
22095
22095
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22096
22096
  if (status === 200) {
@@ -22107,7 +22107,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22107
22107
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
22108
22108
  }
22109
22109
 
22110
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
22110
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void> {
22111
22111
  let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22112
22112
  if (id === undefined || id === null)
22113
22113
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22125,11 +22125,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22125
22125
  return this.transformOptions(options_).then(transformedOptions_ => {
22126
22126
  return this.http.fetch(url_, transformedOptions_);
22127
22127
  }).then((_response: Response) => {
22128
- return this.processDeleteMaterialCertificateTypes(_response);
22128
+ return this.processDeleteMaterialCertificateType(_response);
22129
22129
  });
22130
22130
  }
22131
22131
 
22132
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
22132
+ protected processDeleteMaterialCertificateType(response: Response): Promise<void> {
22133
22133
  const status = response.status;
22134
22134
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22135
22135
  if (status === 204) {
@@ -22314,17 +22314,23 @@ export interface IInspectMatchSpecificationsClient {
22314
22314
 
22315
22315
  getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22316
22316
 
22317
- updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
22317
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
22318
22318
 
22319
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
22319
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
22320
22320
 
22321
- createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
22321
+ createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
22322
22322
 
22323
22323
  copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
22324
22324
 
22325
22325
  createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22326
22326
 
22327
22327
  releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
22328
+
22329
+ getAllUnits(): Promise<ImaSpecificationUnit[]>;
22330
+
22331
+ getAllHeatTreatmentCoolingMethods(): Promise<ImaHeatTreatmentCoolingMethod[]>;
22332
+
22333
+ getAllHeatTreatmentHeatingMethods(): Promise<ImaHeatTreatmentHeatingMethod[]>;
22328
22334
  }
22329
22335
 
22330
22336
  export class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
@@ -22412,7 +22418,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22412
22418
  return Promise.resolve<ImaSpecificationDto>(null as any);
22413
22419
  }
22414
22420
 
22415
- updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
22421
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
22416
22422
  let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22417
22423
  if (id === undefined || id === null)
22418
22424
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22435,11 +22441,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22435
22441
  return this.transformOptions(options_).then(transformedOptions_ => {
22436
22442
  return this.http.fetch(url_, transformedOptions_);
22437
22443
  }).then((_response: Response) => {
22438
- return this.processUpdateSpecifications(_response);
22444
+ return this.processUpdateSpecification(_response);
22439
22445
  });
22440
22446
  }
22441
22447
 
22442
- protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22448
+ protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto> {
22443
22449
  const status = response.status;
22444
22450
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22445
22451
  if (status === 200) {
@@ -22456,7 +22462,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22456
22462
  return Promise.resolve<ImaSpecificationDto>(null as any);
22457
22463
  }
22458
22464
 
22459
- deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
22465
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void> {
22460
22466
  let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
22461
22467
  if (id === undefined || id === null)
22462
22468
  throw new globalThis.Error("The parameter 'id' must be defined.");
@@ -22474,11 +22480,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22474
22480
  return this.transformOptions(options_).then(transformedOptions_ => {
22475
22481
  return this.http.fetch(url_, transformedOptions_);
22476
22482
  }).then((_response: Response) => {
22477
- return this.processDeleteMaterialCertificateTypes(_response);
22483
+ return this.processDeleteSpecification(_response);
22478
22484
  });
22479
22485
  }
22480
22486
 
22481
- protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
22487
+ protected processDeleteSpecification(response: Response): Promise<void> {
22482
22488
  const status = response.status;
22483
22489
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22484
22490
  if (status === 204) {
@@ -22493,7 +22499,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22493
22499
  return Promise.resolve<void>(null as any);
22494
22500
  }
22495
22501
 
22496
- createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
22502
+ createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
22497
22503
  let url_ = this.baseUrl + "/inspect/match/specifications";
22498
22504
  url_ = url_.replace(/[?&]$/, "");
22499
22505
 
@@ -22511,11 +22517,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22511
22517
  return this.transformOptions(options_).then(transformedOptions_ => {
22512
22518
  return this.http.fetch(url_, transformedOptions_);
22513
22519
  }).then((_response: Response) => {
22514
- return this.processCreateSpecifications(_response);
22520
+ return this.processCreateSpecification(_response);
22515
22521
  });
22516
22522
  }
22517
22523
 
22518
- protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto> {
22524
+ protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto> {
22519
22525
  const status = response.status;
22520
22526
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22521
22527
  if (status === 200) {
@@ -22655,6 +22661,111 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
22655
22661
  }
22656
22662
  return Promise.resolve<ImaSpecificationDto>(null as any);
22657
22663
  }
22664
+
22665
+ getAllUnits(): Promise<ImaSpecificationUnit[]> {
22666
+ let url_ = this.baseUrl + "/inspect/match/specifications/units";
22667
+ url_ = url_.replace(/[?&]$/, "");
22668
+
22669
+ let options_: RequestInit = {
22670
+ method: "GET",
22671
+ headers: {
22672
+ "Accept": "application/json"
22673
+ }
22674
+ };
22675
+
22676
+ return this.transformOptions(options_).then(transformedOptions_ => {
22677
+ return this.http.fetch(url_, transformedOptions_);
22678
+ }).then((_response: Response) => {
22679
+ return this.processGetAllUnits(_response);
22680
+ });
22681
+ }
22682
+
22683
+ protected processGetAllUnits(response: Response): Promise<ImaSpecificationUnit[]> {
22684
+ const status = response.status;
22685
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22686
+ if (status === 200) {
22687
+ return response.text().then((_responseText) => {
22688
+ let result200: any = null;
22689
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationUnit[];
22690
+ return result200;
22691
+ });
22692
+ } else if (status !== 200 && status !== 204) {
22693
+ return response.text().then((_responseText) => {
22694
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22695
+ });
22696
+ }
22697
+ return Promise.resolve<ImaSpecificationUnit[]>(null as any);
22698
+ }
22699
+
22700
+ getAllHeatTreatmentCoolingMethods(): Promise<ImaHeatTreatmentCoolingMethod[]> {
22701
+ let url_ = this.baseUrl + "/inspect/match/specifications/heat-treatment/cooling-methods";
22702
+ url_ = url_.replace(/[?&]$/, "");
22703
+
22704
+ let options_: RequestInit = {
22705
+ method: "GET",
22706
+ headers: {
22707
+ "Accept": "application/json"
22708
+ }
22709
+ };
22710
+
22711
+ return this.transformOptions(options_).then(transformedOptions_ => {
22712
+ return this.http.fetch(url_, transformedOptions_);
22713
+ }).then((_response: Response) => {
22714
+ return this.processGetAllHeatTreatmentCoolingMethods(_response);
22715
+ });
22716
+ }
22717
+
22718
+ protected processGetAllHeatTreatmentCoolingMethods(response: Response): Promise<ImaHeatTreatmentCoolingMethod[]> {
22719
+ const status = response.status;
22720
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22721
+ if (status === 200) {
22722
+ return response.text().then((_responseText) => {
22723
+ let result200: any = null;
22724
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaHeatTreatmentCoolingMethod[];
22725
+ return result200;
22726
+ });
22727
+ } else if (status !== 200 && status !== 204) {
22728
+ return response.text().then((_responseText) => {
22729
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22730
+ });
22731
+ }
22732
+ return Promise.resolve<ImaHeatTreatmentCoolingMethod[]>(null as any);
22733
+ }
22734
+
22735
+ getAllHeatTreatmentHeatingMethods(): Promise<ImaHeatTreatmentHeatingMethod[]> {
22736
+ let url_ = this.baseUrl + "/inspect/match/specifications/heat-treatment/heating-methods";
22737
+ url_ = url_.replace(/[?&]$/, "");
22738
+
22739
+ let options_: RequestInit = {
22740
+ method: "GET",
22741
+ headers: {
22742
+ "Accept": "application/json"
22743
+ }
22744
+ };
22745
+
22746
+ return this.transformOptions(options_).then(transformedOptions_ => {
22747
+ return this.http.fetch(url_, transformedOptions_);
22748
+ }).then((_response: Response) => {
22749
+ return this.processGetAllHeatTreatmentHeatingMethods(_response);
22750
+ });
22751
+ }
22752
+
22753
+ protected processGetAllHeatTreatmentHeatingMethods(response: Response): Promise<ImaHeatTreatmentHeatingMethod[]> {
22754
+ const status = response.status;
22755
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22756
+ if (status === 200) {
22757
+ return response.text().then((_responseText) => {
22758
+ let result200: any = null;
22759
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaHeatTreatmentHeatingMethod[];
22760
+ return result200;
22761
+ });
22762
+ } else if (status !== 200 && status !== 204) {
22763
+ return response.text().then((_responseText) => {
22764
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22765
+ });
22766
+ }
22767
+ return Promise.resolve<ImaHeatTreatmentHeatingMethod[]>(null as any);
22768
+ }
22658
22769
  }
22659
22770
 
22660
22771
  export interface IMeasurementFormSchemasAdminClient {
@@ -32131,10 +32242,6 @@ export interface WorkspaceDto {
32131
32242
  settings: string;
32132
32243
  widgets: WorkspaceWidgetDto[];
32133
32244
  widgetSettings: { [key: string]: string; };
32134
- isSystemManaged?: boolean;
32135
- systemManagedKind?: string | null;
32136
- sourceTemplateId?: string | null;
32137
- sourceMachineId?: string | null;
32138
32245
  }
32139
32246
 
32140
32247
  export interface WorkspaceWidgetDto {
@@ -32673,11 +32780,10 @@ export interface EngineeringChangeOrdersDto {
32673
32780
  }
32674
32781
 
32675
32782
  export interface AddMesLink {
32676
- uri?: string;
32677
- name?: string;
32783
+ uri?: string | null;
32784
+ name?: string | null;
32678
32785
  type?: MesLinkTypeDto;
32679
- openInNewTab?: boolean;
32680
- description?: string | null;
32786
+ companyId?: string | null;
32681
32787
  }
32682
32788
 
32683
32789
  export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
@@ -32687,24 +32793,15 @@ export interface MesLinkDto {
32687
32793
  uri?: string;
32688
32794
  name?: string;
32689
32795
  type?: MesLinkTypeDto;
32690
- openInNewTab?: boolean;
32691
- description?: string | null;
32796
+ companyId?: string;
32692
32797
  }
32693
32798
 
32694
32799
  export interface UpdateMesLink {
32695
- id?: string;
32696
- uri?: string;
32697
- name?: string;
32800
+ id?: string | null;
32801
+ uri?: string | null;
32802
+ name?: string | null;
32698
32803
  type?: MesLinkTypeDto;
32699
- openInNewTab?: boolean;
32700
- description?: string | null;
32701
- displayBeforeId?: string | null;
32702
- }
32703
-
32704
- export interface MesLinkPlaceholdersDto {
32705
- static: string[];
32706
- workOrder: string[];
32707
- operation: string[];
32804
+ companyId?: string | null;
32708
32805
  }
32709
32806
 
32710
32807
  export interface GeneratePrintableLabel {
@@ -33375,6 +33472,7 @@ export interface ImaMaterialCheckLiteDto {
33375
33472
  createdById: string;
33376
33473
  updatedBy?: string | null;
33377
33474
  updatedById?: string | null;
33475
+ isDeleted?: boolean;
33378
33476
  }
33379
33477
 
33380
33478
  export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
@@ -33426,6 +33524,7 @@ export interface ImaMaterialCheckDto {
33426
33524
  createdById: string;
33427
33525
  updatedBy?: string | null;
33428
33526
  updatedById?: string | null;
33527
+ isDeleted?: boolean;
33429
33528
  certificateTypeResults: ImaCertificateTypeResultsDto;
33430
33529
  specificationChemistry: ImaSpecificationChemistryResultsDto;
33431
33530
  specificationMechanical: ImaSpecificationMechanicalResultsDto;
@@ -33581,24 +33680,24 @@ export interface ImaSpecificationHeatTreatmentResultsDto {
33581
33680
  }
33582
33681
 
33583
33682
  export interface ImaSpecificationHeatTreatmentsResultLineDto {
33584
- heatingMethod: ImaHeatingTreatmentMethod;
33683
+ heatTreatmentHeatingMethod: ImaHeatTreatmentHeatingMethod;
33585
33684
  specificationHeatingTreatmentTemperature?: number | null;
33586
33685
  specificationHeatingHoldingTime?: number | null;
33587
33686
  heatingTreatmentTemperature?: number | null;
33588
33687
  heatingHoldingTime?: number | null;
33589
- specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
33688
+ specificationCoolingMethods?: ImaHeatTreatmentCoolingMethod[] | null;
33590
33689
  specificationCoolingTreatmentTemperature?: number | null;
33591
33690
  specificationCoolingHoldingTime?: number | null;
33592
- coolingMethod?: ImaCoolingTreatmentMethod | null;
33691
+ coolingMethod?: ImaHeatTreatmentCoolingMethod | null;
33593
33692
  coolingTreatmentTemperature?: number | null;
33594
33693
  coolingHoldingTime?: number | null;
33595
33694
  status: ImaSpecificationResultLineStatus;
33596
33695
  override?: ImaResultLineOverrideDto | null;
33597
33696
  }
33598
33697
 
33599
- export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
33698
+ export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
33600
33699
 
33601
- export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
33700
+ export type ImaHeatTreatmentCoolingMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
33602
33701
 
33603
33702
  export interface ProcessImaCheckRequestDto {
33604
33703
  files: UploadFileDto[];
@@ -33758,6 +33857,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
33758
33857
  updatedBy?: string | null;
33759
33858
  updatedById?: string | null;
33760
33859
  updated: Date;
33860
+ isDeleted: boolean;
33761
33861
  }
33762
33862
 
33763
33863
  export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
@@ -33777,6 +33877,7 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
33777
33877
  updatedBy?: string | null;
33778
33878
  updatedById?: string | null;
33779
33879
  updated: Date;
33880
+ isDeleted: boolean;
33780
33881
  requirements: ImaCertificateTypeRequirementsDto;
33781
33882
  }
33782
33883
 
@@ -33970,6 +34071,7 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
33970
34071
  createdById: string;
33971
34072
  updatedBy: string;
33972
34073
  updatedById: string;
34074
+ isDeleted: boolean;
33973
34075
  }
33974
34076
 
33975
34077
  export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
@@ -33991,10 +34093,11 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
33991
34093
  updatedBy: string;
33992
34094
  updatedById: string;
33993
34095
  updated: Date;
34096
+ isDeleted: boolean;
33994
34097
  chemistrySpecification: ImaChemistrySpecificationDto;
33995
34098
  mechanicalSpecification: ImaMechanicalSpecificationDto;
33996
34099
  ferriteSpecification: ImaFerriteSpecificationDto;
33997
- heatSpecification: ImaHeatTreatmentSpecificationDto;
34100
+ heatSpecifications: ImaHeatSpecificationDto[];
33998
34101
  }
33999
34102
 
34000
34103
  export interface ImaSpecificationVersionDto {
@@ -34021,12 +34124,12 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
34021
34124
  operator: ImaSpecificationOperator;
34022
34125
  value1: number;
34023
34126
  value2?: number | null;
34024
- symbol: ImaSpecificationSymbol;
34127
+ unit: ImaSpecificationUnit;
34025
34128
  }
34026
34129
 
34027
34130
  export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
34028
34131
 
34029
- export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
34132
+ export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
34030
34133
 
34031
34134
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
34032
34135
  yieldStrength?: ImaSpecificationLineDto | null;
@@ -34041,17 +34144,22 @@ export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
34041
34144
  ferriteContent?: ImaSpecificationLineDto | null;
34042
34145
  }
34043
34146
 
34044
- export interface ImaHeatTreatmentSpecificationDto {
34045
- heatTreatments: ImaHeatTreatmentsSpecificationDto[];
34147
+ export interface ImaHeatSpecificationDto extends ImaCdfEntityReadBase {
34148
+ step: number;
34149
+ cooling?: ImaHeatSpecificationCooling | null;
34150
+ heating?: ImaHeatSpecificationHeating | null;
34046
34151
  }
34047
34152
 
34048
- export interface ImaHeatTreatmentsSpecificationDto {
34049
- heatingMethod: ImaHeatingTreatmentMethod;
34050
- heatingTreatmentTemperature?: number | null;
34051
- heatingHoldingTime?: number | null;
34052
- coolingMethods?: ImaCoolingTreatmentMethod[] | null;
34053
- coolingTreatmentTemperature?: number | null;
34054
- coolingHoldingTime?: number | null;
34153
+ export interface ImaHeatSpecificationCooling extends ImaCdfEntityReadBase {
34154
+ coolingMethods: string[];
34155
+ temperature?: ImaSpecificationLineDto | null;
34156
+ duration?: ImaSpecificationLineDto | null;
34157
+ }
34158
+
34159
+ export interface ImaHeatSpecificationHeating extends ImaCdfEntityReadBase {
34160
+ heatingMethod: string;
34161
+ temperature?: ImaSpecificationLineDto | null;
34162
+ duration?: ImaSpecificationLineDto | null;
34055
34163
  }
34056
34164
 
34057
34165
  export interface ImaCreateSpecificationRequestDto {
@@ -34078,7 +34186,7 @@ export interface ImaUpdateSpecificationDto {
34078
34186
  chemistrySpecification?: ImaChemistrySpecificationDto | null;
34079
34187
  mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
34080
34188
  ferriteSpecification?: ImaFerriteSpecificationDto | null;
34081
- heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
34189
+ heatSpecifications?: ImaHeatSpecificationDto[] | null;
34082
34190
  }
34083
34191
 
34084
34192
  export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";