@ignos/api-client 20240704.0.9748 → 20240709.0.9769
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 +7 -3
- package/lib/ignosportal-api.js +6 -2
- package/package.json +1 -1
- package/src/ignosportal-api.ts +14 -6
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -8678,6 +8678,7 @@ export declare class BookingDto implements IBookingDto {
|
|
|
8678
8678
|
createdById: string;
|
|
8679
8679
|
updatedBy?: string | null;
|
|
8680
8680
|
updatedById?: string | null;
|
|
8681
|
+
completed?: Date | null;
|
|
8681
8682
|
constructor(data?: IBookingDto);
|
|
8682
8683
|
init(_data?: any): void;
|
|
8683
8684
|
static fromJS(data: any): BookingDto;
|
|
@@ -8696,6 +8697,7 @@ export interface IBookingDto {
|
|
|
8696
8697
|
createdById: string;
|
|
8697
8698
|
updatedBy?: string | null;
|
|
8698
8699
|
updatedById?: string | null;
|
|
8700
|
+
completed?: Date | null;
|
|
8699
8701
|
}
|
|
8700
8702
|
export type BookingKindDto = "Forklift" | "General" | "ChipDisposal" | "Garbage";
|
|
8701
8703
|
export type TransportKindDto = "NormalForklift" | "LargeForklift" | "SideLoadingForklift";
|
|
@@ -8705,6 +8707,7 @@ export declare class BookingItemDto implements IBookingItemDto {
|
|
|
8705
8707
|
workOrderId: string;
|
|
8706
8708
|
material?: string | null;
|
|
8707
8709
|
comment?: string | null;
|
|
8710
|
+
covered: MaterialCoveredDto;
|
|
8708
8711
|
toLocationOverride?: LocationDto | null;
|
|
8709
8712
|
constructor(data?: IBookingItemDto);
|
|
8710
8713
|
init(_data?: any): void;
|
|
@@ -8716,8 +8719,10 @@ export interface IBookingItemDto {
|
|
|
8716
8719
|
workOrderId: string;
|
|
8717
8720
|
material?: string | null;
|
|
8718
8721
|
comment?: string | null;
|
|
8722
|
+
covered: MaterialCoveredDto;
|
|
8719
8723
|
toLocationOverride?: LocationDto | null;
|
|
8720
8724
|
}
|
|
8725
|
+
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
8721
8726
|
export declare class LocationDto implements ILocationDto {
|
|
8722
8727
|
locationId: string;
|
|
8723
8728
|
locationName: string;
|
|
@@ -8819,7 +8824,6 @@ export declare class BookingGeneralRequestDto implements IBookingGeneralRequestD
|
|
|
8819
8824
|
transportKind: TransportKindDto;
|
|
8820
8825
|
fromLocationId: string;
|
|
8821
8826
|
toLocationId: string;
|
|
8822
|
-
material?: string | null;
|
|
8823
8827
|
comment?: string | null;
|
|
8824
8828
|
itemCount: number;
|
|
8825
8829
|
constructor(data?: IBookingGeneralRequestDto);
|
|
@@ -8832,7 +8836,6 @@ export interface IBookingGeneralRequestDto {
|
|
|
8832
8836
|
transportKind: TransportKindDto;
|
|
8833
8837
|
fromLocationId: string;
|
|
8834
8838
|
toLocationId: string;
|
|
8835
|
-
material?: string | null;
|
|
8836
8839
|
comment?: string | null;
|
|
8837
8840
|
itemCount: number;
|
|
8838
8841
|
}
|
|
@@ -8908,7 +8911,6 @@ export interface IMaterialDesciptionDto {
|
|
|
8908
8911
|
materialName: string;
|
|
8909
8912
|
covered: MaterialCoveredDto;
|
|
8910
8913
|
}
|
|
8911
|
-
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
8912
8914
|
export declare class MaterialUpdateDto implements IMaterialUpdateDto {
|
|
8913
8915
|
materialName: string;
|
|
8914
8916
|
covered: MaterialCoveredDto;
|
|
@@ -8996,6 +8998,7 @@ export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
|
|
|
8996
8998
|
workOrderId: string;
|
|
8997
8999
|
part?: PartDto | null;
|
|
8998
9000
|
trackingHistory: TrackingHistoryDto[];
|
|
9001
|
+
covered: MaterialCoveredDto;
|
|
8999
9002
|
constructor(data?: ITrackingWorkOrderDto);
|
|
9000
9003
|
init(_data?: any): void;
|
|
9001
9004
|
static fromJS(data: any): TrackingWorkOrderDto;
|
|
@@ -9005,6 +9008,7 @@ export interface ITrackingWorkOrderDto {
|
|
|
9005
9008
|
workOrderId: string;
|
|
9006
9009
|
part?: PartDto | null;
|
|
9007
9010
|
trackingHistory: TrackingHistoryDto[];
|
|
9011
|
+
covered: MaterialCoveredDto;
|
|
9008
9012
|
}
|
|
9009
9013
|
export declare class TrackingUpdateDto implements ITrackingUpdateDto {
|
|
9010
9014
|
trackingId: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -31612,6 +31612,7 @@ export class BookingDto {
|
|
|
31612
31612
|
this.createdById = _data["createdById"];
|
|
31613
31613
|
this.updatedBy = _data["updatedBy"];
|
|
31614
31614
|
this.updatedById = _data["updatedById"];
|
|
31615
|
+
this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : undefined;
|
|
31615
31616
|
}
|
|
31616
31617
|
}
|
|
31617
31618
|
static fromJS(data) {
|
|
@@ -31638,6 +31639,7 @@ export class BookingDto {
|
|
|
31638
31639
|
data["createdById"] = this.createdById;
|
|
31639
31640
|
data["updatedBy"] = this.updatedBy;
|
|
31640
31641
|
data["updatedById"] = this.updatedById;
|
|
31642
|
+
data["completed"] = this.completed ? this.completed.toISOString() : undefined;
|
|
31641
31643
|
return data;
|
|
31642
31644
|
}
|
|
31643
31645
|
}
|
|
@@ -31656,6 +31658,7 @@ export class BookingItemDto {
|
|
|
31656
31658
|
this.workOrderId = _data["workOrderId"];
|
|
31657
31659
|
this.material = _data["material"];
|
|
31658
31660
|
this.comment = _data["comment"];
|
|
31661
|
+
this.covered = _data["covered"];
|
|
31659
31662
|
this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : undefined;
|
|
31660
31663
|
}
|
|
31661
31664
|
}
|
|
@@ -31671,6 +31674,7 @@ export class BookingItemDto {
|
|
|
31671
31674
|
data["workOrderId"] = this.workOrderId;
|
|
31672
31675
|
data["material"] = this.material;
|
|
31673
31676
|
data["comment"] = this.comment;
|
|
31677
|
+
data["covered"] = this.covered;
|
|
31674
31678
|
data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : undefined;
|
|
31675
31679
|
return data;
|
|
31676
31680
|
}
|
|
@@ -31931,7 +31935,6 @@ export class BookingGeneralRequestDto {
|
|
|
31931
31935
|
this.transportKind = _data["transportKind"];
|
|
31932
31936
|
this.fromLocationId = _data["fromLocationId"];
|
|
31933
31937
|
this.toLocationId = _data["toLocationId"];
|
|
31934
|
-
this.material = _data["material"];
|
|
31935
31938
|
this.comment = _data["comment"];
|
|
31936
31939
|
this.itemCount = _data["itemCount"];
|
|
31937
31940
|
}
|
|
@@ -31948,7 +31951,6 @@ export class BookingGeneralRequestDto {
|
|
|
31948
31951
|
data["transportKind"] = this.transportKind;
|
|
31949
31952
|
data["fromLocationId"] = this.fromLocationId;
|
|
31950
31953
|
data["toLocationId"] = this.toLocationId;
|
|
31951
|
-
data["material"] = this.material;
|
|
31952
31954
|
data["comment"] = this.comment;
|
|
31953
31955
|
data["itemCount"] = this.itemCount;
|
|
31954
31956
|
return data;
|
|
@@ -32378,6 +32380,7 @@ export class TrackingWorkOrderDto {
|
|
|
32378
32380
|
for (let item of _data["trackingHistory"])
|
|
32379
32381
|
this.trackingHistory.push(TrackingHistoryDto.fromJS(item));
|
|
32380
32382
|
}
|
|
32383
|
+
this.covered = _data["covered"];
|
|
32381
32384
|
}
|
|
32382
32385
|
}
|
|
32383
32386
|
static fromJS(data) {
|
|
@@ -32395,6 +32398,7 @@ export class TrackingWorkOrderDto {
|
|
|
32395
32398
|
for (let item of this.trackingHistory)
|
|
32396
32399
|
data["trackingHistory"].push(item.toJSON());
|
|
32397
32400
|
}
|
|
32401
|
+
data["covered"] = this.covered;
|
|
32398
32402
|
return data;
|
|
32399
32403
|
}
|
|
32400
32404
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -39298,6 +39298,7 @@ export class BookingDto implements IBookingDto {
|
|
|
39298
39298
|
createdById!: string;
|
|
39299
39299
|
updatedBy?: string | null;
|
|
39300
39300
|
updatedById?: string | null;
|
|
39301
|
+
completed?: Date | null;
|
|
39301
39302
|
|
|
39302
39303
|
constructor(data?: IBookingDto) {
|
|
39303
39304
|
if (data) {
|
|
@@ -39331,6 +39332,7 @@ export class BookingDto implements IBookingDto {
|
|
|
39331
39332
|
this.createdById = _data["createdById"];
|
|
39332
39333
|
this.updatedBy = _data["updatedBy"];
|
|
39333
39334
|
this.updatedById = _data["updatedById"];
|
|
39335
|
+
this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : <any>undefined;
|
|
39334
39336
|
}
|
|
39335
39337
|
}
|
|
39336
39338
|
|
|
@@ -39359,6 +39361,7 @@ export class BookingDto implements IBookingDto {
|
|
|
39359
39361
|
data["createdById"] = this.createdById;
|
|
39360
39362
|
data["updatedBy"] = this.updatedBy;
|
|
39361
39363
|
data["updatedById"] = this.updatedById;
|
|
39364
|
+
data["completed"] = this.completed ? this.completed.toISOString() : <any>undefined;
|
|
39362
39365
|
return data;
|
|
39363
39366
|
}
|
|
39364
39367
|
}
|
|
@@ -39376,6 +39379,7 @@ export interface IBookingDto {
|
|
|
39376
39379
|
createdById: string;
|
|
39377
39380
|
updatedBy?: string | null;
|
|
39378
39381
|
updatedById?: string | null;
|
|
39382
|
+
completed?: Date | null;
|
|
39379
39383
|
}
|
|
39380
39384
|
|
|
39381
39385
|
export type BookingKindDto = "Forklift" | "General" | "ChipDisposal" | "Garbage";
|
|
@@ -39389,6 +39393,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
39389
39393
|
workOrderId!: string;
|
|
39390
39394
|
material?: string | null;
|
|
39391
39395
|
comment?: string | null;
|
|
39396
|
+
covered!: MaterialCoveredDto;
|
|
39392
39397
|
toLocationOverride?: LocationDto | null;
|
|
39393
39398
|
|
|
39394
39399
|
constructor(data?: IBookingItemDto) {
|
|
@@ -39406,6 +39411,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
39406
39411
|
this.workOrderId = _data["workOrderId"];
|
|
39407
39412
|
this.material = _data["material"];
|
|
39408
39413
|
this.comment = _data["comment"];
|
|
39414
|
+
this.covered = _data["covered"];
|
|
39409
39415
|
this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : <any>undefined;
|
|
39410
39416
|
}
|
|
39411
39417
|
}
|
|
@@ -39423,6 +39429,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
39423
39429
|
data["workOrderId"] = this.workOrderId;
|
|
39424
39430
|
data["material"] = this.material;
|
|
39425
39431
|
data["comment"] = this.comment;
|
|
39432
|
+
data["covered"] = this.covered;
|
|
39426
39433
|
data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : <any>undefined;
|
|
39427
39434
|
return data;
|
|
39428
39435
|
}
|
|
@@ -39433,9 +39440,12 @@ export interface IBookingItemDto {
|
|
|
39433
39440
|
workOrderId: string;
|
|
39434
39441
|
material?: string | null;
|
|
39435
39442
|
comment?: string | null;
|
|
39443
|
+
covered: MaterialCoveredDto;
|
|
39436
39444
|
toLocationOverride?: LocationDto | null;
|
|
39437
39445
|
}
|
|
39438
39446
|
|
|
39447
|
+
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
39448
|
+
|
|
39439
39449
|
export class LocationDto implements ILocationDto {
|
|
39440
39450
|
locationId!: string;
|
|
39441
39451
|
locationName!: string;
|
|
@@ -39780,7 +39790,6 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
39780
39790
|
transportKind!: TransportKindDto;
|
|
39781
39791
|
fromLocationId!: string;
|
|
39782
39792
|
toLocationId!: string;
|
|
39783
|
-
material?: string | null;
|
|
39784
39793
|
comment?: string | null;
|
|
39785
39794
|
itemCount!: number;
|
|
39786
39795
|
|
|
@@ -39799,7 +39808,6 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
39799
39808
|
this.transportKind = _data["transportKind"];
|
|
39800
39809
|
this.fromLocationId = _data["fromLocationId"];
|
|
39801
39810
|
this.toLocationId = _data["toLocationId"];
|
|
39802
|
-
this.material = _data["material"];
|
|
39803
39811
|
this.comment = _data["comment"];
|
|
39804
39812
|
this.itemCount = _data["itemCount"];
|
|
39805
39813
|
}
|
|
@@ -39818,7 +39826,6 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
39818
39826
|
data["transportKind"] = this.transportKind;
|
|
39819
39827
|
data["fromLocationId"] = this.fromLocationId;
|
|
39820
39828
|
data["toLocationId"] = this.toLocationId;
|
|
39821
|
-
data["material"] = this.material;
|
|
39822
39829
|
data["comment"] = this.comment;
|
|
39823
39830
|
data["itemCount"] = this.itemCount;
|
|
39824
39831
|
return data;
|
|
@@ -39830,7 +39837,6 @@ export interface IBookingGeneralRequestDto {
|
|
|
39830
39837
|
transportKind: TransportKindDto;
|
|
39831
39838
|
fromLocationId: string;
|
|
39832
39839
|
toLocationId: string;
|
|
39833
|
-
material?: string | null;
|
|
39834
39840
|
comment?: string | null;
|
|
39835
39841
|
itemCount: number;
|
|
39836
39842
|
}
|
|
@@ -40102,8 +40108,6 @@ export interface IMaterialDesciptionDto {
|
|
|
40102
40108
|
covered: MaterialCoveredDto;
|
|
40103
40109
|
}
|
|
40104
40110
|
|
|
40105
|
-
export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
|
|
40106
|
-
|
|
40107
40111
|
export class MaterialUpdateDto implements IMaterialUpdateDto {
|
|
40108
40112
|
materialName!: string;
|
|
40109
40113
|
covered!: MaterialCoveredDto;
|
|
@@ -40400,6 +40404,7 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
|
|
|
40400
40404
|
workOrderId!: string;
|
|
40401
40405
|
part?: PartDto | null;
|
|
40402
40406
|
trackingHistory!: TrackingHistoryDto[];
|
|
40407
|
+
covered!: MaterialCoveredDto;
|
|
40403
40408
|
|
|
40404
40409
|
constructor(data?: ITrackingWorkOrderDto) {
|
|
40405
40410
|
if (data) {
|
|
@@ -40422,6 +40427,7 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
|
|
|
40422
40427
|
for (let item of _data["trackingHistory"])
|
|
40423
40428
|
this.trackingHistory!.push(TrackingHistoryDto.fromJS(item));
|
|
40424
40429
|
}
|
|
40430
|
+
this.covered = _data["covered"];
|
|
40425
40431
|
}
|
|
40426
40432
|
}
|
|
40427
40433
|
|
|
@@ -40441,6 +40447,7 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
|
|
|
40441
40447
|
for (let item of this.trackingHistory)
|
|
40442
40448
|
data["trackingHistory"].push(item.toJSON());
|
|
40443
40449
|
}
|
|
40450
|
+
data["covered"] = this.covered;
|
|
40444
40451
|
return data;
|
|
40445
40452
|
}
|
|
40446
40453
|
}
|
|
@@ -40449,6 +40456,7 @@ export interface ITrackingWorkOrderDto {
|
|
|
40449
40456
|
workOrderId: string;
|
|
40450
40457
|
part?: PartDto | null;
|
|
40451
40458
|
trackingHistory: TrackingHistoryDto[];
|
|
40459
|
+
covered: MaterialCoveredDto;
|
|
40452
40460
|
}
|
|
40453
40461
|
|
|
40454
40462
|
export class TrackingUpdateDto implements ITrackingUpdateDto {
|