@ignos/api-client 20250922.0.12695 → 20250924.0.12717
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.
- package/lib/ignosportal-api.d.ts +3 -29
- package/lib/ignosportal-api.js +8 -66
- package/package.json +1 -1
- package/src/ignosportal-api.ts +10 -94
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2368,8 +2368,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
2368
2368
|
/**
|
|
2369
2369
|
* @deprecated
|
|
2370
2370
|
*/
|
|
2371
|
-
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
2372
2371
|
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2372
|
+
exportDimensionReport(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2373
2373
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2374
2374
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2375
2375
|
}
|
|
@@ -2437,10 +2437,10 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2437
2437
|
/**
|
|
2438
2438
|
* @deprecated
|
|
2439
2439
|
*/
|
|
2440
|
-
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
2441
|
-
protected processExportDimensionReport(response: Response): Promise<DownloadDto>;
|
|
2442
2440
|
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2443
2441
|
protected processExportDimensionReportV2(response: Response): Promise<DownloadDto>;
|
|
2442
|
+
exportDimensionReport(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
2443
|
+
protected processExportDimensionReport(response: Response): Promise<DownloadDto>;
|
|
2444
2444
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2445
2445
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2446
2446
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
@@ -13792,32 +13792,6 @@ export interface IUpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
13792
13792
|
procurementLine?: number | null;
|
|
13793
13793
|
externalOrderNumber?: string | null;
|
|
13794
13794
|
}
|
|
13795
|
-
export declare class ExportDimensionReportRequest implements IExportDimensionReportRequest {
|
|
13796
|
-
tenantId?: string | null;
|
|
13797
|
-
supplierEdition?: boolean;
|
|
13798
|
-
includeAllSchemasAndElements?: boolean | null;
|
|
13799
|
-
createBlankReport?: boolean | null;
|
|
13800
|
-
sequences?: string[] | null;
|
|
13801
|
-
serialNumbers?: string[] | null;
|
|
13802
|
-
customerPO?: string | null;
|
|
13803
|
-
workOrder?: string | null;
|
|
13804
|
-
comment?: string | null;
|
|
13805
|
-
constructor(data?: IExportDimensionReportRequest);
|
|
13806
|
-
init(_data?: any): void;
|
|
13807
|
-
static fromJS(data: any): ExportDimensionReportRequest;
|
|
13808
|
-
toJSON(data?: any): any;
|
|
13809
|
-
}
|
|
13810
|
-
export interface IExportDimensionReportRequest {
|
|
13811
|
-
tenantId?: string | null;
|
|
13812
|
-
supplierEdition?: boolean;
|
|
13813
|
-
includeAllSchemasAndElements?: boolean | null;
|
|
13814
|
-
createBlankReport?: boolean | null;
|
|
13815
|
-
sequences?: string[] | null;
|
|
13816
|
-
serialNumbers?: string[] | null;
|
|
13817
|
-
customerPO?: string | null;
|
|
13818
|
-
workOrder?: string | null;
|
|
13819
|
-
comment?: string | null;
|
|
13820
|
-
}
|
|
13821
13795
|
export declare class ExportDimensionReportV2Request implements IExportDimensionReportV2Request {
|
|
13822
13796
|
tenantId?: string | null;
|
|
13823
13797
|
type: DimensionReportType;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -21249,8 +21249,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase {
|
|
|
21249
21249
|
/**
|
|
21250
21250
|
* @deprecated
|
|
21251
21251
|
*/
|
|
21252
|
-
|
|
21253
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/
|
|
21252
|
+
exportDimensionReportV2(id, request) {
|
|
21253
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/reportv2";
|
|
21254
21254
|
if (id === undefined || id === null)
|
|
21255
21255
|
throw new Error("The parameter 'id' must be defined.");
|
|
21256
21256
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -21267,10 +21267,10 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase {
|
|
|
21267
21267
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21268
21268
|
return this.http.fetch(url_, transformedOptions_);
|
|
21269
21269
|
}).then((_response) => {
|
|
21270
|
-
return this.
|
|
21270
|
+
return this.processExportDimensionReportV2(_response);
|
|
21271
21271
|
});
|
|
21272
21272
|
}
|
|
21273
|
-
|
|
21273
|
+
processExportDimensionReportV2(response) {
|
|
21274
21274
|
const status = response.status;
|
|
21275
21275
|
let _headers = {};
|
|
21276
21276
|
if (response.headers && response.headers.forEach) {
|
|
@@ -21292,8 +21292,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase {
|
|
|
21292
21292
|
}
|
|
21293
21293
|
return Promise.resolve(null);
|
|
21294
21294
|
}
|
|
21295
|
-
|
|
21296
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/
|
|
21295
|
+
exportDimensionReport(id, request) {
|
|
21296
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/report";
|
|
21297
21297
|
if (id === undefined || id === null)
|
|
21298
21298
|
throw new Error("The parameter 'id' must be defined.");
|
|
21299
21299
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -21310,10 +21310,10 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase {
|
|
|
21310
21310
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21311
21311
|
return this.http.fetch(url_, transformedOptions_);
|
|
21312
21312
|
}).then((_response) => {
|
|
21313
|
-
return this.
|
|
21313
|
+
return this.processExportDimensionReport(_response);
|
|
21314
21314
|
});
|
|
21315
21315
|
}
|
|
21316
|
-
|
|
21316
|
+
processExportDimensionReport(response) {
|
|
21317
21317
|
const status = response.status;
|
|
21318
21318
|
let _headers = {};
|
|
21319
21319
|
if (response.headers && response.headers.forEach) {
|
|
@@ -45910,64 +45910,6 @@ export class UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
45910
45910
|
return data;
|
|
45911
45911
|
}
|
|
45912
45912
|
}
|
|
45913
|
-
export class ExportDimensionReportRequest {
|
|
45914
|
-
constructor(data) {
|
|
45915
|
-
if (data) {
|
|
45916
|
-
for (var property in data) {
|
|
45917
|
-
if (data.hasOwnProperty(property))
|
|
45918
|
-
this[property] = data[property];
|
|
45919
|
-
}
|
|
45920
|
-
}
|
|
45921
|
-
}
|
|
45922
|
-
init(_data) {
|
|
45923
|
-
if (_data) {
|
|
45924
|
-
this.tenantId = _data["tenantId"];
|
|
45925
|
-
this.supplierEdition = _data["supplierEdition"];
|
|
45926
|
-
this.includeAllSchemasAndElements = _data["includeAllSchemasAndElements"];
|
|
45927
|
-
this.createBlankReport = _data["createBlankReport"];
|
|
45928
|
-
if (Array.isArray(_data["sequences"])) {
|
|
45929
|
-
this.sequences = [];
|
|
45930
|
-
for (let item of _data["sequences"])
|
|
45931
|
-
this.sequences.push(item);
|
|
45932
|
-
}
|
|
45933
|
-
if (Array.isArray(_data["serialNumbers"])) {
|
|
45934
|
-
this.serialNumbers = [];
|
|
45935
|
-
for (let item of _data["serialNumbers"])
|
|
45936
|
-
this.serialNumbers.push(item);
|
|
45937
|
-
}
|
|
45938
|
-
this.customerPO = _data["customerPO"];
|
|
45939
|
-
this.workOrder = _data["workOrder"];
|
|
45940
|
-
this.comment = _data["comment"];
|
|
45941
|
-
}
|
|
45942
|
-
}
|
|
45943
|
-
static fromJS(data) {
|
|
45944
|
-
data = typeof data === 'object' ? data : {};
|
|
45945
|
-
let result = new ExportDimensionReportRequest();
|
|
45946
|
-
result.init(data);
|
|
45947
|
-
return result;
|
|
45948
|
-
}
|
|
45949
|
-
toJSON(data) {
|
|
45950
|
-
data = typeof data === 'object' ? data : {};
|
|
45951
|
-
data["tenantId"] = this.tenantId;
|
|
45952
|
-
data["supplierEdition"] = this.supplierEdition;
|
|
45953
|
-
data["includeAllSchemasAndElements"] = this.includeAllSchemasAndElements;
|
|
45954
|
-
data["createBlankReport"] = this.createBlankReport;
|
|
45955
|
-
if (Array.isArray(this.sequences)) {
|
|
45956
|
-
data["sequences"] = [];
|
|
45957
|
-
for (let item of this.sequences)
|
|
45958
|
-
data["sequences"].push(item);
|
|
45959
|
-
}
|
|
45960
|
-
if (Array.isArray(this.serialNumbers)) {
|
|
45961
|
-
data["serialNumbers"] = [];
|
|
45962
|
-
for (let item of this.serialNumbers)
|
|
45963
|
-
data["serialNumbers"].push(item);
|
|
45964
|
-
}
|
|
45965
|
-
data["customerPO"] = this.customerPO;
|
|
45966
|
-
data["workOrder"] = this.workOrder;
|
|
45967
|
-
data["comment"] = this.comment;
|
|
45968
|
-
return data;
|
|
45969
|
-
}
|
|
45970
|
-
}
|
|
45971
45913
|
export class ExportDimensionReportV2Request {
|
|
45972
45914
|
constructor(data) {
|
|
45973
45915
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -21440,10 +21440,10 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
21440
21440
|
/**
|
|
21441
21441
|
* @deprecated
|
|
21442
21442
|
*/
|
|
21443
|
-
exportDimensionReport(id: string, request: ExportDimensionReportRequest): Promise<DownloadDto>;
|
|
21444
|
-
|
|
21445
21443
|
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
21446
21444
|
|
|
21445
|
+
exportDimensionReport(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto>;
|
|
21446
|
+
|
|
21447
21447
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
21448
21448
|
|
|
21449
21449
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
@@ -22620,8 +22620,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22620
22620
|
/**
|
|
22621
22621
|
* @deprecated
|
|
22622
22622
|
*/
|
|
22623
|
-
|
|
22624
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/
|
|
22623
|
+
exportDimensionReportV2(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto> {
|
|
22624
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/reportv2";
|
|
22625
22625
|
if (id === undefined || id === null)
|
|
22626
22626
|
throw new Error("The parameter 'id' must be defined.");
|
|
22627
22627
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -22641,11 +22641,11 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22641
22641
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22642
22642
|
return this.http.fetch(url_, transformedOptions_);
|
|
22643
22643
|
}).then((_response: Response) => {
|
|
22644
|
-
return this.
|
|
22644
|
+
return this.processExportDimensionReportV2(_response);
|
|
22645
22645
|
});
|
|
22646
22646
|
}
|
|
22647
22647
|
|
|
22648
|
-
protected
|
|
22648
|
+
protected processExportDimensionReportV2(response: Response): Promise<DownloadDto> {
|
|
22649
22649
|
const status = response.status;
|
|
22650
22650
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22651
22651
|
if (status === 200) {
|
|
@@ -22663,8 +22663,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22663
22663
|
return Promise.resolve<DownloadDto>(null as any);
|
|
22664
22664
|
}
|
|
22665
22665
|
|
|
22666
|
-
|
|
22667
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/
|
|
22666
|
+
exportDimensionReport(id: string, request: ExportDimensionReportV2Request): Promise<DownloadDto> {
|
|
22667
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/report";
|
|
22668
22668
|
if (id === undefined || id === null)
|
|
22669
22669
|
throw new Error("The parameter 'id' must be defined.");
|
|
22670
22670
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -22684,11 +22684,11 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22684
22684
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22685
22685
|
return this.http.fetch(url_, transformedOptions_);
|
|
22686
22686
|
}).then((_response: Response) => {
|
|
22687
|
-
return this.
|
|
22687
|
+
return this.processExportDimensionReport(_response);
|
|
22688
22688
|
});
|
|
22689
22689
|
}
|
|
22690
22690
|
|
|
22691
|
-
protected
|
|
22691
|
+
protected processExportDimensionReport(response: Response): Promise<DownloadDto> {
|
|
22692
22692
|
const status = response.status;
|
|
22693
22693
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22694
22694
|
if (status === 200) {
|
|
@@ -58504,90 +58504,6 @@ export interface IUpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
58504
58504
|
externalOrderNumber?: string | null;
|
|
58505
58505
|
}
|
|
58506
58506
|
|
|
58507
|
-
export class ExportDimensionReportRequest implements IExportDimensionReportRequest {
|
|
58508
|
-
tenantId?: string | null;
|
|
58509
|
-
supplierEdition?: boolean;
|
|
58510
|
-
includeAllSchemasAndElements?: boolean | null;
|
|
58511
|
-
createBlankReport?: boolean | null;
|
|
58512
|
-
sequences?: string[] | null;
|
|
58513
|
-
serialNumbers?: string[] | null;
|
|
58514
|
-
customerPO?: string | null;
|
|
58515
|
-
workOrder?: string | null;
|
|
58516
|
-
comment?: string | null;
|
|
58517
|
-
|
|
58518
|
-
constructor(data?: IExportDimensionReportRequest) {
|
|
58519
|
-
if (data) {
|
|
58520
|
-
for (var property in data) {
|
|
58521
|
-
if (data.hasOwnProperty(property))
|
|
58522
|
-
(<any>this)[property] = (<any>data)[property];
|
|
58523
|
-
}
|
|
58524
|
-
}
|
|
58525
|
-
}
|
|
58526
|
-
|
|
58527
|
-
init(_data?: any) {
|
|
58528
|
-
if (_data) {
|
|
58529
|
-
this.tenantId = _data["tenantId"];
|
|
58530
|
-
this.supplierEdition = _data["supplierEdition"];
|
|
58531
|
-
this.includeAllSchemasAndElements = _data["includeAllSchemasAndElements"];
|
|
58532
|
-
this.createBlankReport = _data["createBlankReport"];
|
|
58533
|
-
if (Array.isArray(_data["sequences"])) {
|
|
58534
|
-
this.sequences = [] as any;
|
|
58535
|
-
for (let item of _data["sequences"])
|
|
58536
|
-
this.sequences!.push(item);
|
|
58537
|
-
}
|
|
58538
|
-
if (Array.isArray(_data["serialNumbers"])) {
|
|
58539
|
-
this.serialNumbers = [] as any;
|
|
58540
|
-
for (let item of _data["serialNumbers"])
|
|
58541
|
-
this.serialNumbers!.push(item);
|
|
58542
|
-
}
|
|
58543
|
-
this.customerPO = _data["customerPO"];
|
|
58544
|
-
this.workOrder = _data["workOrder"];
|
|
58545
|
-
this.comment = _data["comment"];
|
|
58546
|
-
}
|
|
58547
|
-
}
|
|
58548
|
-
|
|
58549
|
-
static fromJS(data: any): ExportDimensionReportRequest {
|
|
58550
|
-
data = typeof data === 'object' ? data : {};
|
|
58551
|
-
let result = new ExportDimensionReportRequest();
|
|
58552
|
-
result.init(data);
|
|
58553
|
-
return result;
|
|
58554
|
-
}
|
|
58555
|
-
|
|
58556
|
-
toJSON(data?: any) {
|
|
58557
|
-
data = typeof data === 'object' ? data : {};
|
|
58558
|
-
data["tenantId"] = this.tenantId;
|
|
58559
|
-
data["supplierEdition"] = this.supplierEdition;
|
|
58560
|
-
data["includeAllSchemasAndElements"] = this.includeAllSchemasAndElements;
|
|
58561
|
-
data["createBlankReport"] = this.createBlankReport;
|
|
58562
|
-
if (Array.isArray(this.sequences)) {
|
|
58563
|
-
data["sequences"] = [];
|
|
58564
|
-
for (let item of this.sequences)
|
|
58565
|
-
data["sequences"].push(item);
|
|
58566
|
-
}
|
|
58567
|
-
if (Array.isArray(this.serialNumbers)) {
|
|
58568
|
-
data["serialNumbers"] = [];
|
|
58569
|
-
for (let item of this.serialNumbers)
|
|
58570
|
-
data["serialNumbers"].push(item);
|
|
58571
|
-
}
|
|
58572
|
-
data["customerPO"] = this.customerPO;
|
|
58573
|
-
data["workOrder"] = this.workOrder;
|
|
58574
|
-
data["comment"] = this.comment;
|
|
58575
|
-
return data;
|
|
58576
|
-
}
|
|
58577
|
-
}
|
|
58578
|
-
|
|
58579
|
-
export interface IExportDimensionReportRequest {
|
|
58580
|
-
tenantId?: string | null;
|
|
58581
|
-
supplierEdition?: boolean;
|
|
58582
|
-
includeAllSchemasAndElements?: boolean | null;
|
|
58583
|
-
createBlankReport?: boolean | null;
|
|
58584
|
-
sequences?: string[] | null;
|
|
58585
|
-
serialNumbers?: string[] | null;
|
|
58586
|
-
customerPO?: string | null;
|
|
58587
|
-
workOrder?: string | null;
|
|
58588
|
-
comment?: string | null;
|
|
58589
|
-
}
|
|
58590
|
-
|
|
58591
58507
|
export class ExportDimensionReportV2Request implements IExportDimensionReportV2Request {
|
|
58592
58508
|
tenantId?: string | null;
|
|
58593
58509
|
type!: DimensionReportType;
|