@ignos/api-client 20250313.0.11364 → 20250314.0.11374

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.
@@ -9404,10 +9404,15 @@ export interface IDocumentLinkDto {
9404
9404
  export declare class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
9405
9405
  orderNumber: string;
9406
9406
  title: string;
9407
+ processedAt: Date;
9408
+ severity: string;
9407
9409
  category?: string | null;
9408
9410
  description?: string | null;
9409
9411
  project?: string | null;
9410
9412
  status?: string | null;
9413
+ responsible?: UserDto | null;
9414
+ engineer?: UserDto | null;
9415
+ actions?: string | null;
9411
9416
  constructor(data?: IEngineeringChangeOrderDto);
9412
9417
  init(_data?: any): void;
9413
9418
  static fromJS(data: any): EngineeringChangeOrderDto;
@@ -9416,10 +9421,15 @@ export declare class EngineeringChangeOrderDto implements IEngineeringChangeOrde
9416
9421
  export interface IEngineeringChangeOrderDto {
9417
9422
  orderNumber: string;
9418
9423
  title: string;
9424
+ processedAt: Date;
9425
+ severity: string;
9419
9426
  category?: string | null;
9420
9427
  description?: string | null;
9421
9428
  project?: string | null;
9422
9429
  status?: string | null;
9430
+ responsible?: UserDto | null;
9431
+ engineer?: UserDto | null;
9432
+ actions?: string | null;
9423
9433
  }
9424
9434
  export declare class AddMesLink implements IAddMesLink {
9425
9435
  uri?: string | null;
@@ -11394,6 +11404,8 @@ export declare class MeasurementFormSettingsDto implements IMeasurementFormSetti
11394
11404
  generateReportForApprovedInstances: boolean;
11395
11405
  includeMeasuringToolsInReportAsDefault: boolean;
11396
11406
  requireCustomerOnWorkOrders: boolean;
11407
+ allowSchemaUpdates: boolean;
11408
+ allowCreateInstances: boolean;
11397
11409
  resourceTypesBlockingAutoWorkflow?: string[] | null;
11398
11410
  constructor(data?: IMeasurementFormSettingsDto);
11399
11411
  init(_data?: any): void;
@@ -11411,6 +11423,8 @@ export interface IMeasurementFormSettingsDto {
11411
11423
  generateReportForApprovedInstances: boolean;
11412
11424
  includeMeasuringToolsInReportAsDefault: boolean;
11413
11425
  requireCustomerOnWorkOrders: boolean;
11426
+ allowSchemaUpdates: boolean;
11427
+ allowCreateInstances: boolean;
11414
11428
  resourceTypesBlockingAutoWorkflow?: string[] | null;
11415
11429
  }
11416
11430
  export declare class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSettings {
@@ -11424,7 +11438,9 @@ export declare class UpdateMeasurementFormSettings implements IUpdateMeasurement
11424
11438
  generateReportForApprovedInstances: boolean;
11425
11439
  includeMeasuringToolsInReportAsDefault: boolean;
11426
11440
  requireCustomerOnWorkOrders: boolean;
11427
- resourceTypesBlockingAutoWorkflow?: string[] | null;
11441
+ allowSchemaUpdates: boolean;
11442
+ allowCreateInstances: boolean;
11443
+ resourceTypesBlockingAutoWorkflow: string[];
11428
11444
  constructor(data?: IUpdateMeasurementFormSettings);
11429
11445
  init(_data?: any): void;
11430
11446
  static fromJS(data: any): UpdateMeasurementFormSettings;
@@ -11441,7 +11457,9 @@ export interface IUpdateMeasurementFormSettings {
11441
11457
  generateReportForApprovedInstances: boolean;
11442
11458
  includeMeasuringToolsInReportAsDefault: boolean;
11443
11459
  requireCustomerOnWorkOrders: boolean;
11444
- resourceTypesBlockingAutoWorkflow?: string[] | null;
11460
+ allowSchemaUpdates: boolean;
11461
+ allowCreateInstances: boolean;
11462
+ resourceTypesBlockingAutoWorkflow: string[];
11445
11463
  }
11446
11464
  export declare class MeasurementFormCustomerSettingsDto implements IMeasurementFormCustomerSettingsDto {
11447
11465
  customerId: string;
@@ -12311,6 +12329,7 @@ export interface IMeasurementFormInstanceFeedbackDto {
12311
12329
  }
12312
12330
  export declare class CreateMeasurementFormInstanceRequest implements ICreateMeasurementFormInstanceRequest {
12313
12331
  schemaId: string;
12332
+ customerId?: string | null;
12314
12333
  purchaseOrder?: string | null;
12315
12334
  series: CreateMeasurementFormInstanceRequestSeries[];
12316
12335
  constructor(data?: ICreateMeasurementFormInstanceRequest);
@@ -12320,6 +12339,7 @@ export declare class CreateMeasurementFormInstanceRequest implements ICreateMeas
12320
12339
  }
12321
12340
  export interface ICreateMeasurementFormInstanceRequest {
12322
12341
  schemaId: string;
12342
+ customerId?: string | null;
12323
12343
  purchaseOrder?: string | null;
12324
12344
  series: CreateMeasurementFormInstanceRequestSeries[];
12325
12345
  }
@@ -35396,10 +35396,15 @@ export class EngineeringChangeOrderDto {
35396
35396
  if (_data) {
35397
35397
  this.orderNumber = _data["orderNumber"];
35398
35398
  this.title = _data["title"];
35399
+ this.processedAt = _data["processedAt"] ? new Date(_data["processedAt"].toString()) : undefined;
35400
+ this.severity = _data["severity"];
35399
35401
  this.category = _data["category"];
35400
35402
  this.description = _data["description"];
35401
35403
  this.project = _data["project"];
35402
35404
  this.status = _data["status"];
35405
+ this.responsible = _data["responsible"] ? UserDto.fromJS(_data["responsible"]) : undefined;
35406
+ this.engineer = _data["engineer"] ? UserDto.fromJS(_data["engineer"]) : undefined;
35407
+ this.actions = _data["actions"];
35403
35408
  }
35404
35409
  }
35405
35410
  static fromJS(data) {
@@ -35412,10 +35417,15 @@ export class EngineeringChangeOrderDto {
35412
35417
  data = typeof data === 'object' ? data : {};
35413
35418
  data["orderNumber"] = this.orderNumber;
35414
35419
  data["title"] = this.title;
35420
+ data["processedAt"] = this.processedAt ? this.processedAt.toISOString() : undefined;
35421
+ data["severity"] = this.severity;
35415
35422
  data["category"] = this.category;
35416
35423
  data["description"] = this.description;
35417
35424
  data["project"] = this.project;
35418
35425
  data["status"] = this.status;
35426
+ data["responsible"] = this.responsible ? this.responsible.toJSON() : undefined;
35427
+ data["engineer"] = this.engineer ? this.engineer.toJSON() : undefined;
35428
+ data["actions"] = this.actions;
35419
35429
  return data;
35420
35430
  }
35421
35431
  }
@@ -39139,6 +39149,8 @@ export class MeasurementFormSettingsDto {
39139
39149
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
39140
39150
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
39141
39151
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
39152
+ this.allowSchemaUpdates = _data["allowSchemaUpdates"];
39153
+ this.allowCreateInstances = _data["allowCreateInstances"];
39142
39154
  if (Array.isArray(_data["resourceTypesBlockingAutoWorkflow"])) {
39143
39155
  this.resourceTypesBlockingAutoWorkflow = [];
39144
39156
  for (let item of _data["resourceTypesBlockingAutoWorkflow"])
@@ -39164,6 +39176,8 @@ export class MeasurementFormSettingsDto {
39164
39176
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
39165
39177
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
39166
39178
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
39179
+ data["allowSchemaUpdates"] = this.allowSchemaUpdates;
39180
+ data["allowCreateInstances"] = this.allowCreateInstances;
39167
39181
  if (Array.isArray(this.resourceTypesBlockingAutoWorkflow)) {
39168
39182
  data["resourceTypesBlockingAutoWorkflow"] = [];
39169
39183
  for (let item of this.resourceTypesBlockingAutoWorkflow)
@@ -39180,6 +39194,9 @@ export class UpdateMeasurementFormSettings {
39180
39194
  this[property] = data[property];
39181
39195
  }
39182
39196
  }
39197
+ if (!data) {
39198
+ this.resourceTypesBlockingAutoWorkflow = [];
39199
+ }
39183
39200
  }
39184
39201
  init(_data) {
39185
39202
  if (_data) {
@@ -39193,6 +39210,8 @@ export class UpdateMeasurementFormSettings {
39193
39210
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
39194
39211
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
39195
39212
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
39213
+ this.allowSchemaUpdates = _data["allowSchemaUpdates"];
39214
+ this.allowCreateInstances = _data["allowCreateInstances"];
39196
39215
  if (Array.isArray(_data["resourceTypesBlockingAutoWorkflow"])) {
39197
39216
  this.resourceTypesBlockingAutoWorkflow = [];
39198
39217
  for (let item of _data["resourceTypesBlockingAutoWorkflow"])
@@ -39218,6 +39237,8 @@ export class UpdateMeasurementFormSettings {
39218
39237
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
39219
39238
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
39220
39239
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
39240
+ data["allowSchemaUpdates"] = this.allowSchemaUpdates;
39241
+ data["allowCreateInstances"] = this.allowCreateInstances;
39221
39242
  if (Array.isArray(this.resourceTypesBlockingAutoWorkflow)) {
39222
39243
  data["resourceTypesBlockingAutoWorkflow"] = [];
39223
39244
  for (let item of this.resourceTypesBlockingAutoWorkflow)
@@ -40945,6 +40966,7 @@ export class CreateMeasurementFormInstanceRequest {
40945
40966
  init(_data) {
40946
40967
  if (_data) {
40947
40968
  this.schemaId = _data["schemaId"];
40969
+ this.customerId = _data["customerId"];
40948
40970
  this.purchaseOrder = _data["purchaseOrder"];
40949
40971
  if (Array.isArray(_data["series"])) {
40950
40972
  this.series = [];
@@ -40962,6 +40984,7 @@ export class CreateMeasurementFormInstanceRequest {
40962
40984
  toJSON(data) {
40963
40985
  data = typeof data === 'object' ? data : {};
40964
40986
  data["schemaId"] = this.schemaId;
40987
+ data["customerId"] = this.customerId;
40965
40988
  data["purchaseOrder"] = this.purchaseOrder;
40966
40989
  if (Array.isArray(this.series)) {
40967
40990
  data["series"] = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250313.0.11364",
3
+ "version": "20250314.0.11374",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -43695,10 +43695,15 @@ export interface IDocumentLinkDto {
43695
43695
  export class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
43696
43696
  orderNumber!: string;
43697
43697
  title!: string;
43698
+ processedAt!: Date;
43699
+ severity!: string;
43698
43700
  category?: string | null;
43699
43701
  description?: string | null;
43700
43702
  project?: string | null;
43701
43703
  status?: string | null;
43704
+ responsible?: UserDto | null;
43705
+ engineer?: UserDto | null;
43706
+ actions?: string | null;
43702
43707
 
43703
43708
  constructor(data?: IEngineeringChangeOrderDto) {
43704
43709
  if (data) {
@@ -43713,10 +43718,15 @@ export class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
43713
43718
  if (_data) {
43714
43719
  this.orderNumber = _data["orderNumber"];
43715
43720
  this.title = _data["title"];
43721
+ this.processedAt = _data["processedAt"] ? new Date(_data["processedAt"].toString()) : <any>undefined;
43722
+ this.severity = _data["severity"];
43716
43723
  this.category = _data["category"];
43717
43724
  this.description = _data["description"];
43718
43725
  this.project = _data["project"];
43719
43726
  this.status = _data["status"];
43727
+ this.responsible = _data["responsible"] ? UserDto.fromJS(_data["responsible"]) : <any>undefined;
43728
+ this.engineer = _data["engineer"] ? UserDto.fromJS(_data["engineer"]) : <any>undefined;
43729
+ this.actions = _data["actions"];
43720
43730
  }
43721
43731
  }
43722
43732
 
@@ -43731,10 +43741,15 @@ export class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
43731
43741
  data = typeof data === 'object' ? data : {};
43732
43742
  data["orderNumber"] = this.orderNumber;
43733
43743
  data["title"] = this.title;
43744
+ data["processedAt"] = this.processedAt ? this.processedAt.toISOString() : <any>undefined;
43745
+ data["severity"] = this.severity;
43734
43746
  data["category"] = this.category;
43735
43747
  data["description"] = this.description;
43736
43748
  data["project"] = this.project;
43737
43749
  data["status"] = this.status;
43750
+ data["responsible"] = this.responsible ? this.responsible.toJSON() : <any>undefined;
43751
+ data["engineer"] = this.engineer ? this.engineer.toJSON() : <any>undefined;
43752
+ data["actions"] = this.actions;
43738
43753
  return data;
43739
43754
  }
43740
43755
  }
@@ -43742,10 +43757,15 @@ export class EngineeringChangeOrderDto implements IEngineeringChangeOrderDto {
43742
43757
  export interface IEngineeringChangeOrderDto {
43743
43758
  orderNumber: string;
43744
43759
  title: string;
43760
+ processedAt: Date;
43761
+ severity: string;
43745
43762
  category?: string | null;
43746
43763
  description?: string | null;
43747
43764
  project?: string | null;
43748
43765
  status?: string | null;
43766
+ responsible?: UserDto | null;
43767
+ engineer?: UserDto | null;
43768
+ actions?: string | null;
43749
43769
  }
43750
43770
 
43751
43771
  export class AddMesLink implements IAddMesLink {
@@ -49438,6 +49458,8 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
49438
49458
  generateReportForApprovedInstances!: boolean;
49439
49459
  includeMeasuringToolsInReportAsDefault!: boolean;
49440
49460
  requireCustomerOnWorkOrders!: boolean;
49461
+ allowSchemaUpdates!: boolean;
49462
+ allowCreateInstances!: boolean;
49441
49463
  resourceTypesBlockingAutoWorkflow?: string[] | null;
49442
49464
 
49443
49465
  constructor(data?: IMeasurementFormSettingsDto) {
@@ -49461,6 +49483,8 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
49461
49483
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
49462
49484
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
49463
49485
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
49486
+ this.allowSchemaUpdates = _data["allowSchemaUpdates"];
49487
+ this.allowCreateInstances = _data["allowCreateInstances"];
49464
49488
  if (Array.isArray(_data["resourceTypesBlockingAutoWorkflow"])) {
49465
49489
  this.resourceTypesBlockingAutoWorkflow = [] as any;
49466
49490
  for (let item of _data["resourceTypesBlockingAutoWorkflow"])
@@ -49488,6 +49512,8 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
49488
49512
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
49489
49513
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
49490
49514
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
49515
+ data["allowSchemaUpdates"] = this.allowSchemaUpdates;
49516
+ data["allowCreateInstances"] = this.allowCreateInstances;
49491
49517
  if (Array.isArray(this.resourceTypesBlockingAutoWorkflow)) {
49492
49518
  data["resourceTypesBlockingAutoWorkflow"] = [];
49493
49519
  for (let item of this.resourceTypesBlockingAutoWorkflow)
@@ -49508,6 +49534,8 @@ export interface IMeasurementFormSettingsDto {
49508
49534
  generateReportForApprovedInstances: boolean;
49509
49535
  includeMeasuringToolsInReportAsDefault: boolean;
49510
49536
  requireCustomerOnWorkOrders: boolean;
49537
+ allowSchemaUpdates: boolean;
49538
+ allowCreateInstances: boolean;
49511
49539
  resourceTypesBlockingAutoWorkflow?: string[] | null;
49512
49540
  }
49513
49541
 
@@ -49522,7 +49550,9 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
49522
49550
  generateReportForApprovedInstances!: boolean;
49523
49551
  includeMeasuringToolsInReportAsDefault!: boolean;
49524
49552
  requireCustomerOnWorkOrders!: boolean;
49525
- resourceTypesBlockingAutoWorkflow?: string[] | null;
49553
+ allowSchemaUpdates!: boolean;
49554
+ allowCreateInstances!: boolean;
49555
+ resourceTypesBlockingAutoWorkflow!: string[];
49526
49556
 
49527
49557
  constructor(data?: IUpdateMeasurementFormSettings) {
49528
49558
  if (data) {
@@ -49531,6 +49561,9 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
49531
49561
  (<any>this)[property] = (<any>data)[property];
49532
49562
  }
49533
49563
  }
49564
+ if (!data) {
49565
+ this.resourceTypesBlockingAutoWorkflow = [];
49566
+ }
49534
49567
  }
49535
49568
 
49536
49569
  init(_data?: any) {
@@ -49545,6 +49578,8 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
49545
49578
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
49546
49579
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
49547
49580
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
49581
+ this.allowSchemaUpdates = _data["allowSchemaUpdates"];
49582
+ this.allowCreateInstances = _data["allowCreateInstances"];
49548
49583
  if (Array.isArray(_data["resourceTypesBlockingAutoWorkflow"])) {
49549
49584
  this.resourceTypesBlockingAutoWorkflow = [] as any;
49550
49585
  for (let item of _data["resourceTypesBlockingAutoWorkflow"])
@@ -49572,6 +49607,8 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
49572
49607
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
49573
49608
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
49574
49609
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
49610
+ data["allowSchemaUpdates"] = this.allowSchemaUpdates;
49611
+ data["allowCreateInstances"] = this.allowCreateInstances;
49575
49612
  if (Array.isArray(this.resourceTypesBlockingAutoWorkflow)) {
49576
49613
  data["resourceTypesBlockingAutoWorkflow"] = [];
49577
49614
  for (let item of this.resourceTypesBlockingAutoWorkflow)
@@ -49592,7 +49629,9 @@ export interface IUpdateMeasurementFormSettings {
49592
49629
  generateReportForApprovedInstances: boolean;
49593
49630
  includeMeasuringToolsInReportAsDefault: boolean;
49594
49631
  requireCustomerOnWorkOrders: boolean;
49595
- resourceTypesBlockingAutoWorkflow?: string[] | null;
49632
+ allowSchemaUpdates: boolean;
49633
+ allowCreateInstances: boolean;
49634
+ resourceTypesBlockingAutoWorkflow: string[];
49596
49635
  }
49597
49636
 
49598
49637
  export class MeasurementFormCustomerSettingsDto implements IMeasurementFormCustomerSettingsDto {
@@ -52169,6 +52208,7 @@ export interface IMeasurementFormInstanceFeedbackDto {
52169
52208
 
52170
52209
  export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementFormInstanceRequest {
52171
52210
  schemaId!: string;
52211
+ customerId?: string | null;
52172
52212
  purchaseOrder?: string | null;
52173
52213
  series!: CreateMeasurementFormInstanceRequestSeries[];
52174
52214
 
@@ -52187,6 +52227,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
52187
52227
  init(_data?: any) {
52188
52228
  if (_data) {
52189
52229
  this.schemaId = _data["schemaId"];
52230
+ this.customerId = _data["customerId"];
52190
52231
  this.purchaseOrder = _data["purchaseOrder"];
52191
52232
  if (Array.isArray(_data["series"])) {
52192
52233
  this.series = [] as any;
@@ -52206,6 +52247,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
52206
52247
  toJSON(data?: any) {
52207
52248
  data = typeof data === 'object' ? data : {};
52208
52249
  data["schemaId"] = this.schemaId;
52250
+ data["customerId"] = this.customerId;
52209
52251
  data["purchaseOrder"] = this.purchaseOrder;
52210
52252
  if (Array.isArray(this.series)) {
52211
52253
  data["series"] = [];
@@ -52218,6 +52260,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
52218
52260
 
52219
52261
  export interface ICreateMeasurementFormInstanceRequest {
52220
52262
  schemaId: string;
52263
+ customerId?: string | null;
52221
52264
  purchaseOrder?: string | null;
52222
52265
  series: CreateMeasurementFormInstanceRequestSeries[];
52223
52266
  }