@ignos/api-client 20260407.102.1 → 20260413.104.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.
@@ -2992,6 +2992,8 @@ export class UserAppSettingsClient extends AuthorizedApiBase implements IUserApp
2992
2992
  export interface IUploadClient {
2993
2993
 
2994
2994
  createUploadInfo(): Promise<UploadInfoDto>;
2995
+
2996
+ createUploadInfoCdf(request: CreateUploadInfoCdf): Promise<UploadInfoCdfDto>;
2995
2997
  }
2996
2998
 
2997
2999
  export class UploadClient extends AuthorizedApiBase implements IUploadClient {
@@ -3038,6 +3040,45 @@ export class UploadClient extends AuthorizedApiBase implements IUploadClient {
3038
3040
  }
3039
3041
  return Promise.resolve<UploadInfoDto>(null as any);
3040
3042
  }
3043
+
3044
+ createUploadInfoCdf(request: CreateUploadInfoCdf): Promise<UploadInfoCdfDto> {
3045
+ let url_ = this.baseUrl + "/upload/cdf";
3046
+ url_ = url_.replace(/[?&]$/, "");
3047
+
3048
+ const content_ = JSON.stringify(request);
3049
+
3050
+ let options_: RequestInit = {
3051
+ body: content_,
3052
+ method: "POST",
3053
+ headers: {
3054
+ "Content-Type": "application/json",
3055
+ "Accept": "application/json"
3056
+ }
3057
+ };
3058
+
3059
+ return this.transformOptions(options_).then(transformedOptions_ => {
3060
+ return this.http.fetch(url_, transformedOptions_);
3061
+ }).then((_response: Response) => {
3062
+ return this.processCreateUploadInfoCdf(_response);
3063
+ });
3064
+ }
3065
+
3066
+ protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto> {
3067
+ const status = response.status;
3068
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
3069
+ if (status === 200) {
3070
+ return response.text().then((_responseText) => {
3071
+ let result200: any = null;
3072
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as UploadInfoCdfDto;
3073
+ return result200;
3074
+ });
3075
+ } else if (status !== 200 && status !== 204) {
3076
+ return response.text().then((_responseText) => {
3077
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3078
+ });
3079
+ }
3080
+ return Promise.resolve<UploadInfoCdfDto>(null as any);
3081
+ }
3041
3082
  }
3042
3083
 
3043
3084
  export interface ISystemHealthDashboardClient {
@@ -22533,7 +22574,7 @@ export interface IInspectMatchCertificateChecksClient {
22533
22574
 
22534
22575
  deleteMaterialCheck(id: string): Promise<void>;
22535
22576
 
22536
- processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
22577
+ processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
22537
22578
 
22538
22579
  updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
22539
22580
  }
@@ -22660,7 +22701,7 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase imple
22660
22701
  return Promise.resolve<void>(null as any);
22661
22702
  }
22662
22703
 
22663
- processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void> {
22704
+ processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void> {
22664
22705
  let url_ = this.baseUrl + "/inspect/match/material-checks";
22665
22706
  url_ = url_.replace(/[?&]$/, "");
22666
22707
 
@@ -22736,15 +22777,7 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase imple
22736
22777
  }
22737
22778
  }
22738
22779
 
22739
- export interface IInspectMatchCertificateTypesClient {
22740
-
22741
- listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
22742
-
22743
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22744
-
22745
- updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22746
-
22747
- deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
22780
+ export interface IInspectMatchCertificateTypesAdminClient {
22748
22781
 
22749
22782
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22750
22783
 
@@ -22753,9 +22786,13 @@ export interface IInspectMatchCertificateTypesClient {
22753
22786
  createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22754
22787
 
22755
22788
  releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
22789
+
22790
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
22791
+
22792
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
22756
22793
  }
22757
22794
 
22758
- export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
22795
+ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
22759
22796
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
22760
22797
  private baseUrl: string;
22761
22798
 
@@ -22765,13 +22802,17 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22765
22802
  this.baseUrl = baseUrl ?? "";
22766
22803
  }
22767
22804
 
22768
- listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]> {
22769
- let url_ = this.baseUrl + "/inspect/match/certificate-types/list";
22805
+ createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22806
+ let url_ = this.baseUrl + "/inspect/match/certificate-types";
22770
22807
  url_ = url_.replace(/[?&]$/, "");
22771
22808
 
22809
+ const content_ = JSON.stringify(payload);
22810
+
22772
22811
  let options_: RequestInit = {
22773
- method: "GET",
22812
+ body: content_,
22813
+ method: "POST",
22774
22814
  headers: {
22815
+ "Content-Type": "application/json",
22775
22816
  "Accept": "application/json"
22776
22817
  }
22777
22818
  };
@@ -22779,17 +22820,17 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22779
22820
  return this.transformOptions(options_).then(transformedOptions_ => {
22780
22821
  return this.http.fetch(url_, transformedOptions_);
22781
22822
  }).then((_response: Response) => {
22782
- return this.processListMaterialCertificateTypes(_response);
22823
+ return this.processCreateMaterialCertificateTypes(_response);
22783
22824
  });
22784
22825
  }
22785
22826
 
22786
- protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]> {
22827
+ protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22787
22828
  const status = response.status;
22788
22829
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22789
22830
  if (status === 200) {
22790
22831
  return response.text().then((_responseText) => {
22791
22832
  let result200: any = null;
22792
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeLiteDto[];
22833
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22793
22834
  return result200;
22794
22835
  });
22795
22836
  } else if (status !== 200 && status !== 204) {
@@ -22797,11 +22838,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22797
22838
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22798
22839
  });
22799
22840
  }
22800
- return Promise.resolve<ImaCertificateTypeLiteDto[]>(null as any);
22841
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22801
22842
  }
22802
22843
 
22803
- getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22804
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22844
+ copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22845
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
22805
22846
  if (id === undefined || id === null)
22806
22847
  throw new globalThis.Error("The parameter 'id' must be defined.");
22807
22848
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22809,9 +22850,13 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22809
22850
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22810
22851
  url_ = url_.replace(/[?&]$/, "");
22811
22852
 
22853
+ const content_ = JSON.stringify(payload);
22854
+
22812
22855
  let options_: RequestInit = {
22813
- method: "GET",
22856
+ body: content_,
22857
+ method: "POST",
22814
22858
  headers: {
22859
+ "Content-Type": "application/json",
22815
22860
  "Accept": "application/json"
22816
22861
  }
22817
22862
  };
@@ -22819,11 +22864,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22819
22864
  return this.transformOptions(options_).then(transformedOptions_ => {
22820
22865
  return this.http.fetch(url_, transformedOptions_);
22821
22866
  }).then((_response: Response) => {
22822
- return this.processGetMaterialCertificateTypes(_response);
22867
+ return this.processCopyMaterialCertificateType(_response);
22823
22868
  });
22824
22869
  }
22825
22870
 
22826
- protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22871
+ protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22827
22872
  const status = response.status;
22828
22873
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22829
22874
  if (status === 200) {
@@ -22840,8 +22885,8 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22840
22885
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
22841
22886
  }
22842
22887
 
22843
- updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22844
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22888
+ createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22889
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
22845
22890
  if (id === undefined || id === null)
22846
22891
  throw new globalThis.Error("The parameter 'id' must be defined.");
22847
22892
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22849,13 +22894,9 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22849
22894
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22850
22895
  url_ = url_.replace(/[?&]$/, "");
22851
22896
 
22852
- const content_ = JSON.stringify(payload);
22853
-
22854
22897
  let options_: RequestInit = {
22855
- body: content_,
22856
- method: "PUT",
22898
+ method: "POST",
22857
22899
  headers: {
22858
- "Content-Type": "application/json",
22859
22900
  "Accept": "application/json"
22860
22901
  }
22861
22902
  };
@@ -22863,11 +22904,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22863
22904
  return this.transformOptions(options_).then(transformedOptions_ => {
22864
22905
  return this.http.fetch(url_, transformedOptions_);
22865
22906
  }).then((_response: Response) => {
22866
- return this.processUpdateMaterialCertificateType(_response);
22907
+ return this.processCreateNewVersionForCertificateType(_response);
22867
22908
  });
22868
22909
  }
22869
22910
 
22870
- protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22911
+ protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22871
22912
  const status = response.status;
22872
22913
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22873
22914
  if (status === 200) {
@@ -22884,8 +22925,8 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22884
22925
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
22885
22926
  }
22886
22927
 
22887
- deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void> {
22888
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22928
+ releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
22929
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
22889
22930
  if (id === undefined || id === null)
22890
22931
  throw new globalThis.Error("The parameter 'id' must be defined.");
22891
22932
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22894,42 +22935,50 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22894
22935
  url_ = url_.replace(/[?&]$/, "");
22895
22936
 
22896
22937
  let options_: RequestInit = {
22897
- method: "DELETE",
22938
+ method: "POST",
22898
22939
  headers: {
22940
+ "Accept": "application/json"
22899
22941
  }
22900
22942
  };
22901
22943
 
22902
22944
  return this.transformOptions(options_).then(transformedOptions_ => {
22903
22945
  return this.http.fetch(url_, transformedOptions_);
22904
22946
  }).then((_response: Response) => {
22905
- return this.processDeleteMaterialCertificateType(_response);
22947
+ return this.processReleaseMaterialCertificateType(_response);
22906
22948
  });
22907
22949
  }
22908
22950
 
22909
- protected processDeleteMaterialCertificateType(response: Response): Promise<void> {
22951
+ protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22910
22952
  const status = response.status;
22911
22953
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22912
- if (status === 204) {
22954
+ if (status === 200) {
22913
22955
  return response.text().then((_responseText) => {
22914
- return;
22956
+ let result200: any = null;
22957
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22958
+ return result200;
22915
22959
  });
22916
22960
  } else if (status !== 200 && status !== 204) {
22917
22961
  return response.text().then((_responseText) => {
22918
22962
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22919
22963
  });
22920
22964
  }
22921
- return Promise.resolve<void>(null as any);
22965
+ return Promise.resolve<ImaCertificateTypeDto>(null as any);
22922
22966
  }
22923
22967
 
22924
- createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22925
- let url_ = this.baseUrl + "/inspect/match/certificate-types";
22968
+ updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22969
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22970
+ if (id === undefined || id === null)
22971
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22972
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22973
+ if (version !== undefined && version !== null)
22974
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
22926
22975
  url_ = url_.replace(/[?&]$/, "");
22927
22976
 
22928
22977
  const content_ = JSON.stringify(payload);
22929
22978
 
22930
22979
  let options_: RequestInit = {
22931
22980
  body: content_,
22932
- method: "POST",
22981
+ method: "PUT",
22933
22982
  headers: {
22934
22983
  "Content-Type": "application/json",
22935
22984
  "Accept": "application/json"
@@ -22939,11 +22988,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22939
22988
  return this.transformOptions(options_).then(transformedOptions_ => {
22940
22989
  return this.http.fetch(url_, transformedOptions_);
22941
22990
  }).then((_response: Response) => {
22942
- return this.processCreateMaterialCertificateTypes(_response);
22991
+ return this.processUpdateMaterialCertificateType(_response);
22943
22992
  });
22944
22993
  }
22945
22994
 
22946
- protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
22995
+ protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
22947
22996
  const status = response.status;
22948
22997
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22949
22998
  if (status === 200) {
@@ -22960,8 +23009,8 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22960
23009
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
22961
23010
  }
22962
23011
 
22963
- copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
22964
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
23012
+ deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void> {
23013
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
22965
23014
  if (id === undefined || id === null)
22966
23015
  throw new globalThis.Error("The parameter 'id' must be defined.");
22967
23016
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -22969,43 +23018,54 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22969
23018
  url_ += "version=" + encodeURIComponent("" + version) + "&";
22970
23019
  url_ = url_.replace(/[?&]$/, "");
22971
23020
 
22972
- const content_ = JSON.stringify(payload);
22973
-
22974
23021
  let options_: RequestInit = {
22975
- body: content_,
22976
- method: "POST",
23022
+ method: "DELETE",
22977
23023
  headers: {
22978
- "Content-Type": "application/json",
22979
- "Accept": "application/json"
22980
23024
  }
22981
23025
  };
22982
23026
 
22983
23027
  return this.transformOptions(options_).then(transformedOptions_ => {
22984
23028
  return this.http.fetch(url_, transformedOptions_);
22985
23029
  }).then((_response: Response) => {
22986
- return this.processCopyMaterialCertificateType(_response);
23030
+ return this.processDeleteMaterialCertificateType(_response);
22987
23031
  });
22988
23032
  }
22989
23033
 
22990
- protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
23034
+ protected processDeleteMaterialCertificateType(response: Response): Promise<void> {
22991
23035
  const status = response.status;
22992
23036
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22993
- if (status === 200) {
23037
+ if (status === 204) {
22994
23038
  return response.text().then((_responseText) => {
22995
- let result200: any = null;
22996
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
22997
- return result200;
23039
+ return;
22998
23040
  });
22999
23041
  } else if (status !== 200 && status !== 204) {
23000
23042
  return response.text().then((_responseText) => {
23001
23043
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23002
23044
  });
23003
23045
  }
23004
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
23046
+ return Promise.resolve<void>(null as any);
23005
23047
  }
23048
+ }
23006
23049
 
23007
- createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
23008
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
23050
+ export interface IInspectMatchCertificateTypesClient {
23051
+
23052
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
23053
+
23054
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
23055
+ }
23056
+
23057
+ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
23058
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
23059
+ private baseUrl: string;
23060
+
23061
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
23062
+ super(configuration);
23063
+ this.http = http ? http : window as any;
23064
+ this.baseUrl = baseUrl ?? "";
23065
+ }
23066
+
23067
+ getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
23068
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
23009
23069
  if (id === undefined || id === null)
23010
23070
  throw new globalThis.Error("The parameter 'id' must be defined.");
23011
23071
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23014,7 +23074,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
23014
23074
  url_ = url_.replace(/[?&]$/, "");
23015
23075
 
23016
23076
  let options_: RequestInit = {
23017
- method: "POST",
23077
+ method: "GET",
23018
23078
  headers: {
23019
23079
  "Accept": "application/json"
23020
23080
  }
@@ -23023,11 +23083,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
23023
23083
  return this.transformOptions(options_).then(transformedOptions_ => {
23024
23084
  return this.http.fetch(url_, transformedOptions_);
23025
23085
  }).then((_response: Response) => {
23026
- return this.processCreateNewVersionForCertificateType(_response);
23086
+ return this.processGetMaterialCertificateTypes(_response);
23027
23087
  });
23028
23088
  }
23029
23089
 
23030
- protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
23090
+ protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
23031
23091
  const status = response.status;
23032
23092
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23033
23093
  if (status === 200) {
@@ -23044,17 +23104,12 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
23044
23104
  return Promise.resolve<ImaCertificateTypeDto>(null as any);
23045
23105
  }
23046
23106
 
23047
- releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto> {
23048
- let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
23049
- if (id === undefined || id === null)
23050
- throw new globalThis.Error("The parameter 'id' must be defined.");
23051
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
23052
- if (version !== undefined && version !== null)
23053
- url_ += "version=" + encodeURIComponent("" + version) + "&";
23107
+ listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]> {
23108
+ let url_ = this.baseUrl + "/inspect/match/certificate-types/list";
23054
23109
  url_ = url_.replace(/[?&]$/, "");
23055
23110
 
23056
23111
  let options_: RequestInit = {
23057
- method: "POST",
23112
+ method: "GET",
23058
23113
  headers: {
23059
23114
  "Accept": "application/json"
23060
23115
  }
@@ -23063,17 +23118,17 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
23063
23118
  return this.transformOptions(options_).then(transformedOptions_ => {
23064
23119
  return this.http.fetch(url_, transformedOptions_);
23065
23120
  }).then((_response: Response) => {
23066
- return this.processReleaseMaterialCertificateType(_response);
23121
+ return this.processListMaterialCertificateTypes(_response);
23067
23122
  });
23068
23123
  }
23069
23124
 
23070
- protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto> {
23125
+ protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]> {
23071
23126
  const status = response.status;
23072
23127
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23073
23128
  if (status === 200) {
23074
23129
  return response.text().then((_responseText) => {
23075
23130
  let result200: any = null;
23076
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeDto;
23131
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaCertificateTypeLiteDto[];
23077
23132
  return result200;
23078
23133
  });
23079
23134
  } else if (status !== 200 && status !== 204) {
@@ -23081,7 +23136,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
23081
23136
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23082
23137
  });
23083
23138
  }
23084
- return Promise.resolve<ImaCertificateTypeDto>(null as any);
23139
+ return Promise.resolve<ImaCertificateTypeLiteDto[]>(null as any);
23085
23140
  }
23086
23141
  }
23087
23142
 
@@ -23223,15 +23278,7 @@ export class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implement
23223
23278
  }
23224
23279
  }
23225
23280
 
23226
- export interface IInspectMatchSpecificationsClient {
23227
-
23228
- listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
23229
-
23230
- getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
23231
-
23232
- updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
23233
-
23234
- deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
23281
+ export interface IInspectMatchSpecificationsAdminClient {
23235
23282
 
23236
23283
  createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
23237
23284
 
@@ -23240,9 +23287,13 @@ export interface IInspectMatchSpecificationsClient {
23240
23287
  createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
23241
23288
 
23242
23289
  releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
23290
+
23291
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
23292
+
23293
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
23243
23294
  }
23244
23295
 
23245
- export class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
23296
+ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
23246
23297
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
23247
23298
  private baseUrl: string;
23248
23299
 
@@ -23252,13 +23303,17 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23252
23303
  this.baseUrl = baseUrl ?? "";
23253
23304
  }
23254
23305
 
23255
- listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
23256
- let url_ = this.baseUrl + "/inspect/match/specifications/list";
23306
+ createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
23307
+ let url_ = this.baseUrl + "/inspect/match/specifications";
23257
23308
  url_ = url_.replace(/[?&]$/, "");
23258
23309
 
23310
+ const content_ = JSON.stringify(createRequestDto);
23311
+
23259
23312
  let options_: RequestInit = {
23260
- method: "GET",
23313
+ body: content_,
23314
+ method: "POST",
23261
23315
  headers: {
23316
+ "Content-Type": "application/json",
23262
23317
  "Accept": "application/json"
23263
23318
  }
23264
23319
  };
@@ -23266,17 +23321,17 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23266
23321
  return this.transformOptions(options_).then(transformedOptions_ => {
23267
23322
  return this.http.fetch(url_, transformedOptions_);
23268
23323
  }).then((_response: Response) => {
23269
- return this.processListSpecifications(_response);
23324
+ return this.processCreateSpecification(_response);
23270
23325
  });
23271
23326
  }
23272
23327
 
23273
- protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
23328
+ protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto> {
23274
23329
  const status = response.status;
23275
23330
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23276
23331
  if (status === 200) {
23277
23332
  return response.text().then((_responseText) => {
23278
23333
  let result200: any = null;
23279
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
23334
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
23280
23335
  return result200;
23281
23336
  });
23282
23337
  } else if (status !== 200 && status !== 204) {
@@ -23284,11 +23339,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23284
23339
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23285
23340
  });
23286
23341
  }
23287
- return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
23342
+ return Promise.resolve<ImaSpecificationDto>(null as any);
23288
23343
  }
23289
23344
 
23290
- getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23291
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23345
+ copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto> {
23346
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/copy?";
23292
23347
  if (id === undefined || id === null)
23293
23348
  throw new globalThis.Error("The parameter 'id' must be defined.");
23294
23349
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23296,9 +23351,13 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23296
23351
  url_ += "version=" + encodeURIComponent("" + version) + "&";
23297
23352
  url_ = url_.replace(/[?&]$/, "");
23298
23353
 
23354
+ const content_ = JSON.stringify(copyDto);
23355
+
23299
23356
  let options_: RequestInit = {
23300
- method: "GET",
23357
+ body: content_,
23358
+ method: "POST",
23301
23359
  headers: {
23360
+ "Content-Type": "application/json",
23302
23361
  "Accept": "application/json"
23303
23362
  }
23304
23363
  };
@@ -23306,11 +23365,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23306
23365
  return this.transformOptions(options_).then(transformedOptions_ => {
23307
23366
  return this.http.fetch(url_, transformedOptions_);
23308
23367
  }).then((_response: Response) => {
23309
- return this.processGetSpecification(_response);
23368
+ return this.processCopySpecification(_response);
23310
23369
  });
23311
23370
  }
23312
23371
 
23313
- protected processGetSpecification(response: Response): Promise<ImaSpecificationDto> {
23372
+ protected processCopySpecification(response: Response): Promise<ImaSpecificationDto> {
23314
23373
  const status = response.status;
23315
23374
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23316
23375
  if (status === 200) {
@@ -23327,8 +23386,8 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23327
23386
  return Promise.resolve<ImaSpecificationDto>(null as any);
23328
23387
  }
23329
23388
 
23330
- updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
23331
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23389
+ createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23390
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/new-version?";
23332
23391
  if (id === undefined || id === null)
23333
23392
  throw new globalThis.Error("The parameter 'id' must be defined.");
23334
23393
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23336,13 +23395,9 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23336
23395
  url_ += "version=" + encodeURIComponent("" + version) + "&";
23337
23396
  url_ = url_.replace(/[?&]$/, "");
23338
23397
 
23339
- const content_ = JSON.stringify(dto);
23340
-
23341
23398
  let options_: RequestInit = {
23342
- body: content_,
23343
- method: "PUT",
23399
+ method: "POST",
23344
23400
  headers: {
23345
- "Content-Type": "application/json",
23346
23401
  "Accept": "application/json"
23347
23402
  }
23348
23403
  };
@@ -23350,11 +23405,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23350
23405
  return this.transformOptions(options_).then(transformedOptions_ => {
23351
23406
  return this.http.fetch(url_, transformedOptions_);
23352
23407
  }).then((_response: Response) => {
23353
- return this.processUpdateSpecification(_response);
23408
+ return this.processCreateNewVersionForSpecification(_response);
23354
23409
  });
23355
23410
  }
23356
23411
 
23357
- protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto> {
23412
+ protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto> {
23358
23413
  const status = response.status;
23359
23414
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23360
23415
  if (status === 200) {
@@ -23371,8 +23426,8 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23371
23426
  return Promise.resolve<ImaSpecificationDto>(null as any);
23372
23427
  }
23373
23428
 
23374
- deleteSpecification(id: string, version: number | null | undefined): Promise<void> {
23375
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23429
+ releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23430
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}/release?";
23376
23431
  if (id === undefined || id === null)
23377
23432
  throw new globalThis.Error("The parameter 'id' must be defined.");
23378
23433
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23381,42 +23436,50 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23381
23436
  url_ = url_.replace(/[?&]$/, "");
23382
23437
 
23383
23438
  let options_: RequestInit = {
23384
- method: "DELETE",
23439
+ method: "POST",
23385
23440
  headers: {
23441
+ "Accept": "application/json"
23386
23442
  }
23387
23443
  };
23388
23444
 
23389
23445
  return this.transformOptions(options_).then(transformedOptions_ => {
23390
23446
  return this.http.fetch(url_, transformedOptions_);
23391
23447
  }).then((_response: Response) => {
23392
- return this.processDeleteSpecification(_response);
23448
+ return this.processReleaseSpecification(_response);
23393
23449
  });
23394
23450
  }
23395
23451
 
23396
- protected processDeleteSpecification(response: Response): Promise<void> {
23452
+ protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto> {
23397
23453
  const status = response.status;
23398
23454
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23399
- if (status === 204) {
23455
+ if (status === 200) {
23400
23456
  return response.text().then((_responseText) => {
23401
- return;
23457
+ let result200: any = null;
23458
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
23459
+ return result200;
23402
23460
  });
23403
23461
  } else if (status !== 200 && status !== 204) {
23404
23462
  return response.text().then((_responseText) => {
23405
23463
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23406
23464
  });
23407
23465
  }
23408
- return Promise.resolve<void>(null as any);
23466
+ return Promise.resolve<ImaSpecificationDto>(null as any);
23409
23467
  }
23410
23468
 
23411
- createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
23412
- let url_ = this.baseUrl + "/inspect/match/specifications";
23469
+ updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
23470
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23471
+ if (id === undefined || id === null)
23472
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23473
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23474
+ if (version !== undefined && version !== null)
23475
+ url_ += "version=" + encodeURIComponent("" + version) + "&";
23413
23476
  url_ = url_.replace(/[?&]$/, "");
23414
23477
 
23415
- const content_ = JSON.stringify(createRequestDto);
23478
+ const content_ = JSON.stringify(dto);
23416
23479
 
23417
23480
  let options_: RequestInit = {
23418
23481
  body: content_,
23419
- method: "POST",
23482
+ method: "PUT",
23420
23483
  headers: {
23421
23484
  "Content-Type": "application/json",
23422
23485
  "Accept": "application/json"
@@ -23426,11 +23489,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23426
23489
  return this.transformOptions(options_).then(transformedOptions_ => {
23427
23490
  return this.http.fetch(url_, transformedOptions_);
23428
23491
  }).then((_response: Response) => {
23429
- return this.processCreateSpecification(_response);
23492
+ return this.processUpdateSpecification(_response);
23430
23493
  });
23431
23494
  }
23432
23495
 
23433
- protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto> {
23496
+ protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto> {
23434
23497
  const status = response.status;
23435
23498
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23436
23499
  if (status === 200) {
@@ -23447,8 +23510,8 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23447
23510
  return Promise.resolve<ImaSpecificationDto>(null as any);
23448
23511
  }
23449
23512
 
23450
- copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto> {
23451
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}/copy?";
23513
+ deleteSpecification(id: string, version: number | null | undefined): Promise<void> {
23514
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23452
23515
  if (id === undefined || id === null)
23453
23516
  throw new globalThis.Error("The parameter 'id' must be defined.");
23454
23517
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23456,43 +23519,54 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23456
23519
  url_ += "version=" + encodeURIComponent("" + version) + "&";
23457
23520
  url_ = url_.replace(/[?&]$/, "");
23458
23521
 
23459
- const content_ = JSON.stringify(copyDto);
23460
-
23461
23522
  let options_: RequestInit = {
23462
- body: content_,
23463
- method: "POST",
23523
+ method: "DELETE",
23464
23524
  headers: {
23465
- "Content-Type": "application/json",
23466
- "Accept": "application/json"
23467
23525
  }
23468
23526
  };
23469
23527
 
23470
23528
  return this.transformOptions(options_).then(transformedOptions_ => {
23471
23529
  return this.http.fetch(url_, transformedOptions_);
23472
23530
  }).then((_response: Response) => {
23473
- return this.processCopySpecification(_response);
23531
+ return this.processDeleteSpecification(_response);
23474
23532
  });
23475
23533
  }
23476
23534
 
23477
- protected processCopySpecification(response: Response): Promise<ImaSpecificationDto> {
23535
+ protected processDeleteSpecification(response: Response): Promise<void> {
23478
23536
  const status = response.status;
23479
23537
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23480
- if (status === 200) {
23538
+ if (status === 204) {
23481
23539
  return response.text().then((_responseText) => {
23482
- let result200: any = null;
23483
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
23484
- return result200;
23540
+ return;
23485
23541
  });
23486
23542
  } else if (status !== 200 && status !== 204) {
23487
23543
  return response.text().then((_responseText) => {
23488
23544
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23489
23545
  });
23490
23546
  }
23491
- return Promise.resolve<ImaSpecificationDto>(null as any);
23547
+ return Promise.resolve<void>(null as any);
23492
23548
  }
23549
+ }
23493
23550
 
23494
- createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23495
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}/new-version?";
23551
+ export interface IInspectMatchSpecificationsClient {
23552
+
23553
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
23554
+
23555
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
23556
+ }
23557
+
23558
+ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
23559
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
23560
+ private baseUrl: string;
23561
+
23562
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
23563
+ super(configuration);
23564
+ this.http = http ? http : window as any;
23565
+ this.baseUrl = baseUrl ?? "";
23566
+ }
23567
+
23568
+ getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23569
+ let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
23496
23570
  if (id === undefined || id === null)
23497
23571
  throw new globalThis.Error("The parameter 'id' must be defined.");
23498
23572
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -23501,7 +23575,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23501
23575
  url_ = url_.replace(/[?&]$/, "");
23502
23576
 
23503
23577
  let options_: RequestInit = {
23504
- method: "POST",
23578
+ method: "GET",
23505
23579
  headers: {
23506
23580
  "Accept": "application/json"
23507
23581
  }
@@ -23510,11 +23584,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23510
23584
  return this.transformOptions(options_).then(transformedOptions_ => {
23511
23585
  return this.http.fetch(url_, transformedOptions_);
23512
23586
  }).then((_response: Response) => {
23513
- return this.processCreateNewVersionForSpecification(_response);
23587
+ return this.processGetSpecification(_response);
23514
23588
  });
23515
23589
  }
23516
23590
 
23517
- protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto> {
23591
+ protected processGetSpecification(response: Response): Promise<ImaSpecificationDto> {
23518
23592
  const status = response.status;
23519
23593
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23520
23594
  if (status === 200) {
@@ -23531,17 +23605,12 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23531
23605
  return Promise.resolve<ImaSpecificationDto>(null as any);
23532
23606
  }
23533
23607
 
23534
- releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto> {
23535
- let url_ = this.baseUrl + "/inspect/match/specifications/{id}/release?";
23536
- if (id === undefined || id === null)
23537
- throw new globalThis.Error("The parameter 'id' must be defined.");
23538
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
23539
- if (version !== undefined && version !== null)
23540
- url_ += "version=" + encodeURIComponent("" + version) + "&";
23608
+ listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
23609
+ let url_ = this.baseUrl + "/inspect/match/specifications/list";
23541
23610
  url_ = url_.replace(/[?&]$/, "");
23542
23611
 
23543
23612
  let options_: RequestInit = {
23544
- method: "POST",
23613
+ method: "GET",
23545
23614
  headers: {
23546
23615
  "Accept": "application/json"
23547
23616
  }
@@ -23550,17 +23619,17 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23550
23619
  return this.transformOptions(options_).then(transformedOptions_ => {
23551
23620
  return this.http.fetch(url_, transformedOptions_);
23552
23621
  }).then((_response: Response) => {
23553
- return this.processReleaseSpecification(_response);
23622
+ return this.processListSpecifications(_response);
23554
23623
  });
23555
23624
  }
23556
23625
 
23557
- protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto> {
23626
+ protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
23558
23627
  const status = response.status;
23559
23628
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23560
23629
  if (status === 200) {
23561
23630
  return response.text().then((_responseText) => {
23562
23631
  let result200: any = null;
23563
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationDto;
23632
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
23564
23633
  return result200;
23565
23634
  });
23566
23635
  } else if (status !== 200 && status !== 204) {
@@ -23568,7 +23637,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
23568
23637
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23569
23638
  });
23570
23639
  }
23571
- return Promise.resolve<ImaSpecificationDto>(null as any);
23640
+ return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
23572
23641
  }
23573
23642
  }
23574
23643
 
@@ -29948,6 +30017,15 @@ export interface UploadInfoDto {
29948
30017
  accessKey?: string | null;
29949
30018
  }
29950
30019
 
30020
+ export interface UploadInfoCdfDto {
30021
+ id: number;
30022
+ url: string;
30023
+ }
30024
+
30025
+ export interface CreateUploadInfoCdf {
30026
+ name: string;
30027
+ }
30028
+
29951
30029
  export interface DataHealthDto {
29952
30030
  machines?: MachineDataHealthDto[] | null;
29953
30031
  }
@@ -34385,7 +34463,7 @@ export interface ImaMaterialCheckLiteDto {
34385
34463
  specificationVersion: number;
34386
34464
  specificationName: string;
34387
34465
  purchaseOrder?: string | null;
34388
- purchaseOrderLine?: string | null;
34466
+ purchaseOrderLine?: number | null;
34389
34467
  purchaseOrderItem?: string | null;
34390
34468
  purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
34391
34469
  purchaseOrderLot?: string | null;
@@ -34398,7 +34476,7 @@ export interface ImaMaterialCheckLiteDto {
34398
34476
  isDeleted?: boolean;
34399
34477
  }
34400
34478
 
34401
- export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
34479
+ export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
34402
34480
 
34403
34481
  export interface ImaMaterialChecksPageRequestDto {
34404
34482
  pageSize?: number | null;
@@ -34437,7 +34515,7 @@ export interface ImaMaterialCheckDto {
34437
34515
  specificationVersion: number;
34438
34516
  specificationName: string;
34439
34517
  purchaseOrder?: string | null;
34440
- purchaseOrderLine?: string | null;
34518
+ purchaseOrderLine?: number | null;
34441
34519
  purchaseOrderItem?: string | null;
34442
34520
  purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
34443
34521
  purchaseOrderLot?: string | null;
@@ -34618,13 +34696,18 @@ export interface ImaSpecificationHeatTreatmentHeatingResult {
34618
34696
  duration?: ImaSpecificationResultLineDto | null;
34619
34697
  }
34620
34698
 
34621
- export interface ProcessImaCheckRequestDto {
34622
- files: UploadFileDto[];
34699
+ export interface ProcessMaterialCertificate {
34700
+ files: UploadFileCdfDto[];
34623
34701
  specificationId: string;
34624
- specificationVersion: string;
34702
+ specificationVersion: number;
34625
34703
  certificateTypeId?: string | null;
34626
- certificateTypeVersion?: string | null;
34704
+ certificateTypeVersion?: number | null;
34627
34705
  purchaseOrder?: string | null;
34706
+ purchaseOrderLine?: number | null;
34707
+ }
34708
+
34709
+ export interface UploadFileCdfDto {
34710
+ id: number;
34628
34711
  }
34629
34712
 
34630
34713
  export interface ImaUpdateResultRequestDto {
@@ -34762,25 +34845,6 @@ export interface ImaUpdateSpecificationHeatTreatmentResultsDto {
34762
34845
  export interface ImaCdfEntityReadBase {
34763
34846
  }
34764
34847
 
34765
- export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
34766
- certificateTypeId: string;
34767
- version: number;
34768
- name: string;
34769
- revision: string;
34770
- status: ImaCertificateTypeStatus;
34771
- description?: string | null;
34772
- isStandardCertificateType: boolean;
34773
- created: Date;
34774
- createdBy: string;
34775
- createdById: string;
34776
- updatedBy?: string | null;
34777
- updatedById?: string | null;
34778
- updated: Date;
34779
- isDeleted: boolean;
34780
- }
34781
-
34782
- export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
34783
-
34784
34848
  export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
34785
34849
  certificateTypeId: string;
34786
34850
  version: number;
@@ -34805,6 +34869,8 @@ export interface ImaCertificateTypeVersionDto {
34805
34869
  status?: ImaCertificateTypeStatus;
34806
34870
  }
34807
34871
 
34872
+ export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
34873
+
34808
34874
  export interface ImaCertificateTypeRequirementsDto {
34809
34875
  manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
34810
34876
  signature: ImaCertificateTypeSignatureRequirementsDto;
@@ -34975,6 +35041,23 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
34975
35041
  radiologicalReport?: boolean | null;
34976
35042
  }
34977
35043
 
35044
+ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
35045
+ certificateTypeId: string;
35046
+ version: number;
35047
+ name: string;
35048
+ revision: string;
35049
+ status: ImaCertificateTypeStatus;
35050
+ description?: string | null;
35051
+ isStandardCertificateType: boolean;
35052
+ created: Date;
35053
+ createdBy: string;
35054
+ createdById: string;
35055
+ updatedBy?: string | null;
35056
+ updatedById?: string | null;
35057
+ updated: Date;
35058
+ isDeleted: boolean;
35059
+ }
35060
+
34978
35061
  export interface PurchaseOrderMaterialSearchResultsDto {
34979
35062
  purchaseOrders: string[];
34980
35063
  }
@@ -35018,26 +35101,6 @@ export interface User {
35018
35101
  email?: string | null;
35019
35102
  }
35020
35103
 
35021
- export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
35022
- specificationId: string;
35023
- version: number;
35024
- name: string;
35025
- number: string;
35026
- revision: string;
35027
- date: Date;
35028
- status: ImaSpecificationStatus;
35029
- summary?: string | null;
35030
- relatedStandards: string[];
35031
- created: Date;
35032
- createdBy: string;
35033
- createdById: string;
35034
- updatedBy: string;
35035
- updatedById: string;
35036
- isDeleted: boolean;
35037
- }
35038
-
35039
- export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35040
-
35041
35104
  export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
35042
35105
  specificationId: string;
35043
35106
  version: number;
@@ -35067,6 +35130,8 @@ export interface ImaSpecificationVersionDto {
35067
35130
  status?: ImaSpecificationStatus;
35068
35131
  }
35069
35132
 
35133
+ export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
35134
+
35070
35135
  export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
35071
35136
  carbon?: ImaSpecificationLineDto | null;
35072
35137
  manganese?: ImaSpecificationLineDto | null;
@@ -35089,7 +35154,7 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
35089
35154
  unit: ImaSpecificationUnit;
35090
35155
  }
35091
35156
 
35092
- export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
35157
+ export type ImaSpecificationOperator = "Min" | "Max" | "Between" | "NotSet";
35093
35158
 
35094
35159
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
35095
35160
  yieldStrength?: ImaSpecificationLineDto | null;
@@ -35155,6 +35220,24 @@ export interface ImaUpdateSpecificationDto {
35155
35220
 
35156
35221
  export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
35157
35222
 
35223
+ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
35224
+ specificationId: string;
35225
+ version: number;
35226
+ name: string;
35227
+ number: string;
35228
+ revision: string;
35229
+ date: Date;
35230
+ status: ImaSpecificationStatus;
35231
+ summary?: string | null;
35232
+ relatedStandards: string[];
35233
+ created: Date;
35234
+ createdBy: string;
35235
+ createdById: string;
35236
+ updatedBy: string;
35237
+ updatedById: string;
35238
+ isDeleted: boolean;
35239
+ }
35240
+
35158
35241
  export interface MeasurementFormSchemaDto {
35159
35242
  id: string;
35160
35243
  versionId: number;