@ignos/api-client 20240424.0.9152 → 20240426.0.9163

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.
@@ -3951,6 +3951,7 @@ export declare class CustomerOrderLineWorkOrderTraceStatusNodeDto implements ICu
3951
3951
  part: PartDto;
3952
3952
  traceType: TraceType;
3953
3953
  traceExists: boolean;
3954
+ traceStatus: TraceStatus;
3954
3955
  workOrders?: CustomerOrderLineWorkOrderTraceStatusNodeDto[];
3955
3956
  constructor(data?: ICustomerOrderLineWorkOrderTraceStatusNodeDto);
3956
3957
  init(_data?: any): void;
@@ -3962,8 +3963,10 @@ export interface ICustomerOrderLineWorkOrderTraceStatusNodeDto {
3962
3963
  part: PartDto;
3963
3964
  traceType: TraceType;
3964
3965
  traceExists: boolean;
3966
+ traceStatus: TraceStatus;
3965
3967
  workOrders?: CustomerOrderLineWorkOrderTraceStatusNodeDto[];
3966
3968
  }
3969
+ export type TraceStatus = "None" | "Unavailable" | "NotNeeded" | "Partial" | "Completed";
3967
3970
  export declare class PagedResultOfTraceWorkOrderListDto implements IPagedResultOfTraceWorkOrderListDto {
3968
3971
  results: TraceWorkOrderListDto[];
3969
3972
  continuationToken?: string | null;
@@ -9623,6 +9626,7 @@ export declare class ProductionOrderDto implements IProductionOrderDto {
9623
9626
  projectLeader?: UserDto | null;
9624
9627
  deliveryLocation?: WarehouseLocationDto | null;
9625
9628
  project?: WorkOrderProjectDto | null;
9629
+ attachments?: WorkOrderAttachmentDto[] | null;
9626
9630
  startDate?: Date | null;
9627
9631
  endDate?: Date | null;
9628
9632
  bomPosition?: string | null;
@@ -9649,6 +9653,7 @@ export interface IProductionOrderDto {
9649
9653
  projectLeader?: UserDto | null;
9650
9654
  deliveryLocation?: WarehouseLocationDto | null;
9651
9655
  project?: WorkOrderProjectDto | null;
9656
+ attachments?: WorkOrderAttachmentDto[] | null;
9652
9657
  startDate?: Date | null;
9653
9658
  endDate?: Date | null;
9654
9659
  bomPosition?: string | null;
@@ -9737,6 +9742,28 @@ export interface IWarehouseLocationDto {
9737
9742
  warehouse?: string | null;
9738
9743
  site?: string | null;
9739
9744
  }
9745
+ export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
9746
+ createdBy?: string | null;
9747
+ created?: Date | null;
9748
+ modifiedBy?: string | null;
9749
+ modified?: Date | null;
9750
+ notes?: string | null;
9751
+ name?: string | null;
9752
+ typeId?: string | null;
9753
+ constructor(data?: IWorkOrderAttachmentDto);
9754
+ init(_data?: any): void;
9755
+ static fromJS(data: any): WorkOrderAttachmentDto;
9756
+ toJSON(data?: any): any;
9757
+ }
9758
+ export interface IWorkOrderAttachmentDto {
9759
+ createdBy?: string | null;
9760
+ created?: Date | null;
9761
+ modifiedBy?: string | null;
9762
+ modified?: Date | null;
9763
+ notes?: string | null;
9764
+ name?: string | null;
9765
+ typeId?: string | null;
9766
+ }
9740
9767
  export declare class DrawingDto implements IDrawingDto {
9741
9768
  drawingNumber: string;
9742
9769
  revision?: string;
@@ -21753,6 +21753,7 @@ export class CustomerOrderLineWorkOrderTraceStatusNodeDto {
21753
21753
  this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
21754
21754
  this.traceType = _data["traceType"];
21755
21755
  this.traceExists = _data["traceExists"];
21756
+ this.traceStatus = _data["traceStatus"];
21756
21757
  if (Array.isArray(_data["workOrders"])) {
21757
21758
  this.workOrders = [];
21758
21759
  for (let item of _data["workOrders"])
@@ -21772,6 +21773,7 @@ export class CustomerOrderLineWorkOrderTraceStatusNodeDto {
21772
21773
  data["part"] = this.part ? this.part.toJSON() : undefined;
21773
21774
  data["traceType"] = this.traceType;
21774
21775
  data["traceExists"] = this.traceExists;
21776
+ data["traceStatus"] = this.traceStatus;
21775
21777
  if (Array.isArray(this.workOrders)) {
21776
21778
  data["workOrders"] = [];
21777
21779
  for (let item of this.workOrders)
@@ -32737,6 +32739,11 @@ export class ProductionOrderDto {
32737
32739
  this.projectLeader = _data["projectLeader"] ? UserDto.fromJS(_data["projectLeader"]) : undefined;
32738
32740
  this.deliveryLocation = _data["deliveryLocation"] ? WarehouseLocationDto.fromJS(_data["deliveryLocation"]) : undefined;
32739
32741
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined;
32742
+ if (Array.isArray(_data["attachments"])) {
32743
+ this.attachments = [];
32744
+ for (let item of _data["attachments"])
32745
+ this.attachments.push(WorkOrderAttachmentDto.fromJS(item));
32746
+ }
32740
32747
  this.startDate = _data["startDate"] ? new Date(_data["startDate"].toString()) : undefined;
32741
32748
  this.endDate = _data["endDate"] ? new Date(_data["endDate"].toString()) : undefined;
32742
32749
  this.bomPosition = _data["bomPosition"];
@@ -32771,6 +32778,11 @@ export class ProductionOrderDto {
32771
32778
  data["projectLeader"] = this.projectLeader ? this.projectLeader.toJSON() : undefined;
32772
32779
  data["deliveryLocation"] = this.deliveryLocation ? this.deliveryLocation.toJSON() : undefined;
32773
32780
  data["project"] = this.project ? this.project.toJSON() : undefined;
32781
+ if (Array.isArray(this.attachments)) {
32782
+ data["attachments"] = [];
32783
+ for (let item of this.attachments)
32784
+ data["attachments"].push(item.toJSON());
32785
+ }
32774
32786
  data["startDate"] = this.startDate ? this.startDate.toISOString() : undefined;
32775
32787
  data["endDate"] = this.endDate ? this.endDate.toISOString() : undefined;
32776
32788
  data["bomPosition"] = this.bomPosition;
@@ -32893,6 +32905,44 @@ export class WarehouseLocationDto {
32893
32905
  return data;
32894
32906
  }
32895
32907
  }
32908
+ export class WorkOrderAttachmentDto {
32909
+ constructor(data) {
32910
+ if (data) {
32911
+ for (var property in data) {
32912
+ if (data.hasOwnProperty(property))
32913
+ this[property] = data[property];
32914
+ }
32915
+ }
32916
+ }
32917
+ init(_data) {
32918
+ if (_data) {
32919
+ this.createdBy = _data["createdBy"];
32920
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
32921
+ this.modifiedBy = _data["modifiedBy"];
32922
+ this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : undefined;
32923
+ this.notes = _data["notes"];
32924
+ this.name = _data["name"];
32925
+ this.typeId = _data["typeId"];
32926
+ }
32927
+ }
32928
+ static fromJS(data) {
32929
+ data = typeof data === 'object' ? data : {};
32930
+ let result = new WorkOrderAttachmentDto();
32931
+ result.init(data);
32932
+ return result;
32933
+ }
32934
+ toJSON(data) {
32935
+ data = typeof data === 'object' ? data : {};
32936
+ data["createdBy"] = this.createdBy;
32937
+ data["created"] = this.created ? this.created.toISOString() : undefined;
32938
+ data["modifiedBy"] = this.modifiedBy;
32939
+ data["modified"] = this.modified ? this.modified.toISOString() : undefined;
32940
+ data["notes"] = this.notes;
32941
+ data["name"] = this.name;
32942
+ data["typeId"] = this.typeId;
32943
+ return data;
32944
+ }
32945
+ }
32896
32946
  export class DrawingDto {
32897
32947
  constructor(data) {
32898
32948
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240424.0.9152",
3
+ "version": "20240426.0.9163",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -24728,6 +24728,7 @@ export class CustomerOrderLineWorkOrderTraceStatusNodeDto implements ICustomerOr
24728
24728
  part!: PartDto;
24729
24729
  traceType!: TraceType;
24730
24730
  traceExists!: boolean;
24731
+ traceStatus!: TraceStatus;
24731
24732
  workOrders?: CustomerOrderLineWorkOrderTraceStatusNodeDto[];
24732
24733
 
24733
24734
  constructor(data?: ICustomerOrderLineWorkOrderTraceStatusNodeDto) {
@@ -24748,6 +24749,7 @@ export class CustomerOrderLineWorkOrderTraceStatusNodeDto implements ICustomerOr
24748
24749
  this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
24749
24750
  this.traceType = _data["traceType"];
24750
24751
  this.traceExists = _data["traceExists"];
24752
+ this.traceStatus = _data["traceStatus"];
24751
24753
  if (Array.isArray(_data["workOrders"])) {
24752
24754
  this.workOrders = [] as any;
24753
24755
  for (let item of _data["workOrders"])
@@ -24769,6 +24771,7 @@ export class CustomerOrderLineWorkOrderTraceStatusNodeDto implements ICustomerOr
24769
24771
  data["part"] = this.part ? this.part.toJSON() : <any>undefined;
24770
24772
  data["traceType"] = this.traceType;
24771
24773
  data["traceExists"] = this.traceExists;
24774
+ data["traceStatus"] = this.traceStatus;
24772
24775
  if (Array.isArray(this.workOrders)) {
24773
24776
  data["workOrders"] = [];
24774
24777
  for (let item of this.workOrders)
@@ -24783,9 +24786,12 @@ export interface ICustomerOrderLineWorkOrderTraceStatusNodeDto {
24783
24786
  part: PartDto;
24784
24787
  traceType: TraceType;
24785
24788
  traceExists: boolean;
24789
+ traceStatus: TraceStatus;
24786
24790
  workOrders?: CustomerOrderLineWorkOrderTraceStatusNodeDto[];
24787
24791
  }
24788
24792
 
24793
+ export type TraceStatus = "None" | "Unavailable" | "NotNeeded" | "Partial" | "Completed";
24794
+
24789
24795
  export class PagedResultOfTraceWorkOrderListDto implements IPagedResultOfTraceWorkOrderListDto {
24790
24796
  results!: TraceWorkOrderListDto[];
24791
24797
  continuationToken?: string | null;
@@ -41385,6 +41391,7 @@ export class ProductionOrderDto implements IProductionOrderDto {
41385
41391
  projectLeader?: UserDto | null;
41386
41392
  deliveryLocation?: WarehouseLocationDto | null;
41387
41393
  project?: WorkOrderProjectDto | null;
41394
+ attachments?: WorkOrderAttachmentDto[] | null;
41388
41395
  startDate?: Date | null;
41389
41396
  endDate?: Date | null;
41390
41397
  bomPosition?: string | null;
@@ -41425,6 +41432,11 @@ export class ProductionOrderDto implements IProductionOrderDto {
41425
41432
  this.projectLeader = _data["projectLeader"] ? UserDto.fromJS(_data["projectLeader"]) : <any>undefined;
41426
41433
  this.deliveryLocation = _data["deliveryLocation"] ? WarehouseLocationDto.fromJS(_data["deliveryLocation"]) : <any>undefined;
41427
41434
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : <any>undefined;
41435
+ if (Array.isArray(_data["attachments"])) {
41436
+ this.attachments = [] as any;
41437
+ for (let item of _data["attachments"])
41438
+ this.attachments!.push(WorkOrderAttachmentDto.fromJS(item));
41439
+ }
41428
41440
  this.startDate = _data["startDate"] ? new Date(_data["startDate"].toString()) : <any>undefined;
41429
41441
  this.endDate = _data["endDate"] ? new Date(_data["endDate"].toString()) : <any>undefined;
41430
41442
  this.bomPosition = _data["bomPosition"];
@@ -41461,6 +41473,11 @@ export class ProductionOrderDto implements IProductionOrderDto {
41461
41473
  data["projectLeader"] = this.projectLeader ? this.projectLeader.toJSON() : <any>undefined;
41462
41474
  data["deliveryLocation"] = this.deliveryLocation ? this.deliveryLocation.toJSON() : <any>undefined;
41463
41475
  data["project"] = this.project ? this.project.toJSON() : <any>undefined;
41476
+ if (Array.isArray(this.attachments)) {
41477
+ data["attachments"] = [];
41478
+ for (let item of this.attachments)
41479
+ data["attachments"].push(item.toJSON());
41480
+ }
41464
41481
  data["startDate"] = this.startDate ? this.startDate.toISOString() : <any>undefined;
41465
41482
  data["endDate"] = this.endDate ? this.endDate.toISOString() : <any>undefined;
41466
41483
  data["bomPosition"] = this.bomPosition;
@@ -41486,6 +41503,7 @@ export interface IProductionOrderDto {
41486
41503
  projectLeader?: UserDto | null;
41487
41504
  deliveryLocation?: WarehouseLocationDto | null;
41488
41505
  project?: WorkOrderProjectDto | null;
41506
+ attachments?: WorkOrderAttachmentDto[] | null;
41489
41507
  startDate?: Date | null;
41490
41508
  endDate?: Date | null;
41491
41509
  bomPosition?: string | null;
@@ -41689,6 +41707,66 @@ export interface IWarehouseLocationDto {
41689
41707
  site?: string | null;
41690
41708
  }
41691
41709
 
41710
+ export class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
41711
+ createdBy?: string | null;
41712
+ created?: Date | null;
41713
+ modifiedBy?: string | null;
41714
+ modified?: Date | null;
41715
+ notes?: string | null;
41716
+ name?: string | null;
41717
+ typeId?: string | null;
41718
+
41719
+ constructor(data?: IWorkOrderAttachmentDto) {
41720
+ if (data) {
41721
+ for (var property in data) {
41722
+ if (data.hasOwnProperty(property))
41723
+ (<any>this)[property] = (<any>data)[property];
41724
+ }
41725
+ }
41726
+ }
41727
+
41728
+ init(_data?: any) {
41729
+ if (_data) {
41730
+ this.createdBy = _data["createdBy"];
41731
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
41732
+ this.modifiedBy = _data["modifiedBy"];
41733
+ this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : <any>undefined;
41734
+ this.notes = _data["notes"];
41735
+ this.name = _data["name"];
41736
+ this.typeId = _data["typeId"];
41737
+ }
41738
+ }
41739
+
41740
+ static fromJS(data: any): WorkOrderAttachmentDto {
41741
+ data = typeof data === 'object' ? data : {};
41742
+ let result = new WorkOrderAttachmentDto();
41743
+ result.init(data);
41744
+ return result;
41745
+ }
41746
+
41747
+ toJSON(data?: any) {
41748
+ data = typeof data === 'object' ? data : {};
41749
+ data["createdBy"] = this.createdBy;
41750
+ data["created"] = this.created ? this.created.toISOString() : <any>undefined;
41751
+ data["modifiedBy"] = this.modifiedBy;
41752
+ data["modified"] = this.modified ? this.modified.toISOString() : <any>undefined;
41753
+ data["notes"] = this.notes;
41754
+ data["name"] = this.name;
41755
+ data["typeId"] = this.typeId;
41756
+ return data;
41757
+ }
41758
+ }
41759
+
41760
+ export interface IWorkOrderAttachmentDto {
41761
+ createdBy?: string | null;
41762
+ created?: Date | null;
41763
+ modifiedBy?: string | null;
41764
+ modified?: Date | null;
41765
+ notes?: string | null;
41766
+ name?: string | null;
41767
+ typeId?: string | null;
41768
+ }
41769
+
41692
41770
  export class DrawingDto implements IDrawingDto {
41693
41771
  drawingNumber!: string;
41694
41772
  revision?: string;