@ignos/api-client 20260417.110.1-alpha → 20260417.111.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.
@@ -22566,6 +22566,217 @@ export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
22566
22566
  }
22567
22567
  }
22568
22568
 
22569
+ export interface IInspectMatchCertificateChecksClient {
22570
+
22571
+ listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
22572
+
22573
+ getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
22574
+
22575
+ deleteMaterialCheck(id: string): Promise<void>;
22576
+
22577
+ processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
22578
+
22579
+ updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
22580
+ }
22581
+
22582
+ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase implements IInspectMatchCertificateChecksClient {
22583
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
22584
+ private baseUrl: string;
22585
+
22586
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
22587
+ super(configuration);
22588
+ this.http = http ? http : window as any;
22589
+ this.baseUrl = baseUrl ?? "";
22590
+ }
22591
+
22592
+ listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto> {
22593
+ let url_ = this.baseUrl + "/inspect/match/material-checks/list";
22594
+ url_ = url_.replace(/[?&]$/, "");
22595
+
22596
+ const content_ = JSON.stringify(request);
22597
+
22598
+ let options_: RequestInit = {
22599
+ body: content_,
22600
+ method: "POST",
22601
+ headers: {
22602
+ "Content-Type": "application/json",
22603
+ "Accept": "application/json"
22604
+ }
22605
+ };
22606
+
22607
+ return this.transformOptions(options_).then(transformedOptions_ => {
22608
+ return this.http.fetch(url_, transformedOptions_);
22609
+ }).then((_response: Response) => {
22610
+ return this.processListMaterialCertificateChecks(_response);
22611
+ });
22612
+ }
22613
+
22614
+ protected processListMaterialCertificateChecks(response: Response): Promise<ImaMaterialChecksPageDto> {
22615
+ const status = response.status;
22616
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22617
+ if (status === 200) {
22618
+ return response.text().then((_responseText) => {
22619
+ let result200: any = null;
22620
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialChecksPageDto;
22621
+ return result200;
22622
+ });
22623
+ } else if (status !== 200 && status !== 204) {
22624
+ return response.text().then((_responseText) => {
22625
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22626
+ });
22627
+ }
22628
+ return Promise.resolve<ImaMaterialChecksPageDto>(null as any);
22629
+ }
22630
+
22631
+ getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto> {
22632
+ let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
22633
+ if (id === undefined || id === null)
22634
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22635
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22636
+ url_ = url_.replace(/[?&]$/, "");
22637
+
22638
+ let options_: RequestInit = {
22639
+ method: "GET",
22640
+ headers: {
22641
+ "Accept": "application/json"
22642
+ }
22643
+ };
22644
+
22645
+ return this.transformOptions(options_).then(transformedOptions_ => {
22646
+ return this.http.fetch(url_, transformedOptions_);
22647
+ }).then((_response: Response) => {
22648
+ return this.processGetMaterialCertificateCheck(_response);
22649
+ });
22650
+ }
22651
+
22652
+ protected processGetMaterialCertificateCheck(response: Response): Promise<ImaMaterialCheckDto> {
22653
+ const status = response.status;
22654
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22655
+ if (status === 200) {
22656
+ return response.text().then((_responseText) => {
22657
+ let result200: any = null;
22658
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialCheckDto;
22659
+ return result200;
22660
+ });
22661
+ } else if (status !== 200 && status !== 204) {
22662
+ return response.text().then((_responseText) => {
22663
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22664
+ });
22665
+ }
22666
+ return Promise.resolve<ImaMaterialCheckDto>(null as any);
22667
+ }
22668
+
22669
+ deleteMaterialCheck(id: string): Promise<void> {
22670
+ let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
22671
+ if (id === undefined || id === null)
22672
+ throw new globalThis.Error("The parameter 'id' must be defined.");
22673
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
22674
+ url_ = url_.replace(/[?&]$/, "");
22675
+
22676
+ let options_: RequestInit = {
22677
+ method: "DELETE",
22678
+ headers: {
22679
+ }
22680
+ };
22681
+
22682
+ return this.transformOptions(options_).then(transformedOptions_ => {
22683
+ return this.http.fetch(url_, transformedOptions_);
22684
+ }).then((_response: Response) => {
22685
+ return this.processDeleteMaterialCheck(_response);
22686
+ });
22687
+ }
22688
+
22689
+ protected processDeleteMaterialCheck(response: Response): Promise<void> {
22690
+ const status = response.status;
22691
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22692
+ if (status === 204) {
22693
+ return response.text().then((_responseText) => {
22694
+ return;
22695
+ });
22696
+ } else if (status !== 200 && status !== 204) {
22697
+ return response.text().then((_responseText) => {
22698
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22699
+ });
22700
+ }
22701
+ return Promise.resolve<void>(null as any);
22702
+ }
22703
+
22704
+ processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void> {
22705
+ let url_ = this.baseUrl + "/inspect/match/material-checks";
22706
+ url_ = url_.replace(/[?&]$/, "");
22707
+
22708
+ const content_ = JSON.stringify(certificatesRequest);
22709
+
22710
+ let options_: RequestInit = {
22711
+ body: content_,
22712
+ method: "POST",
22713
+ headers: {
22714
+ "Content-Type": "application/json",
22715
+ }
22716
+ };
22717
+
22718
+ return this.transformOptions(options_).then(transformedOptions_ => {
22719
+ return this.http.fetch(url_, transformedOptions_);
22720
+ }).then((_response: Response) => {
22721
+ return this.processProcessMaterialCertificate(_response);
22722
+ });
22723
+ }
22724
+
22725
+ protected processProcessMaterialCertificate(response: Response): Promise<void> {
22726
+ const status = response.status;
22727
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22728
+ if (status === 201) {
22729
+ return response.text().then((_responseText) => {
22730
+ return;
22731
+ });
22732
+ } else if (status !== 200 && status !== 204) {
22733
+ return response.text().then((_responseText) => {
22734
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22735
+ });
22736
+ }
22737
+ return Promise.resolve<void>(null as any);
22738
+ }
22739
+
22740
+ updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto> {
22741
+ let url_ = this.baseUrl + "/inspect/match/material-checks";
22742
+ url_ = url_.replace(/[?&]$/, "");
22743
+
22744
+ const content_ = JSON.stringify(certificatesRequest);
22745
+
22746
+ let options_: RequestInit = {
22747
+ body: content_,
22748
+ method: "PUT",
22749
+ headers: {
22750
+ "Content-Type": "application/json",
22751
+ "Accept": "application/json"
22752
+ }
22753
+ };
22754
+
22755
+ return this.transformOptions(options_).then(transformedOptions_ => {
22756
+ return this.http.fetch(url_, transformedOptions_);
22757
+ }).then((_response: Response) => {
22758
+ return this.processUpdateMaterialCertificate(_response);
22759
+ });
22760
+ }
22761
+
22762
+ protected processUpdateMaterialCertificate(response: Response): Promise<ImaMaterialCheckDto> {
22763
+ const status = response.status;
22764
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22765
+ if (status === 200) {
22766
+ return response.text().then((_responseText) => {
22767
+ let result200: any = null;
22768
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialCheckDto;
22769
+ return result200;
22770
+ });
22771
+ } else if (status !== 200 && status !== 204) {
22772
+ return response.text().then((_responseText) => {
22773
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22774
+ });
22775
+ }
22776
+ return Promise.resolve<ImaMaterialCheckDto>(null as any);
22777
+ }
22778
+ }
22779
+
22569
22780
  export interface IInspectMatchCertificateTypesAdminClient {
22570
22781
 
22571
22782
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
@@ -22929,20 +23140,16 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
22929
23140
  }
22930
23141
  }
22931
23142
 
22932
- export interface IInspectMatchMaterialChecksClient {
22933
-
22934
- listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
22935
-
22936
- getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
23143
+ export interface IInspectMatchPurchaseOrderClient {
22937
23144
 
22938
- updateMaterialCheck(id: string, request: ImaUpdateMaterialCheckRequestDto): Promise<ImaMaterialCheckDto>;
23145
+ searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
22939
23146
 
22940
- deleteMaterialCheck(id: string): Promise<void>;
23147
+ getPurchaseOrderLines(purchaseOrder: string): Promise<PurchaseOrderMaterialLinesDto>;
22941
23148
 
22942
- processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
23149
+ getPurchaseOrderLineDetails(purchaseOrder: string, lineNumber: number): Promise<PurchaseOrderMaterialLineDetailsDto>;
22943
23150
  }
22944
23151
 
22945
- export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
23152
+ export class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implements IInspectMatchPurchaseOrderClient {
22946
23153
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
22947
23154
  private baseUrl: string;
22948
23155
 
@@ -22952,17 +23159,17 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
22952
23159
  this.baseUrl = baseUrl ?? "";
22953
23160
  }
22954
23161
 
22955
- listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto> {
22956
- let url_ = this.baseUrl + "/inspect/match/material-checks/list";
23162
+ searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto> {
23163
+ let url_ = this.baseUrl + "/inspect/match/purchase-order/search?";
23164
+ if (input === null)
23165
+ throw new globalThis.Error("The parameter 'input' cannot be null.");
23166
+ else if (input !== undefined)
23167
+ url_ += "input=" + encodeURIComponent("" + input) + "&";
22957
23168
  url_ = url_.replace(/[?&]$/, "");
22958
23169
 
22959
- const content_ = JSON.stringify(request);
22960
-
22961
23170
  let options_: RequestInit = {
22962
- body: content_,
22963
- method: "POST",
23171
+ method: "GET",
22964
23172
  headers: {
22965
- "Content-Type": "application/json",
22966
23173
  "Accept": "application/json"
22967
23174
  }
22968
23175
  };
@@ -22970,17 +23177,17 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
22970
23177
  return this.transformOptions(options_).then(transformedOptions_ => {
22971
23178
  return this.http.fetch(url_, transformedOptions_);
22972
23179
  }).then((_response: Response) => {
22973
- return this.processListMaterialChecks(_response);
23180
+ return this.processSearchPurchaseOrders(_response);
22974
23181
  });
22975
23182
  }
22976
23183
 
22977
- protected processListMaterialChecks(response: Response): Promise<ImaMaterialChecksPageDto> {
23184
+ protected processSearchPurchaseOrders(response: Response): Promise<PurchaseOrderMaterialSearchResultsDto> {
22978
23185
  const status = response.status;
22979
23186
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
22980
23187
  if (status === 200) {
22981
23188
  return response.text().then((_responseText) => {
22982
23189
  let result200: any = null;
22983
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialChecksPageDto;
23190
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PurchaseOrderMaterialSearchResultsDto;
22984
23191
  return result200;
22985
23192
  });
22986
23193
  } else if (status !== 200 && status !== 204) {
@@ -22988,14 +23195,14 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
22988
23195
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22989
23196
  });
22990
23197
  }
22991
- return Promise.resolve<ImaMaterialChecksPageDto>(null as any);
23198
+ return Promise.resolve<PurchaseOrderMaterialSearchResultsDto>(null as any);
22992
23199
  }
22993
23200
 
22994
- getMaterialCheck(id: string): Promise<ImaMaterialCheckDto> {
22995
- let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
22996
- if (id === undefined || id === null)
22997
- throw new globalThis.Error("The parameter 'id' must be defined.");
22998
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
23201
+ getPurchaseOrderLines(purchaseOrder: string): Promise<PurchaseOrderMaterialLinesDto> {
23202
+ let url_ = this.baseUrl + "/inspect/match/purchase-order/lines/{purchaseOrder}";
23203
+ if (purchaseOrder === undefined || purchaseOrder === null)
23204
+ throw new globalThis.Error("The parameter 'purchaseOrder' must be defined.");
23205
+ url_ = url_.replace("{purchaseOrder}", encodeURIComponent("" + purchaseOrder));
22999
23206
  url_ = url_.replace(/[?&]$/, "");
23000
23207
 
23001
23208
  let options_: RequestInit = {
@@ -23008,17 +23215,17 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
23008
23215
  return this.transformOptions(options_).then(transformedOptions_ => {
23009
23216
  return this.http.fetch(url_, transformedOptions_);
23010
23217
  }).then((_response: Response) => {
23011
- return this.processGetMaterialCheck(_response);
23218
+ return this.processGetPurchaseOrderLines(_response);
23012
23219
  });
23013
23220
  }
23014
23221
 
23015
- protected processGetMaterialCheck(response: Response): Promise<ImaMaterialCheckDto> {
23222
+ protected processGetPurchaseOrderLines(response: Response): Promise<PurchaseOrderMaterialLinesDto> {
23016
23223
  const status = response.status;
23017
23224
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23018
23225
  if (status === 200) {
23019
23226
  return response.text().then((_responseText) => {
23020
23227
  let result200: any = null;
23021
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialCheckDto;
23228
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PurchaseOrderMaterialLinesDto;
23022
23229
  return result200;
23023
23230
  });
23024
23231
  } else if (status !== 200 && status !== 204) {
@@ -23026,227 +23233,17 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
23026
23233
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23027
23234
  });
23028
23235
  }
23029
- return Promise.resolve<ImaMaterialCheckDto>(null as any);
23236
+ return Promise.resolve<PurchaseOrderMaterialLinesDto>(null as any);
23030
23237
  }
23031
23238
 
23032
- updateMaterialCheck(id: string, request: ImaUpdateMaterialCheckRequestDto): Promise<ImaMaterialCheckDto> {
23033
- let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
23034
- if (id === undefined || id === null)
23035
- throw new globalThis.Error("The parameter 'id' must be defined.");
23036
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
23037
- url_ = url_.replace(/[?&]$/, "");
23038
-
23039
- const content_ = JSON.stringify(request);
23040
-
23041
- let options_: RequestInit = {
23042
- body: content_,
23043
- method: "PUT",
23044
- headers: {
23045
- "Content-Type": "application/json",
23046
- "Accept": "application/json"
23047
- }
23048
- };
23049
-
23050
- return this.transformOptions(options_).then(transformedOptions_ => {
23051
- return this.http.fetch(url_, transformedOptions_);
23052
- }).then((_response: Response) => {
23053
- return this.processUpdateMaterialCheck(_response);
23054
- });
23055
- }
23056
-
23057
- protected processUpdateMaterialCheck(response: Response): Promise<ImaMaterialCheckDto> {
23058
- const status = response.status;
23059
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23060
- if (status === 200) {
23061
- return response.text().then((_responseText) => {
23062
- let result200: any = null;
23063
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaMaterialCheckDto;
23064
- return result200;
23065
- });
23066
- } else if (status !== 200 && status !== 204) {
23067
- return response.text().then((_responseText) => {
23068
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23069
- });
23070
- }
23071
- return Promise.resolve<ImaMaterialCheckDto>(null as any);
23072
- }
23073
-
23074
- deleteMaterialCheck(id: string): Promise<void> {
23075
- let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
23076
- if (id === undefined || id === null)
23077
- throw new globalThis.Error("The parameter 'id' must be defined.");
23078
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
23079
- url_ = url_.replace(/[?&]$/, "");
23080
-
23081
- let options_: RequestInit = {
23082
- method: "DELETE",
23083
- headers: {
23084
- }
23085
- };
23086
-
23087
- return this.transformOptions(options_).then(transformedOptions_ => {
23088
- return this.http.fetch(url_, transformedOptions_);
23089
- }).then((_response: Response) => {
23090
- return this.processDeleteMaterialCheck(_response);
23091
- });
23092
- }
23093
-
23094
- protected processDeleteMaterialCheck(response: Response): Promise<void> {
23095
- const status = response.status;
23096
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23097
- if (status === 204) {
23098
- return response.text().then((_responseText) => {
23099
- return;
23100
- });
23101
- } else if (status !== 200 && status !== 204) {
23102
- return response.text().then((_responseText) => {
23103
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23104
- });
23105
- }
23106
- return Promise.resolve<void>(null as any);
23107
- }
23108
-
23109
- processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void> {
23110
- let url_ = this.baseUrl + "/inspect/match/material-checks";
23111
- url_ = url_.replace(/[?&]$/, "");
23112
-
23113
- const content_ = JSON.stringify(certificatesRequest);
23114
-
23115
- let options_: RequestInit = {
23116
- body: content_,
23117
- method: "POST",
23118
- headers: {
23119
- "Content-Type": "application/json",
23120
- }
23121
- };
23122
-
23123
- return this.transformOptions(options_).then(transformedOptions_ => {
23124
- return this.http.fetch(url_, transformedOptions_);
23125
- }).then((_response: Response) => {
23126
- return this.processProcessMaterialCertificate(_response);
23127
- });
23128
- }
23129
-
23130
- protected processProcessMaterialCertificate(response: Response): Promise<void> {
23131
- const status = response.status;
23132
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23133
- if (status === 201) {
23134
- return response.text().then((_responseText) => {
23135
- return;
23136
- });
23137
- } else if (status !== 200 && status !== 204) {
23138
- return response.text().then((_responseText) => {
23139
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23140
- });
23141
- }
23142
- return Promise.resolve<void>(null as any);
23143
- }
23144
- }
23145
-
23146
- export interface IInspectMatchPurchaseOrderClient {
23147
-
23148
- searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
23149
-
23150
- getPurchaseOrderLines(purchaseOrder: string): Promise<PurchaseOrderMaterialLinesDto>;
23151
-
23152
- getPurchaseOrderLineDetails(purchaseOrder: string, lineNumber: number): Promise<PurchaseOrderMaterialLineDetailsDto>;
23153
- }
23154
-
23155
- export class InspectMatchPurchaseOrderClient extends AuthorizedApiBase implements IInspectMatchPurchaseOrderClient {
23156
- private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
23157
- private baseUrl: string;
23158
-
23159
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
23160
- super(configuration);
23161
- this.http = http ? http : window as any;
23162
- this.baseUrl = baseUrl ?? "";
23163
- }
23164
-
23165
- searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto> {
23166
- let url_ = this.baseUrl + "/inspect/match/purchase-order/search?";
23167
- if (input === null)
23168
- throw new globalThis.Error("The parameter 'input' cannot be null.");
23169
- else if (input !== undefined)
23170
- url_ += "input=" + encodeURIComponent("" + input) + "&";
23171
- url_ = url_.replace(/[?&]$/, "");
23172
-
23173
- let options_: RequestInit = {
23174
- method: "GET",
23175
- headers: {
23176
- "Accept": "application/json"
23177
- }
23178
- };
23179
-
23180
- return this.transformOptions(options_).then(transformedOptions_ => {
23181
- return this.http.fetch(url_, transformedOptions_);
23182
- }).then((_response: Response) => {
23183
- return this.processSearchPurchaseOrders(_response);
23184
- });
23185
- }
23186
-
23187
- protected processSearchPurchaseOrders(response: Response): Promise<PurchaseOrderMaterialSearchResultsDto> {
23188
- const status = response.status;
23189
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23190
- if (status === 200) {
23191
- return response.text().then((_responseText) => {
23192
- let result200: any = null;
23193
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PurchaseOrderMaterialSearchResultsDto;
23194
- return result200;
23195
- });
23196
- } else if (status !== 200 && status !== 204) {
23197
- return response.text().then((_responseText) => {
23198
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23199
- });
23200
- }
23201
- return Promise.resolve<PurchaseOrderMaterialSearchResultsDto>(null as any);
23202
- }
23203
-
23204
- getPurchaseOrderLines(purchaseOrder: string): Promise<PurchaseOrderMaterialLinesDto> {
23205
- let url_ = this.baseUrl + "/inspect/match/purchase-order/lines/{purchaseOrder}";
23206
- if (purchaseOrder === undefined || purchaseOrder === null)
23207
- throw new globalThis.Error("The parameter 'purchaseOrder' must be defined.");
23208
- url_ = url_.replace("{purchaseOrder}", encodeURIComponent("" + purchaseOrder));
23209
- url_ = url_.replace(/[?&]$/, "");
23210
-
23211
- let options_: RequestInit = {
23212
- method: "GET",
23213
- headers: {
23214
- "Accept": "application/json"
23215
- }
23216
- };
23217
-
23218
- return this.transformOptions(options_).then(transformedOptions_ => {
23219
- return this.http.fetch(url_, transformedOptions_);
23220
- }).then((_response: Response) => {
23221
- return this.processGetPurchaseOrderLines(_response);
23222
- });
23223
- }
23224
-
23225
- protected processGetPurchaseOrderLines(response: Response): Promise<PurchaseOrderMaterialLinesDto> {
23226
- const status = response.status;
23227
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
23228
- if (status === 200) {
23229
- return response.text().then((_responseText) => {
23230
- let result200: any = null;
23231
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PurchaseOrderMaterialLinesDto;
23232
- return result200;
23233
- });
23234
- } else if (status !== 200 && status !== 204) {
23235
- return response.text().then((_responseText) => {
23236
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23237
- });
23238
- }
23239
- return Promise.resolve<PurchaseOrderMaterialLinesDto>(null as any);
23240
- }
23241
-
23242
- getPurchaseOrderLineDetails(purchaseOrder: string, lineNumber: number): Promise<PurchaseOrderMaterialLineDetailsDto> {
23243
- let url_ = this.baseUrl + "/inspect/match/purchase-order/line-details/{purchaseOrder}/{lineNumber}";
23244
- if (purchaseOrder === undefined || purchaseOrder === null)
23245
- throw new globalThis.Error("The parameter 'purchaseOrder' must be defined.");
23246
- url_ = url_.replace("{purchaseOrder}", encodeURIComponent("" + purchaseOrder));
23247
- if (lineNumber === undefined || lineNumber === null)
23248
- throw new globalThis.Error("The parameter 'lineNumber' must be defined.");
23249
- url_ = url_.replace("{lineNumber}", encodeURIComponent("" + lineNumber));
23239
+ getPurchaseOrderLineDetails(purchaseOrder: string, lineNumber: number): Promise<PurchaseOrderMaterialLineDetailsDto> {
23240
+ let url_ = this.baseUrl + "/inspect/match/purchase-order/line-details/{purchaseOrder}/{lineNumber}";
23241
+ if (purchaseOrder === undefined || purchaseOrder === null)
23242
+ throw new globalThis.Error("The parameter 'purchaseOrder' must be defined.");
23243
+ url_ = url_.replace("{purchaseOrder}", encodeURIComponent("" + purchaseOrder));
23244
+ if (lineNumber === undefined || lineNumber === null)
23245
+ throw new globalThis.Error("The parameter 'lineNumber' must be defined.");
23246
+ url_ = url_.replace("{lineNumber}", encodeURIComponent("" + lineNumber));
23250
23247
  url_ = url_.replace(/[?&]$/, "");
23251
23248
 
23252
23249
  let options_: RequestInit = {
@@ -34448,18 +34445,32 @@ export interface WeldingIotConfigDto {
34448
34445
  export interface CreateWeldingIotConfig {
34449
34446
  }
34450
34447
 
34451
- export interface ImaCdfEntityReadBase {
34448
+ export interface ImaMaterialChecksPageDto {
34449
+ items: ImaMaterialCheckLiteDto[];
34450
+ continuationToken?: string | null;
34452
34451
  }
34453
34452
 
34454
- export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
34455
- certificateTypeId: string;
34456
- version: number;
34457
- allVersions: ImaCertificateTypeVersionDto[];
34458
- name: string;
34459
- revision: string;
34460
- status: ImaCertificateTypeStatus;
34461
- description?: string | null;
34462
- isStandardCertificateType: boolean;
34453
+ export interface ImaMaterialCheckLiteDto {
34454
+ materialCheckId: string;
34455
+ originalMaterialCertificate: FileDto;
34456
+ generatedMaterialCertificate?: FileDto | null;
34457
+ customer?: string | null;
34458
+ project?: string | null;
34459
+ workOrder?: string | null;
34460
+ certificateTypeId?: string | null;
34461
+ certificateTypeVersion?: number | null;
34462
+ certificateTypeName?: string | null;
34463
+ specificationId: string;
34464
+ specificationVersion: number;
34465
+ specificationName: string;
34466
+ purchaseOrder?: string | null;
34467
+ purchaseOrderLine?: number | null;
34468
+ purchaseOrderVendorBatches?: string[] | null;
34469
+ purchaseOrderPartName?: string | null;
34470
+ purchaseOrderPartNumber?: string | null;
34471
+ purchaseOrderDrawing?: string | null;
34472
+ heatNumber?: string | null;
34473
+ status: ImaMaterialCheckStatus;
34463
34474
  created: Date;
34464
34475
  createdBy: string;
34465
34476
  createdById: string;
@@ -34467,244 +34478,10 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
34467
34478
  updatedBy: string;
34468
34479
  updatedById: string;
34469
34480
  updatedByName: string;
34470
- updated: Date;
34471
- isDeleted: boolean;
34472
- requirements: ImaCertificateTypeRequirementsDto;
34473
- }
34474
-
34475
- export interface ImaCertificateTypeVersionDto {
34476
- version?: number;
34477
- status?: ImaCertificateTypeStatus;
34481
+ isDeleted?: boolean;
34478
34482
  }
34479
34483
 
34480
- export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
34481
-
34482
- export interface ImaCertificateTypeRequirementsDto {
34483
- manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
34484
- signature: ImaCertificateTypeSignatureRequirementsDto;
34485
- thirdParty: ImaCertificateTypeThirdPartyRequirementsDto;
34486
- certification: ImaCertificateTypeCertificationRequirementsDto;
34487
- productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationRequirementsDto;
34488
- testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
34489
- testResults: ImaCertificateTypeTestResultsRequirementsDto;
34490
- documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
34491
- }
34492
-
34493
- export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
34494
- manufacturer?: boolean;
34495
- address?: boolean;
34496
- contact?: boolean;
34497
- }
34498
-
34499
- export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
34500
- certifiedBy?: boolean;
34501
- position?: boolean;
34502
- signature?: boolean;
34503
- date?: boolean;
34504
- stamp?: boolean;
34505
- }
34506
-
34507
- export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntityReadBase {
34508
- inspectionBody?: boolean;
34509
- inspectorName?: boolean;
34510
- position?: boolean;
34511
- verificationMethod?: boolean;
34512
- signature?: boolean;
34513
- date?: boolean;
34514
- stamp?: boolean;
34515
- }
34516
-
34517
- export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
34518
- certificateOfCompliance?: boolean;
34519
- inspectionCertificate?: boolean;
34520
- }
34521
-
34522
- export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto extends ImaCdfEntityReadBase {
34523
- productDescription?: boolean;
34524
- materialGrade?: boolean;
34525
- customer?: boolean;
34526
- customerOrderNumber?: boolean;
34527
- dimensionsOrWeight?: boolean;
34528
- batchNumber?: boolean;
34529
- heatNumber?: boolean;
34530
- relatedStandards?: boolean;
34531
- }
34532
-
34533
- export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
34534
- usedStandards?: boolean;
34535
- }
34536
-
34537
- export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
34538
- mechanicalProperties?: boolean;
34539
- chemicalAnalysis?: boolean;
34540
- impactTests?: boolean;
34541
- corrosionTests?: boolean;
34542
- ferriteContentAndMicrostructure?: boolean;
34543
- }
34544
-
34545
- export interface ImaCertificateTypeDocumentTypesRequirementsDto extends ImaCdfEntityReadBase {
34546
- heatTreatmentCertificate?: boolean;
34547
- ultrasonicControlCertificate?: boolean;
34548
- liquidPenetrantCertificate?: boolean;
34549
- testReport?: boolean;
34550
- dimensionalReport?: boolean;
34551
- dyePenetrantReport?: boolean;
34552
- visualReport?: boolean;
34553
- certificateOfAnalyticalAndMechanicalTests?: boolean;
34554
- certificateOfTest?: boolean;
34555
- technicalReport?: boolean;
34556
- microExaminationReport?: boolean;
34557
- radiologicalReport?: boolean;
34558
- }
34559
-
34560
- export interface ImaCreateOrCopyCertificateTypeRequestDto {
34561
- name: string;
34562
- revision: string;
34563
- description?: string | null;
34564
- }
34565
-
34566
- export interface ImaUpdateImaCertificateTypeRequestDto {
34567
- name?: string | null;
34568
- revision?: string | null;
34569
- status?: ImaCertificateTypeStatus | null;
34570
- description?: string | null;
34571
- requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
34572
- }
34573
-
34574
- export interface ImaCertificateTypeRequirementsUpdateDto {
34575
- manufacturer?: ImaCertificateTypeManufacturerRequirementsUpdateDto | null;
34576
- signature?: ImaCertificateTypeSignatureRequirementsUpdateDto | null;
34577
- thirdParty?: ImaCertificateTypeThirdPartyRequirementsUpdateDto | null;
34578
- certification?: ImaCertificateTypeCertificationRequirementsUpdateDto | null;
34579
- productAndOrderInformation?: ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
34580
- testMethodsAndReferences?: ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
34581
- testResults?: ImaCertificateTypeTestResultsRequirementsUpdateDto | null;
34582
- documentTypes?: ImaCertificateTypeDocumentTypesRequirementsUpdateDto | null;
34583
- }
34584
-
34585
- export interface ImaCertificateTypeManufacturerRequirementsUpdateDto {
34586
- manufacturer?: boolean | null;
34587
- address?: boolean | null;
34588
- contact?: boolean | null;
34589
- }
34590
-
34591
- export interface ImaCertificateTypeSignatureRequirementsUpdateDto {
34592
- certifiedBy?: boolean | null;
34593
- position?: boolean | null;
34594
- signature?: boolean | null;
34595
- date?: boolean | null;
34596
- stamp?: boolean | null;
34597
- }
34598
-
34599
- export interface ImaCertificateTypeThirdPartyRequirementsUpdateDto {
34600
- inspectionBody?: boolean | null;
34601
- inspectorName?: boolean | null;
34602
- position?: boolean | null;
34603
- verificationMethod?: boolean | null;
34604
- signature?: boolean | null;
34605
- date?: boolean | null;
34606
- stamp?: boolean | null;
34607
- }
34608
-
34609
- export interface ImaCertificateTypeCertificationRequirementsUpdateDto {
34610
- certificateOfCompliance?: boolean | null;
34611
- inspectionCertificate?: boolean | null;
34612
- }
34613
-
34614
- export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto {
34615
- productDescription?: boolean | null;
34616
- materialGrade?: boolean | null;
34617
- customer?: boolean | null;
34618
- customerOrderNumber?: boolean | null;
34619
- dimensionsOrWeight?: boolean | null;
34620
- batchNumber?: boolean | null;
34621
- heatNumber?: boolean | null;
34622
- relatedStandards?: boolean | null;
34623
- }
34624
-
34625
- export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
34626
- usedStandards?: boolean | null;
34627
- }
34628
-
34629
- export interface ImaCertificateTypeTestResultsRequirementsUpdateDto {
34630
- mechanicalProperties?: boolean | null;
34631
- chemicalAnalysis?: boolean | null;
34632
- impactTests?: boolean | null;
34633
- corrosionTests?: boolean | null;
34634
- ferriteContentAndMicrostructure?: boolean | null;
34635
- }
34636
-
34637
- export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
34638
- heatTreatmentCertificate?: boolean | null;
34639
- ultrasonicControlCertificate?: boolean | null;
34640
- liquidPenetrantCertificate?: boolean | null;
34641
- testReport?: boolean | null;
34642
- dimensionalReport?: boolean | null;
34643
- dyePenetrantReport?: boolean | null;
34644
- visualReport?: boolean | null;
34645
- certificateOfAnalyticalAndMechanicalTests?: boolean | null;
34646
- certificateOfTest?: boolean | null;
34647
- technicalReport?: boolean | null;
34648
- microExaminationReport?: boolean | null;
34649
- radiologicalReport?: boolean | null;
34650
- }
34651
-
34652
- export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
34653
- certificateTypeId: string;
34654
- version: number;
34655
- name: string;
34656
- revision: string;
34657
- status: ImaCertificateTypeStatus;
34658
- description?: string | null;
34659
- isStandardCertificateType: boolean;
34660
- created: Date;
34661
- createdBy: string;
34662
- createdById: string;
34663
- createdByName: string;
34664
- updatedBy: string;
34665
- updatedById: string;
34666
- updatedByName: string;
34667
- updated: Date;
34668
- isDeleted: boolean;
34669
- }
34670
-
34671
- export interface ImaMaterialChecksPageDto {
34672
- items: ImaMaterialCheckLiteDto[];
34673
- continuationToken?: string | null;
34674
- }
34675
-
34676
- export interface ImaMaterialCheckLiteDto {
34677
- materialCheckId: string;
34678
- originalMaterialCertificate: FileDto;
34679
- generatedMaterialCertificate?: FileDto | null;
34680
- customer?: string | null;
34681
- project?: string | null;
34682
- workOrder?: string | null;
34683
- certificateTypeId?: string | null;
34684
- certificateTypeVersion?: number | null;
34685
- certificateTypeName?: string | null;
34686
- specificationId: string;
34687
- specificationVersion: number;
34688
- specificationName: string;
34689
- purchaseOrder?: string | null;
34690
- purchaseOrderLine?: number | null;
34691
- purchaseOrderVendorBatches?: string[] | null;
34692
- purchaseOrderPartName?: string | null;
34693
- purchaseOrderPartNumber?: string | null;
34694
- purchaseOrderDrawing?: string | null;
34695
- heatNumber?: string | null;
34696
- status: ImaMaterialCheckStatus;
34697
- created: Date;
34698
- createdBy: string;
34699
- createdById: string;
34700
- createdByName: string;
34701
- updatedBy: string;
34702
- updatedById: string;
34703
- updatedByName: string;
34704
- isDeleted?: boolean;
34705
- }
34706
-
34707
- export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
34484
+ export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
34708
34485
 
34709
34486
  export interface ImaMaterialChecksPageRequestDto {
34710
34487
  pageSize?: number | null;
@@ -34759,10 +34536,13 @@ export interface ImaMaterialCheckDto {
34759
34536
  updatedByName: string;
34760
34537
  isDeleted?: boolean;
34761
34538
  certificateTypeResults: ImaCertificateTypeResultsDto;
34762
- specificationResults: ImaSpecificationResultsDto;
34539
+ specificationChemistry: ImaSpecificationChemistryResultsDto;
34540
+ specificationMechanical: ImaSpecificationMechanicalResultsDto;
34541
+ specificationFerrite: ImaSpecificationFerriteResultsDto;
34542
+ specificationHeatTreatments: ImaSpecificationHeatTreatmentResultDto[];
34763
34543
  }
34764
34544
 
34765
- export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
34545
+ export interface ImaCertificateTypeResultsDto {
34766
34546
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
34767
34547
  signature: ImaCertificateTypeSignatureResultsDto;
34768
34548
  thirdParty: ImaCertificateTypeThirdPartyResultsDto;
@@ -34773,19 +34553,19 @@ export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
34773
34553
  documentTypes: ImaCertificateTypeDocumentTypesResultsDto;
34774
34554
  }
34775
34555
 
34776
- export interface ImaCertificateTypeManufacturerResultsDto extends ImaCdfEntityReadBase {
34556
+ export interface ImaCertificateTypeManufacturerResultsDto {
34777
34557
  manufacturer?: ImaCertificateTypeResultLine | null;
34778
34558
  address?: ImaCertificateTypeResultLine | null;
34779
34559
  contact?: ImaCertificateTypeResultLine | null;
34780
34560
  }
34781
34561
 
34782
- export interface ImaCertificateTypeResultLine extends ImaCdfEntityReadBase {
34562
+ export interface ImaCertificateTypeResultLine {
34783
34563
  found?: boolean;
34784
34564
  readValue?: string | null;
34785
34565
  override?: ImaResultLineOverrideDto | null;
34786
34566
  }
34787
34567
 
34788
- export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
34568
+ export interface ImaResultLineOverrideDto {
34789
34569
  approved: boolean;
34790
34570
  comment?: string | null;
34791
34571
  updated: Date;
@@ -34793,7 +34573,7 @@ export interface ImaResultLineOverrideDto extends ImaCdfEntityReadBase {
34793
34573
  updatedById: string;
34794
34574
  }
34795
34575
 
34796
- export interface ImaCertificateTypeSignatureResultsDto extends ImaCdfEntityReadBase {
34576
+ export interface ImaCertificateTypeSignatureResultsDto {
34797
34577
  certifiedBy?: ImaCertificateTypeResultLine | null;
34798
34578
  position?: ImaCertificateTypeResultLine | null;
34799
34579
  signature?: ImaCertificateTypeResultLine | null;
@@ -34801,7 +34581,7 @@ export interface ImaCertificateTypeSignatureResultsDto extends ImaCdfEntityReadB
34801
34581
  stamp?: ImaCertificateTypeResultLine | null;
34802
34582
  }
34803
34583
 
34804
- export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityReadBase {
34584
+ export interface ImaCertificateTypeThirdPartyResultsDto {
34805
34585
  inspectionBody?: ImaCertificateTypeResultLine | null;
34806
34586
  inspectorName?: ImaCertificateTypeResultLine | null;
34807
34587
  position?: ImaCertificateTypeResultLine | null;
@@ -34811,12 +34591,12 @@ export interface ImaCertificateTypeThirdPartyResultsDto extends ImaCdfEntityRead
34811
34591
  stamp?: ImaCertificateTypeResultLine | null;
34812
34592
  }
34813
34593
 
34814
- export interface ImaCertificateTypeCertificationResultsDto extends ImaCdfEntityReadBase {
34594
+ export interface ImaCertificateTypeCertificationResultsDto {
34815
34595
  certificateOfCompliance?: ImaCertificateTypeResultLine | null;
34816
34596
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
34817
34597
  }
34818
34598
 
34819
- export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends ImaCdfEntityReadBase {
34599
+ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
34820
34600
  productDescription?: ImaCertificateTypeResultLine | null;
34821
34601
  materialGrade?: ImaCertificateTypeResultLine | null;
34822
34602
  customer?: ImaCertificateTypeResultLine | null;
@@ -34827,11 +34607,11 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto extends
34827
34607
  relatedStandards?: ImaCertificateTypeResultLine | null;
34828
34608
  }
34829
34609
 
34830
- export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto extends ImaCdfEntityReadBase {
34610
+ export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
34831
34611
  usedStandards?: ImaCertificateTypeResultLine | null;
34832
34612
  }
34833
34613
 
34834
- export interface ImaCertificateTypeTestResultsResultsDto extends ImaCdfEntityReadBase {
34614
+ export interface ImaCertificateTypeTestResultsResultsDto {
34835
34615
  mechanicalProperties?: ImaCertificateTypeResultLine | null;
34836
34616
  chemicalAnalysis?: ImaCertificateTypeResultLine | null;
34837
34617
  impactTests?: ImaCertificateTypeResultLine | null;
@@ -34839,7 +34619,7 @@ export interface ImaCertificateTypeTestResultsResultsDto extends ImaCdfEntityRea
34839
34619
  ferriteContentAndMicrostructure?: ImaCertificateTypeResultLine | null;
34840
34620
  }
34841
34621
 
34842
- export interface ImaCertificateTypeDocumentTypesResultsDto extends ImaCdfEntityReadBase {
34622
+ export interface ImaCertificateTypeDocumentTypesResultsDto {
34843
34623
  heatTreatmentCertificate?: ImaCertificateTypeResultLine | null;
34844
34624
  ultrasonicControlCertificate?: ImaCertificateTypeResultLine | null;
34845
34625
  liquidPenetrantCertificate?: ImaCertificateTypeResultLine | null;
@@ -34854,14 +34634,7 @@ export interface ImaCertificateTypeDocumentTypesResultsDto extends ImaCdfEntityR
34854
34634
  radiologicalReport?: ImaCertificateTypeResultLine | null;
34855
34635
  }
34856
34636
 
34857
- export interface ImaSpecificationResultsDto extends ImaCdfEntityReadBase {
34858
- chemistry: ImaSpecificationChemistryResultsDto;
34859
- mechanical: ImaSpecificationMechanicalResultsDto;
34860
- ferrite: ImaSpecificationFerriteResultsDto;
34861
- heatTreatments: ImaSpecificationHeatTreatmentResultDto[];
34862
- }
34863
-
34864
- export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBase {
34637
+ export interface ImaSpecificationChemistryResultsDto {
34865
34638
  carbon?: ImaSpecificationResultLineDto | null;
34866
34639
  manganese?: ImaSpecificationResultLineDto | null;
34867
34640
  silicon?: ImaSpecificationResultLineDto | null;
@@ -34876,7 +34649,7 @@ export interface ImaSpecificationChemistryResultsDto extends ImaCdfEntityReadBas
34876
34649
  iron?: ImaSpecificationResultLineDto | null;
34877
34650
  }
34878
34651
 
34879
- export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
34652
+ export interface ImaSpecificationResultLineDto {
34880
34653
  specificationMin?: number | null;
34881
34654
  specificationMax?: number | null;
34882
34655
  readValue?: string | null;
@@ -34886,7 +34659,7 @@ export interface ImaSpecificationResultLineDto extends ImaCdfEntityReadBase {
34886
34659
 
34887
34660
  export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
34888
34661
 
34889
- export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBase {
34662
+ export interface ImaSpecificationMechanicalResultsDto {
34890
34663
  yieldStrength?: ImaSpecificationResultLineDto | null;
34891
34664
  tensileStrength?: ImaSpecificationResultLineDto | null;
34892
34665
  elongation?: ImaSpecificationResultLineDto | null;
@@ -34895,7 +34668,7 @@ export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBa
34895
34668
  hardness?: ImaSpecificationResultLineDto | null;
34896
34669
  }
34897
34670
 
34898
- export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase {
34671
+ export interface ImaSpecificationFerriteResultsDto {
34899
34672
  ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
34900
34673
  }
34901
34674
 
@@ -34910,19 +34683,19 @@ export interface ImaSpecificationFerriteResultLineDto {
34910
34683
  measurementMethod?: string | null;
34911
34684
  }
34912
34685
 
34913
- export interface ImaSpecificationHeatTreatmentResultDto extends ImaCdfEntityReadBase {
34686
+ export interface ImaSpecificationHeatTreatmentResultDto {
34914
34687
  step: number;
34915
34688
  cooling?: ImaSpecificationHeatTreatmentCoolingResult | null;
34916
34689
  heating?: ImaSpecificationHeatTreatmentHeatingResult | null;
34917
34690
  }
34918
34691
 
34919
- export interface ImaSpecificationHeatTreatmentCoolingResult extends ImaCdfEntityReadBase {
34692
+ export interface ImaSpecificationHeatTreatmentCoolingResult {
34920
34693
  coolingMethods?: string[] | null;
34921
34694
  temperature?: ImaSpecificationResultLineDto | null;
34922
34695
  duration?: ImaSpecificationResultLineDto | null;
34923
34696
  }
34924
34697
 
34925
- export interface ImaSpecificationHeatTreatmentHeatingResult extends ImaCdfEntityReadBase {
34698
+ export interface ImaSpecificationHeatTreatmentHeatingResult {
34926
34699
  heatingMethod?: string | null;
34927
34700
  temperature?: ImaSpecificationResultLineDto | null;
34928
34701
  duration?: ImaSpecificationResultLineDto | null;
@@ -34942,127 +34715,356 @@ export interface UploadFileCdfDto {
34942
34715
  id: number;
34943
34716
  }
34944
34717
 
34945
- export interface ImaUpdateMaterialCheckRequestDto {
34946
- certificateTypeSection?: ImaUpdateCertificateTypeResultsDto | null;
34947
- chemistrySpecificationSection?: ImaUpdateSpecificationChemistryResultsDto | null;
34948
- mechanicalSpecificationSection?: ImaUpdateSpecificationMechanicalResultsDto | null;
34949
- ferriteSpecificationSection?: ImaUpdateSpecificationFerriteResultsDto | null;
34950
- heatSpecificationSection?: ImaUpdateSpecificationHeatTreatmentResultsDto | null;
34718
+ export interface ImaUpdateResultRequestDto {
34719
+ certificateId: string;
34720
+ project?: string | null;
34721
+ purchaseOrder?: string | null;
34722
+ workOrder?: string | null;
34723
+ certificateTypeSection: ImaUpdateCertificateTypeResultsDto;
34724
+ specificationChemistrySpecification: ImaUpdateSpecificationChemistryResultsDto;
34725
+ specificationMechanicalSpecification: ImaUpdateSpecificationMechanicalResultsDto;
34726
+ specificationFerriteSpecification: ImaUpdateSpecificationFerriteResultsDto;
34727
+ specificationHeatSpecification: ImaUpdateSpecificationHeatTreatmentResultsDto;
34951
34728
  }
34952
34729
 
34953
34730
  export interface ImaUpdateCertificateTypeResultsDto {
34954
- manufacturer?: ImaUpdateCertificateTypeManufacturerResultsDto | null;
34955
- signature?: ImaUpdateCertificateTypeSignatureResultsDto | null;
34956
- thirdParty?: ImaUpdateCertificateTypeThirdPartyResultsDto | null;
34957
- certification?: ImaUpdateCertificateTypeCertificationResultsDto | null;
34958
- certificateTypeProductAndOrderInformation?: ImaUpdateCertificateTypeProductAndOrderInformationResultsDto | null;
34959
- testMethodsAndReferences?: ImaUpdateCertificateTypeTestMethodsAndReferencesResultsDto | null;
34960
- testResults?: ImaUpdateCertificateTypeTestResultsResultsDto | null;
34961
- documentTypes?: ImaUpdateCertificateTypeDocumentTypesResultsDto | null;
34731
+ manufacturer: ImaUpdateCertificateTypeManufacturerResultsDto;
34732
+ signature: ImaUpdateCertificateTypeSignatureResultsDto;
34733
+ thirdParty: ImaUpdateCertificateTypeThirdPartyResultsDto;
34734
+ certification: ImaUpdateCertificateTypeCertificationResultsDto;
34735
+ certificateTypeProductAndOrderInformation: ImaUpdateCertificateTypeProductAndOrderInformationResultsDto;
34736
+ testMethodsAndReferences: ImaUpdateCertificateTypeTestMethodsAndReferencesResultsDto;
34737
+ testResults: ImaUpdateCertificateTypeTestResultsResultsDto;
34738
+ documentTypes: ImaUpdateCertificateTypeDocumentTypesResultsDto;
34962
34739
  }
34963
34740
 
34964
34741
  export interface ImaUpdateCertificateTypeManufacturerResultsDto {
34965
- manufacturer?: ImaUpdateMaterialCheckResultLineDto | null;
34966
- address?: ImaUpdateMaterialCheckResultLineDto | null;
34967
- contact?: ImaUpdateMaterialCheckResultLineDto | null;
34742
+ manufacturer?: ImaUpdateCertificateTypeResultLine | null;
34743
+ address?: ImaUpdateCertificateTypeResultLine | null;
34744
+ contact?: ImaUpdateCertificateTypeResultLine | null;
34968
34745
  }
34969
34746
 
34970
- export interface ImaUpdateMaterialCheckResultLineDto {
34971
- approved?: boolean;
34747
+ export interface ImaUpdateCertificateTypeResultLine {
34748
+ approved?: boolean | null;
34972
34749
  comment?: string | null;
34973
34750
  }
34974
34751
 
34975
34752
  export interface ImaUpdateCertificateTypeSignatureResultsDto {
34976
- certifiedBy?: ImaUpdateMaterialCheckResultLineDto | null;
34977
- position?: ImaUpdateMaterialCheckResultLineDto | null;
34978
- signature?: ImaUpdateMaterialCheckResultLineDto | null;
34979
- date?: ImaUpdateMaterialCheckResultLineDto | null;
34980
- stamp?: ImaUpdateMaterialCheckResultLineDto | null;
34753
+ certifiedBy?: ImaUpdateCertificateTypeResultLine | null;
34754
+ position?: ImaUpdateCertificateTypeResultLine | null;
34755
+ signature?: ImaUpdateCertificateTypeResultLine | null;
34756
+ date?: ImaUpdateCertificateTypeResultLine | null;
34757
+ stamp?: ImaUpdateCertificateTypeResultLine | null;
34981
34758
  }
34982
34759
 
34983
34760
  export interface ImaUpdateCertificateTypeThirdPartyResultsDto {
34984
- inspectionBody?: ImaUpdateMaterialCheckResultLineDto | null;
34985
- inspectorName?: ImaUpdateMaterialCheckResultLineDto | null;
34986
- position?: ImaUpdateMaterialCheckResultLineDto | null;
34987
- verificationMethod?: ImaUpdateMaterialCheckResultLineDto | null;
34988
- signature?: ImaUpdateMaterialCheckResultLineDto | null;
34989
- date?: ImaUpdateMaterialCheckResultLineDto | null;
34990
- stamp?: ImaUpdateMaterialCheckResultLineDto | null;
34761
+ inspectionBody?: ImaUpdateCertificateTypeResultLine | null;
34762
+ inspectorName?: ImaUpdateCertificateTypeResultLine | null;
34763
+ position?: ImaUpdateCertificateTypeResultLine | null;
34764
+ verificationMethod?: ImaUpdateCertificateTypeResultLine | null;
34765
+ signature?: ImaUpdateCertificateTypeResultLine | null;
34766
+ date?: ImaUpdateCertificateTypeResultLine | null;
34767
+ stamp?: ImaUpdateCertificateTypeResultLine | null;
34991
34768
  }
34992
34769
 
34993
34770
  export interface ImaUpdateCertificateTypeCertificationResultsDto {
34994
- certificateOfCompliance?: ImaUpdateMaterialCheckResultLineDto | null;
34995
- inspectionCertificate?: ImaUpdateMaterialCheckResultLineDto | null;
34771
+ certificateOfCompliance?: ImaUpdateCertificateTypeResultLine | null;
34772
+ inspectionCertificate?: ImaUpdateCertificateTypeResultLine | null;
34996
34773
  }
34997
34774
 
34998
34775
  export interface ImaUpdateCertificateTypeProductAndOrderInformationResultsDto {
34999
- productDescription?: ImaUpdateMaterialCheckResultLineDto | null;
35000
- materialGrade?: ImaUpdateMaterialCheckResultLineDto | null;
35001
- customer?: ImaUpdateMaterialCheckResultLineDto | null;
35002
- customerOrderNumber?: ImaUpdateMaterialCheckResultLineDto | null;
35003
- dimensionsOrWeight?: ImaUpdateMaterialCheckResultLineDto | null;
35004
- batchNumber?: ImaUpdateMaterialCheckResultLineDto | null;
35005
- heatNumber?: ImaUpdateMaterialCheckResultLineDto | null;
35006
- relatedStandards?: ImaUpdateMaterialCheckResultLineDto | null;
34776
+ productDescription?: ImaUpdateCertificateTypeResultLine | null;
34777
+ materialGrade?: ImaUpdateCertificateTypeResultLine | null;
34778
+ customer?: ImaUpdateCertificateTypeResultLine | null;
34779
+ customerOrderNumber?: ImaUpdateCertificateTypeResultLine | null;
34780
+ dimensionsOrWeight?: ImaUpdateCertificateTypeResultLine | null;
34781
+ batchNumber?: ImaUpdateCertificateTypeResultLine | null;
34782
+ heatNumber?: ImaUpdateCertificateTypeResultLine | null;
34783
+ relatedStandards?: ImaUpdateCertificateTypeResultLine | null;
35007
34784
  }
35008
34785
 
35009
34786
  export interface ImaUpdateCertificateTypeTestMethodsAndReferencesResultsDto {
35010
- usedStandards?: ImaUpdateMaterialCheckResultLineDto | null;
34787
+ usedStandards?: ImaUpdateCertificateTypeResultLine | null;
35011
34788
  }
35012
34789
 
35013
34790
  export interface ImaUpdateCertificateTypeTestResultsResultsDto {
35014
- mechanicalProperties?: ImaUpdateMaterialCheckResultLineDto | null;
35015
- chemicalAnalysis?: ImaUpdateMaterialCheckResultLineDto | null;
35016
- impactTests?: ImaUpdateMaterialCheckResultLineDto | null;
35017
- corrosionTests?: ImaUpdateMaterialCheckResultLineDto | null;
35018
- ferriteContentAndMicrostructure?: ImaUpdateMaterialCheckResultLineDto | null;
34791
+ mechanicalProperties?: ImaUpdateCertificateTypeResultLine | null;
34792
+ chemicalAnalysis?: ImaUpdateCertificateTypeResultLine | null;
34793
+ impactTests?: ImaUpdateCertificateTypeResultLine | null;
34794
+ corrosionTests?: ImaUpdateCertificateTypeResultLine | null;
34795
+ ferriteContentAndMicrostructure?: ImaUpdateCertificateTypeResultLine | null;
35019
34796
  }
35020
34797
 
35021
34798
  export interface ImaUpdateCertificateTypeDocumentTypesResultsDto {
35022
- heatTreatmentCertificate?: ImaUpdateMaterialCheckResultLineDto | null;
35023
- ultrasonicControlCertificate?: ImaUpdateMaterialCheckResultLineDto | null;
35024
- liquidPenetrantCertificate?: ImaUpdateMaterialCheckResultLineDto | null;
35025
- testReport?: ImaUpdateMaterialCheckResultLineDto | null;
35026
- dimensionalReport?: ImaUpdateMaterialCheckResultLineDto | null;
35027
- dyePenetrantReport?: ImaUpdateMaterialCheckResultLineDto | null;
35028
- visualReport?: ImaUpdateMaterialCheckResultLineDto | null;
35029
- certificateOfAnalyticalAndMechanicalTests?: ImaUpdateMaterialCheckResultLineDto | null;
35030
- certificateOfTest?: ImaUpdateMaterialCheckResultLineDto | null;
35031
- technicalReport?: ImaUpdateMaterialCheckResultLineDto | null;
35032
- microExaminationReport?: ImaUpdateMaterialCheckResultLineDto | null;
35033
- radiologicalReport?: ImaUpdateMaterialCheckResultLineDto | null;
34799
+ heatTreatmentCertificate?: ImaUpdateCertificateTypeResultLine | null;
34800
+ ultrasonicControlCertificate?: ImaUpdateCertificateTypeResultLine | null;
34801
+ liquidPenetrantCertificate?: ImaUpdateCertificateTypeResultLine | null;
34802
+ testReport?: ImaUpdateCertificateTypeResultLine | null;
34803
+ dimensionalReport?: ImaUpdateCertificateTypeResultLine | null;
34804
+ dyePenetrantReport?: ImaUpdateCertificateTypeResultLine | null;
34805
+ visualReport?: ImaUpdateCertificateTypeResultLine | null;
34806
+ certificateOfAnalyticalAndMechanicalTests?: ImaUpdateCertificateTypeResultLine | null;
34807
+ certificateOfTest?: ImaUpdateCertificateTypeResultLine | null;
34808
+ technicalReport?: ImaUpdateCertificateTypeResultLine | null;
34809
+ microExaminationReport?: ImaUpdateCertificateTypeResultLine | null;
34810
+ radiologicalReport?: ImaUpdateCertificateTypeResultLine | null;
35034
34811
  }
35035
34812
 
35036
34813
  export interface ImaUpdateSpecificationChemistryResultsDto {
35037
- carbon?: ImaUpdateMaterialCheckResultLineDto | null;
35038
- manganese?: ImaUpdateMaterialCheckResultLineDto | null;
35039
- silicon?: ImaUpdateMaterialCheckResultLineDto | null;
35040
- phosphorus?: ImaUpdateMaterialCheckResultLineDto | null;
35041
- sulfur?: ImaUpdateMaterialCheckResultLineDto | null;
35042
- chromium?: ImaUpdateMaterialCheckResultLineDto | null;
35043
- nickel?: ImaUpdateMaterialCheckResultLineDto | null;
35044
- molybdenum?: ImaUpdateMaterialCheckResultLineDto | null;
35045
- copper?: ImaUpdateMaterialCheckResultLineDto | null;
35046
- nitrogen?: ImaUpdateMaterialCheckResultLineDto | null;
35047
- wolfram?: ImaUpdateMaterialCheckResultLineDto | null;
35048
- iron?: ImaUpdateMaterialCheckResultLineDto | null;
34814
+ carbon?: ImaUpdateSpecificationResultLineDto | null;
34815
+ manganese?: ImaUpdateSpecificationResultLineDto | null;
34816
+ silicon?: ImaUpdateSpecificationResultLineDto | null;
34817
+ phosphorus?: ImaUpdateSpecificationResultLineDto | null;
34818
+ sulfur?: ImaUpdateSpecificationResultLineDto | null;
34819
+ chromium?: ImaUpdateSpecificationResultLineDto | null;
34820
+ nickel?: ImaUpdateSpecificationResultLineDto | null;
34821
+ molybdenum?: ImaUpdateSpecificationResultLineDto | null;
34822
+ copper?: ImaUpdateSpecificationResultLineDto | null;
34823
+ nitrogen?: ImaUpdateSpecificationResultLineDto | null;
34824
+ wolfram?: ImaUpdateSpecificationResultLineDto | null;
34825
+ iron?: ImaUpdateSpecificationResultLineDto | null;
34826
+ }
34827
+
34828
+ export interface ImaUpdateSpecificationResultLineDto {
34829
+ approved?: boolean;
34830
+ comment?: string | null;
35049
34831
  }
35050
34832
 
35051
34833
  export interface ImaUpdateSpecificationMechanicalResultsDto {
35052
- yieldStrength?: ImaUpdateMaterialCheckResultLineDto | null;
35053
- tensileStrength?: ImaUpdateMaterialCheckResultLineDto | null;
35054
- elongation?: ImaUpdateMaterialCheckResultLineDto | null;
35055
- reductionOfArea?: ImaUpdateMaterialCheckResultLineDto | null;
35056
- impactEnergy?: ImaUpdateMaterialCheckResultLineDto | null;
35057
- hardness?: ImaUpdateMaterialCheckResultLineDto | null;
34834
+ yieldStrength?: ImaUpdateSpecificationResultLineDto | null;
34835
+ tensileStrength?: ImaUpdateSpecificationResultLineDto | null;
34836
+ elongation?: ImaUpdateSpecificationResultLineDto | null;
34837
+ reductionOfArea?: ImaUpdateSpecificationResultLineDto | null;
34838
+ impactEnergy?: ImaUpdateSpecificationResultLineDto | null;
34839
+ hardness?: ImaUpdateSpecificationResultLineDto | null;
35058
34840
  }
35059
34841
 
35060
34842
  export interface ImaUpdateSpecificationFerriteResultsDto {
35061
- ferriteContent?: ImaUpdateMaterialCheckResultLineDto | null;
34843
+ ferriteContent?: ImaUpdateSpecificationResultLineDto | null;
35062
34844
  }
35063
34845
 
35064
34846
  export interface ImaUpdateSpecificationHeatTreatmentResultsDto {
35065
- heatTreatmentOverrides?: ImaUpdateMaterialCheckResultLineDto[] | null;
34847
+ heatTreatmentOverrides: (ImaUpdateSpecificationResultLineDto | null)[];
34848
+ }
34849
+
34850
+ export interface ImaCdfEntityReadBase {
34851
+ }
34852
+
34853
+ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
34854
+ certificateTypeId: string;
34855
+ version: number;
34856
+ allVersions: ImaCertificateTypeVersionDto[];
34857
+ name: string;
34858
+ revision: string;
34859
+ status: ImaCertificateTypeStatus;
34860
+ description?: string | null;
34861
+ isStandardCertificateType: boolean;
34862
+ created: Date;
34863
+ createdBy: string;
34864
+ createdById: string;
34865
+ createdByName: string;
34866
+ updatedBy: string;
34867
+ updatedById: string;
34868
+ updatedByName: string;
34869
+ updated: Date;
34870
+ isDeleted: boolean;
34871
+ requirements: ImaCertificateTypeRequirementsDto;
34872
+ }
34873
+
34874
+ export interface ImaCertificateTypeVersionDto {
34875
+ version?: number;
34876
+ status?: ImaCertificateTypeStatus;
34877
+ }
34878
+
34879
+ export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
34880
+
34881
+ export interface ImaCertificateTypeRequirementsDto {
34882
+ manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
34883
+ signature: ImaCertificateTypeSignatureRequirementsDto;
34884
+ thirdParty: ImaCertificateTypeThirdPartyRequirementsDto;
34885
+ certification: ImaCertificateTypeCertificationRequirementsDto;
34886
+ productAndOrderInformation: ImaCertificateTypeProductAndOrderInformationRequirementsDto;
34887
+ testMethodsAndReferences: ImaCertificateTypeTestMethodsAndReferencesRequirementsDto;
34888
+ testResults: ImaCertificateTypeTestResultsRequirementsDto;
34889
+ documentTypes: ImaCertificateTypeDocumentTypesRequirementsDto;
34890
+ }
34891
+
34892
+ export interface ImaCertificateTypeManufacturerRequirementsDto extends ImaCdfEntityReadBase {
34893
+ manufacturer?: boolean;
34894
+ address?: boolean;
34895
+ contact?: boolean;
34896
+ }
34897
+
34898
+ export interface ImaCertificateTypeSignatureRequirementsDto extends ImaCdfEntityReadBase {
34899
+ certifiedBy?: boolean;
34900
+ position?: boolean;
34901
+ signature?: boolean;
34902
+ date?: boolean;
34903
+ stamp?: boolean;
34904
+ }
34905
+
34906
+ export interface ImaCertificateTypeThirdPartyRequirementsDto extends ImaCdfEntityReadBase {
34907
+ inspectionBody?: boolean;
34908
+ inspectorName?: boolean;
34909
+ position?: boolean;
34910
+ verificationMethod?: boolean;
34911
+ signature?: boolean;
34912
+ date?: boolean;
34913
+ stamp?: boolean;
34914
+ }
34915
+
34916
+ export interface ImaCertificateTypeCertificationRequirementsDto extends ImaCdfEntityReadBase {
34917
+ certificateOfCompliance?: boolean;
34918
+ inspectionCertificate?: boolean;
34919
+ }
34920
+
34921
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto extends ImaCdfEntityReadBase {
34922
+ productDescription?: boolean;
34923
+ materialGrade?: boolean;
34924
+ customer?: boolean;
34925
+ customerOrderNumber?: boolean;
34926
+ dimensionsOrWeight?: boolean;
34927
+ batchNumber?: boolean;
34928
+ heatNumber?: boolean;
34929
+ relatedStandards?: boolean;
34930
+ }
34931
+
34932
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsDto extends ImaCdfEntityReadBase {
34933
+ usedStandards?: boolean;
34934
+ }
34935
+
34936
+ export interface ImaCertificateTypeTestResultsRequirementsDto extends ImaCdfEntityReadBase {
34937
+ mechanicalProperties?: boolean;
34938
+ chemicalAnalysis?: boolean;
34939
+ impactTests?: boolean;
34940
+ corrosionTests?: boolean;
34941
+ ferriteContentAndMicrostructure?: boolean;
34942
+ }
34943
+
34944
+ export interface ImaCertificateTypeDocumentTypesRequirementsDto extends ImaCdfEntityReadBase {
34945
+ heatTreatmentCertificate?: boolean;
34946
+ ultrasonicControlCertificate?: boolean;
34947
+ liquidPenetrantCertificate?: boolean;
34948
+ testReport?: boolean;
34949
+ dimensionalReport?: boolean;
34950
+ dyePenetrantReport?: boolean;
34951
+ visualReport?: boolean;
34952
+ certificateOfAnalyticalAndMechanicalTests?: boolean;
34953
+ certificateOfTest?: boolean;
34954
+ technicalReport?: boolean;
34955
+ microExaminationReport?: boolean;
34956
+ radiologicalReport?: boolean;
34957
+ }
34958
+
34959
+ export interface ImaCreateOrCopyCertificateTypeRequestDto {
34960
+ name: string;
34961
+ revision: string;
34962
+ description?: string | null;
34963
+ }
34964
+
34965
+ export interface ImaUpdateImaCertificateTypeRequestDto {
34966
+ name?: string | null;
34967
+ revision?: string | null;
34968
+ status?: ImaCertificateTypeStatus | null;
34969
+ description?: string | null;
34970
+ requirements?: ImaCertificateTypeRequirementsUpdateDto | null;
34971
+ }
34972
+
34973
+ export interface ImaCertificateTypeRequirementsUpdateDto {
34974
+ manufacturer?: ImaCertificateTypeManufacturerRequirementsUpdateDto | null;
34975
+ signature?: ImaCertificateTypeSignatureRequirementsUpdateDto | null;
34976
+ thirdParty?: ImaCertificateTypeThirdPartyRequirementsUpdateDto | null;
34977
+ certification?: ImaCertificateTypeCertificationRequirementsUpdateDto | null;
34978
+ productAndOrderInformation?: ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto | null;
34979
+ testMethodsAndReferences?: ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto | null;
34980
+ testResults?: ImaCertificateTypeTestResultsRequirementsUpdateDto | null;
34981
+ documentTypes?: ImaCertificateTypeDocumentTypesRequirementsUpdateDto | null;
34982
+ }
34983
+
34984
+ export interface ImaCertificateTypeManufacturerRequirementsUpdateDto {
34985
+ manufacturer?: boolean | null;
34986
+ address?: boolean | null;
34987
+ contact?: boolean | null;
34988
+ }
34989
+
34990
+ export interface ImaCertificateTypeSignatureRequirementsUpdateDto {
34991
+ certifiedBy?: boolean | null;
34992
+ position?: boolean | null;
34993
+ signature?: boolean | null;
34994
+ date?: boolean | null;
34995
+ stamp?: boolean | null;
34996
+ }
34997
+
34998
+ export interface ImaCertificateTypeThirdPartyRequirementsUpdateDto {
34999
+ inspectionBody?: boolean | null;
35000
+ inspectorName?: boolean | null;
35001
+ position?: boolean | null;
35002
+ verificationMethod?: boolean | null;
35003
+ signature?: boolean | null;
35004
+ date?: boolean | null;
35005
+ stamp?: boolean | null;
35006
+ }
35007
+
35008
+ export interface ImaCertificateTypeCertificationRequirementsUpdateDto {
35009
+ certificateOfCompliance?: boolean | null;
35010
+ inspectionCertificate?: boolean | null;
35011
+ }
35012
+
35013
+ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateDto {
35014
+ productDescription?: boolean | null;
35015
+ materialGrade?: boolean | null;
35016
+ customer?: boolean | null;
35017
+ customerOrderNumber?: boolean | null;
35018
+ dimensionsOrWeight?: boolean | null;
35019
+ batchNumber?: boolean | null;
35020
+ heatNumber?: boolean | null;
35021
+ relatedStandards?: boolean | null;
35022
+ }
35023
+
35024
+ export interface ImaCertificateTypeTestMethodsAndReferencesRequirementsUpdateDto {
35025
+ usedStandards?: boolean | null;
35026
+ }
35027
+
35028
+ export interface ImaCertificateTypeTestResultsRequirementsUpdateDto {
35029
+ mechanicalProperties?: boolean | null;
35030
+ chemicalAnalysis?: boolean | null;
35031
+ impactTests?: boolean | null;
35032
+ corrosionTests?: boolean | null;
35033
+ ferriteContentAndMicrostructure?: boolean | null;
35034
+ }
35035
+
35036
+ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
35037
+ heatTreatmentCertificate?: boolean | null;
35038
+ ultrasonicControlCertificate?: boolean | null;
35039
+ liquidPenetrantCertificate?: boolean | null;
35040
+ testReport?: boolean | null;
35041
+ dimensionalReport?: boolean | null;
35042
+ dyePenetrantReport?: boolean | null;
35043
+ visualReport?: boolean | null;
35044
+ certificateOfAnalyticalAndMechanicalTests?: boolean | null;
35045
+ certificateOfTest?: boolean | null;
35046
+ technicalReport?: boolean | null;
35047
+ microExaminationReport?: boolean | null;
35048
+ radiologicalReport?: boolean | null;
35049
+ }
35050
+
35051
+ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
35052
+ certificateTypeId: string;
35053
+ version: number;
35054
+ name: string;
35055
+ revision: string;
35056
+ status: ImaCertificateTypeStatus;
35057
+ description?: string | null;
35058
+ isStandardCertificateType: boolean;
35059
+ created: Date;
35060
+ createdBy: string;
35061
+ createdById: string;
35062
+ createdByName: string;
35063
+ updatedBy: string;
35064
+ updatedById: string;
35065
+ updatedByName: string;
35066
+ updated: Date;
35067
+ isDeleted: boolean;
35066
35068
  }
35067
35069
 
35068
35070
  export interface PurchaseOrderMaterialSearchResultsDto {