@ignos/api-client 20250328.0.11444 → 20250331.0.11453
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 +10 -12
- package/lib/ignosportal-api.js +15 -17
- package/package.json +1 -1
- package/src/ignosportal-api.ts +24 -28
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -12399,7 +12399,7 @@ export declare class CreateMeasurementFormInstanceRequest implements ICreateMeas
|
|
|
12399
12399
|
customerId?: string | null;
|
|
12400
12400
|
customerName?: string | null;
|
|
12401
12401
|
purchaseOrder?: string | null;
|
|
12402
|
-
|
|
12402
|
+
sequences: CreateMeasurementFormInstanceRequestSequence[];
|
|
12403
12403
|
constructor(data?: ICreateMeasurementFormInstanceRequest);
|
|
12404
12404
|
init(_data?: any): void;
|
|
12405
12405
|
static fromJS(data: any): CreateMeasurementFormInstanceRequest;
|
|
@@ -12410,21 +12410,19 @@ export interface ICreateMeasurementFormInstanceRequest {
|
|
|
12410
12410
|
customerId?: string | null;
|
|
12411
12411
|
customerName?: string | null;
|
|
12412
12412
|
purchaseOrder?: string | null;
|
|
12413
|
-
|
|
12413
|
+
sequences: CreateMeasurementFormInstanceRequestSequence[];
|
|
12414
12414
|
}
|
|
12415
|
-
export declare class
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
constructor(data?: ICreateMeasurementFormInstanceRequestSeries);
|
|
12415
|
+
export declare class CreateMeasurementFormInstanceRequestSequence implements ICreateMeasurementFormInstanceRequestSequence {
|
|
12416
|
+
sequenceNumber: string;
|
|
12417
|
+
serialNumber?: string | null;
|
|
12418
|
+
constructor(data?: ICreateMeasurementFormInstanceRequestSequence);
|
|
12420
12419
|
init(_data?: any): void;
|
|
12421
|
-
static fromJS(data: any):
|
|
12420
|
+
static fromJS(data: any): CreateMeasurementFormInstanceRequestSequence;
|
|
12422
12421
|
toJSON(data?: any): any;
|
|
12423
12422
|
}
|
|
12424
|
-
export interface
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
qty: number;
|
|
12423
|
+
export interface ICreateMeasurementFormInstanceRequestSequence {
|
|
12424
|
+
sequenceNumber: string;
|
|
12425
|
+
serialNumber?: string | null;
|
|
12428
12426
|
}
|
|
12429
12427
|
export declare class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementFormInstanceRequest {
|
|
12430
12428
|
sequences: MeasurementFormWorkorderSequenceDto[];
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -41182,7 +41182,7 @@ export class CreateMeasurementFormInstanceRequest {
|
|
|
41182
41182
|
}
|
|
41183
41183
|
}
|
|
41184
41184
|
if (!data) {
|
|
41185
|
-
this.
|
|
41185
|
+
this.sequences = [];
|
|
41186
41186
|
}
|
|
41187
41187
|
}
|
|
41188
41188
|
init(_data) {
|
|
@@ -41191,10 +41191,10 @@ export class CreateMeasurementFormInstanceRequest {
|
|
|
41191
41191
|
this.customerId = _data["customerId"];
|
|
41192
41192
|
this.customerName = _data["customerName"];
|
|
41193
41193
|
this.purchaseOrder = _data["purchaseOrder"];
|
|
41194
|
-
if (Array.isArray(_data["
|
|
41195
|
-
this.
|
|
41196
|
-
for (let item of _data["
|
|
41197
|
-
this.
|
|
41194
|
+
if (Array.isArray(_data["sequences"])) {
|
|
41195
|
+
this.sequences = [];
|
|
41196
|
+
for (let item of _data["sequences"])
|
|
41197
|
+
this.sequences.push(CreateMeasurementFormInstanceRequestSequence.fromJS(item));
|
|
41198
41198
|
}
|
|
41199
41199
|
}
|
|
41200
41200
|
}
|
|
@@ -41210,15 +41210,15 @@ export class CreateMeasurementFormInstanceRequest {
|
|
|
41210
41210
|
data["customerId"] = this.customerId;
|
|
41211
41211
|
data["customerName"] = this.customerName;
|
|
41212
41212
|
data["purchaseOrder"] = this.purchaseOrder;
|
|
41213
|
-
if (Array.isArray(this.
|
|
41214
|
-
data["
|
|
41215
|
-
for (let item of this.
|
|
41216
|
-
data["
|
|
41213
|
+
if (Array.isArray(this.sequences)) {
|
|
41214
|
+
data["sequences"] = [];
|
|
41215
|
+
for (let item of this.sequences)
|
|
41216
|
+
data["sequences"].push(item.toJSON());
|
|
41217
41217
|
}
|
|
41218
41218
|
return data;
|
|
41219
41219
|
}
|
|
41220
41220
|
}
|
|
41221
|
-
export class
|
|
41221
|
+
export class CreateMeasurementFormInstanceRequestSequence {
|
|
41222
41222
|
constructor(data) {
|
|
41223
41223
|
if (data) {
|
|
41224
41224
|
for (var property in data) {
|
|
@@ -41229,22 +41229,20 @@ export class CreateMeasurementFormInstanceRequestSeries {
|
|
|
41229
41229
|
}
|
|
41230
41230
|
init(_data) {
|
|
41231
41231
|
if (_data) {
|
|
41232
|
-
this.
|
|
41233
|
-
this.
|
|
41234
|
-
this.qty = _data["qty"];
|
|
41232
|
+
this.sequenceNumber = _data["sequenceNumber"];
|
|
41233
|
+
this.serialNumber = _data["serialNumber"];
|
|
41235
41234
|
}
|
|
41236
41235
|
}
|
|
41237
41236
|
static fromJS(data) {
|
|
41238
41237
|
data = typeof data === 'object' ? data : {};
|
|
41239
|
-
let result = new
|
|
41238
|
+
let result = new CreateMeasurementFormInstanceRequestSequence();
|
|
41240
41239
|
result.init(data);
|
|
41241
41240
|
return result;
|
|
41242
41241
|
}
|
|
41243
41242
|
toJSON(data) {
|
|
41244
41243
|
data = typeof data === 'object' ? data : {};
|
|
41245
|
-
data["
|
|
41246
|
-
data["
|
|
41247
|
-
data["qty"] = this.qty;
|
|
41244
|
+
data["sequenceNumber"] = this.sequenceNumber;
|
|
41245
|
+
data["serialNumber"] = this.serialNumber;
|
|
41248
41246
|
return data;
|
|
41249
41247
|
}
|
|
41250
41248
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -52497,7 +52497,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
52497
52497
|
customerId?: string | null;
|
|
52498
52498
|
customerName?: string | null;
|
|
52499
52499
|
purchaseOrder?: string | null;
|
|
52500
|
-
|
|
52500
|
+
sequences!: CreateMeasurementFormInstanceRequestSequence[];
|
|
52501
52501
|
|
|
52502
52502
|
constructor(data?: ICreateMeasurementFormInstanceRequest) {
|
|
52503
52503
|
if (data) {
|
|
@@ -52507,7 +52507,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
52507
52507
|
}
|
|
52508
52508
|
}
|
|
52509
52509
|
if (!data) {
|
|
52510
|
-
this.
|
|
52510
|
+
this.sequences = [];
|
|
52511
52511
|
}
|
|
52512
52512
|
}
|
|
52513
52513
|
|
|
@@ -52517,10 +52517,10 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
52517
52517
|
this.customerId = _data["customerId"];
|
|
52518
52518
|
this.customerName = _data["customerName"];
|
|
52519
52519
|
this.purchaseOrder = _data["purchaseOrder"];
|
|
52520
|
-
if (Array.isArray(_data["
|
|
52521
|
-
this.
|
|
52522
|
-
for (let item of _data["
|
|
52523
|
-
this.
|
|
52520
|
+
if (Array.isArray(_data["sequences"])) {
|
|
52521
|
+
this.sequences = [] as any;
|
|
52522
|
+
for (let item of _data["sequences"])
|
|
52523
|
+
this.sequences!.push(CreateMeasurementFormInstanceRequestSequence.fromJS(item));
|
|
52524
52524
|
}
|
|
52525
52525
|
}
|
|
52526
52526
|
}
|
|
@@ -52538,10 +52538,10 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
52538
52538
|
data["customerId"] = this.customerId;
|
|
52539
52539
|
data["customerName"] = this.customerName;
|
|
52540
52540
|
data["purchaseOrder"] = this.purchaseOrder;
|
|
52541
|
-
if (Array.isArray(this.
|
|
52542
|
-
data["
|
|
52543
|
-
for (let item of this.
|
|
52544
|
-
data["
|
|
52541
|
+
if (Array.isArray(this.sequences)) {
|
|
52542
|
+
data["sequences"] = [];
|
|
52543
|
+
for (let item of this.sequences)
|
|
52544
|
+
data["sequences"].push(item.toJSON());
|
|
52545
52545
|
}
|
|
52546
52546
|
return data;
|
|
52547
52547
|
}
|
|
@@ -52552,15 +52552,14 @@ export interface ICreateMeasurementFormInstanceRequest {
|
|
|
52552
52552
|
customerId?: string | null;
|
|
52553
52553
|
customerName?: string | null;
|
|
52554
52554
|
purchaseOrder?: string | null;
|
|
52555
|
-
|
|
52555
|
+
sequences: CreateMeasurementFormInstanceRequestSequence[];
|
|
52556
52556
|
}
|
|
52557
52557
|
|
|
52558
|
-
export class
|
|
52559
|
-
|
|
52560
|
-
|
|
52561
|
-
qty!: number;
|
|
52558
|
+
export class CreateMeasurementFormInstanceRequestSequence implements ICreateMeasurementFormInstanceRequestSequence {
|
|
52559
|
+
sequenceNumber!: string;
|
|
52560
|
+
serialNumber?: string | null;
|
|
52562
52561
|
|
|
52563
|
-
constructor(data?:
|
|
52562
|
+
constructor(data?: ICreateMeasurementFormInstanceRequestSequence) {
|
|
52564
52563
|
if (data) {
|
|
52565
52564
|
for (var property in data) {
|
|
52566
52565
|
if (data.hasOwnProperty(property))
|
|
@@ -52571,32 +52570,29 @@ export class CreateMeasurementFormInstanceRequestSeries implements ICreateMeasur
|
|
|
52571
52570
|
|
|
52572
52571
|
init(_data?: any) {
|
|
52573
52572
|
if (_data) {
|
|
52574
|
-
this.
|
|
52575
|
-
this.
|
|
52576
|
-
this.qty = _data["qty"];
|
|
52573
|
+
this.sequenceNumber = _data["sequenceNumber"];
|
|
52574
|
+
this.serialNumber = _data["serialNumber"];
|
|
52577
52575
|
}
|
|
52578
52576
|
}
|
|
52579
52577
|
|
|
52580
|
-
static fromJS(data: any):
|
|
52578
|
+
static fromJS(data: any): CreateMeasurementFormInstanceRequestSequence {
|
|
52581
52579
|
data = typeof data === 'object' ? data : {};
|
|
52582
|
-
let result = new
|
|
52580
|
+
let result = new CreateMeasurementFormInstanceRequestSequence();
|
|
52583
52581
|
result.init(data);
|
|
52584
52582
|
return result;
|
|
52585
52583
|
}
|
|
52586
52584
|
|
|
52587
52585
|
toJSON(data?: any) {
|
|
52588
52586
|
data = typeof data === 'object' ? data : {};
|
|
52589
|
-
data["
|
|
52590
|
-
data["
|
|
52591
|
-
data["qty"] = this.qty;
|
|
52587
|
+
data["sequenceNumber"] = this.sequenceNumber;
|
|
52588
|
+
data["serialNumber"] = this.serialNumber;
|
|
52592
52589
|
return data;
|
|
52593
52590
|
}
|
|
52594
52591
|
}
|
|
52595
52592
|
|
|
52596
|
-
export interface
|
|
52597
|
-
|
|
52598
|
-
|
|
52599
|
-
qty: number;
|
|
52593
|
+
export interface ICreateMeasurementFormInstanceRequestSequence {
|
|
52594
|
+
sequenceNumber: string;
|
|
52595
|
+
serialNumber?: string | null;
|
|
52600
52596
|
}
|
|
52601
52597
|
|
|
52602
52598
|
export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementFormInstanceRequest {
|