@ignos/api-client 20240506.0.9212 → 20240508.0.9227
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
CHANGED
|
@@ -9761,9 +9761,9 @@ export interface IWarehouseLocationDto {
|
|
|
9761
9761
|
site?: string | null;
|
|
9762
9762
|
}
|
|
9763
9763
|
export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
9764
|
-
createdBy?:
|
|
9764
|
+
createdBy?: UserDto | null;
|
|
9765
9765
|
created?: Date | null;
|
|
9766
|
-
modifiedBy?:
|
|
9766
|
+
modifiedBy?: UserDto | null;
|
|
9767
9767
|
modified?: Date | null;
|
|
9768
9768
|
name?: string | null;
|
|
9769
9769
|
notes?: string | null;
|
|
@@ -9774,9 +9774,9 @@ export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
|
9774
9774
|
toJSON(data?: any): any;
|
|
9775
9775
|
}
|
|
9776
9776
|
export interface IWorkOrderAttachmentDto {
|
|
9777
|
-
createdBy?:
|
|
9777
|
+
createdBy?: UserDto | null;
|
|
9778
9778
|
created?: Date | null;
|
|
9779
|
-
modifiedBy?:
|
|
9779
|
+
modifiedBy?: UserDto | null;
|
|
9780
9780
|
modified?: Date | null;
|
|
9781
9781
|
name?: string | null;
|
|
9782
9782
|
notes?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -32990,9 +32990,9 @@ export class WorkOrderAttachmentDto {
|
|
|
32990
32990
|
}
|
|
32991
32991
|
init(_data) {
|
|
32992
32992
|
if (_data) {
|
|
32993
|
-
this.createdBy = _data["createdBy"];
|
|
32993
|
+
this.createdBy = _data["createdBy"] ? UserDto.fromJS(_data["createdBy"]) : undefined;
|
|
32994
32994
|
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
32995
|
-
this.modifiedBy = _data["modifiedBy"];
|
|
32995
|
+
this.modifiedBy = _data["modifiedBy"] ? UserDto.fromJS(_data["modifiedBy"]) : undefined;
|
|
32996
32996
|
this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : undefined;
|
|
32997
32997
|
this.name = _data["name"];
|
|
32998
32998
|
this.notes = _data["notes"];
|
|
@@ -33007,9 +33007,9 @@ export class WorkOrderAttachmentDto {
|
|
|
33007
33007
|
}
|
|
33008
33008
|
toJSON(data) {
|
|
33009
33009
|
data = typeof data === 'object' ? data : {};
|
|
33010
|
-
data["createdBy"] = this.createdBy;
|
|
33010
|
+
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : undefined;
|
|
33011
33011
|
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
33012
|
-
data["modifiedBy"] = this.modifiedBy;
|
|
33012
|
+
data["modifiedBy"] = this.modifiedBy ? this.modifiedBy.toJSON() : undefined;
|
|
33013
33013
|
data["modified"] = this.modified ? this.modified.toISOString() : undefined;
|
|
33014
33014
|
data["name"] = this.name;
|
|
33015
33015
|
data["notes"] = this.notes;
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -41800,9 +41800,9 @@ export interface IWarehouseLocationDto {
|
|
|
41800
41800
|
}
|
|
41801
41801
|
|
|
41802
41802
|
export class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
41803
|
-
createdBy?:
|
|
41803
|
+
createdBy?: UserDto | null;
|
|
41804
41804
|
created?: Date | null;
|
|
41805
|
-
modifiedBy?:
|
|
41805
|
+
modifiedBy?: UserDto | null;
|
|
41806
41806
|
modified?: Date | null;
|
|
41807
41807
|
name?: string | null;
|
|
41808
41808
|
notes?: string | null;
|
|
@@ -41819,9 +41819,9 @@ export class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
|
41819
41819
|
|
|
41820
41820
|
init(_data?: any) {
|
|
41821
41821
|
if (_data) {
|
|
41822
|
-
this.createdBy = _data["createdBy"];
|
|
41822
|
+
this.createdBy = _data["createdBy"] ? UserDto.fromJS(_data["createdBy"]) : <any>undefined;
|
|
41823
41823
|
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
41824
|
-
this.modifiedBy = _data["modifiedBy"];
|
|
41824
|
+
this.modifiedBy = _data["modifiedBy"] ? UserDto.fromJS(_data["modifiedBy"]) : <any>undefined;
|
|
41825
41825
|
this.modified = _data["modified"] ? new Date(_data["modified"].toString()) : <any>undefined;
|
|
41826
41826
|
this.name = _data["name"];
|
|
41827
41827
|
this.notes = _data["notes"];
|
|
@@ -41838,9 +41838,9 @@ export class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
|
41838
41838
|
|
|
41839
41839
|
toJSON(data?: any) {
|
|
41840
41840
|
data = typeof data === 'object' ? data : {};
|
|
41841
|
-
data["createdBy"] = this.createdBy;
|
|
41841
|
+
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : <any>undefined;
|
|
41842
41842
|
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
41843
|
-
data["modifiedBy"] = this.modifiedBy;
|
|
41843
|
+
data["modifiedBy"] = this.modifiedBy ? this.modifiedBy.toJSON() : <any>undefined;
|
|
41844
41844
|
data["modified"] = this.modified ? this.modified.toISOString() : <any>undefined;
|
|
41845
41845
|
data["name"] = this.name;
|
|
41846
41846
|
data["notes"] = this.notes;
|
|
@@ -41850,9 +41850,9 @@ export class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
|
|
|
41850
41850
|
}
|
|
41851
41851
|
|
|
41852
41852
|
export interface IWorkOrderAttachmentDto {
|
|
41853
|
-
createdBy?:
|
|
41853
|
+
createdBy?: UserDto | null;
|
|
41854
41854
|
created?: Date | null;
|
|
41855
|
-
modifiedBy?:
|
|
41855
|
+
modifiedBy?: UserDto | null;
|
|
41856
41856
|
modified?: Date | null;
|
|
41857
41857
|
name?: string | null;
|
|
41858
41858
|
notes?: string | null;
|