@ironcode/vas-lib 1.3.0 → 1.3.1
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/cjs/lib/entity/vas-vehicle.dto.d.ts +1 -0
- package/cjs/lib/entity/vas-vehicle.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-vehicle.dto.js.map +1 -1
- package/cjs/lib/entity/vas-vehicle.model.d.ts +2 -1
- package/cjs/lib/entity/vas-vehicle.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-vehicle.model.js +7 -4
- package/cjs/lib/entity/vas-vehicle.model.js.map +1 -1
- package/esm2020/lib/entity/vas-vehicle.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-vehicle.model.mjs +8 -5
- package/fesm2015/ironcode-vas-lib.mjs +7 -4
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +7 -4
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/vas-vehicle.dto.d.ts +1 -0
- package/lib/entity/vas-vehicle.model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2233,7 +2233,7 @@ class VasReportRequestModel extends VasAccountObjectModel {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
|
|
2235
2235
|
class VasVehicleModel extends VasAccountObjectModel {
|
|
2236
|
-
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, account, registration, make, model) {
|
|
2236
|
+
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, account, registration, make, model, archived) {
|
|
2237
2237
|
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, account);
|
|
2238
2238
|
this.id = id;
|
|
2239
2239
|
this.created = created;
|
|
@@ -2248,9 +2248,10 @@ class VasVehicleModel extends VasAccountObjectModel {
|
|
|
2248
2248
|
this.registration = registration;
|
|
2249
2249
|
this.make = make;
|
|
2250
2250
|
this.model = model;
|
|
2251
|
+
this.archived = archived;
|
|
2251
2252
|
}
|
|
2252
2253
|
static fromDto(dto) {
|
|
2253
|
-
return new VasVehicleModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.createdByName || '', dto.modifiedByName || '', dto.account || '', dto.registration || '', dto.make || '', dto.model || '');
|
|
2254
|
+
return new VasVehicleModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.createdByName || '', dto.modifiedByName || '', dto.account || '', dto.registration || '', dto.make || '', dto.model || '', dto.archived || false);
|
|
2254
2255
|
}
|
|
2255
2256
|
toDto() {
|
|
2256
2257
|
return {
|
|
@@ -2266,7 +2267,8 @@ class VasVehicleModel extends VasAccountObjectModel {
|
|
|
2266
2267
|
account: this.account,
|
|
2267
2268
|
registration: this.registration,
|
|
2268
2269
|
make: this.make,
|
|
2269
|
-
model: this.model
|
|
2270
|
+
model: this.model,
|
|
2271
|
+
archived: this.archived
|
|
2270
2272
|
};
|
|
2271
2273
|
}
|
|
2272
2274
|
toApiDto(options) {
|
|
@@ -2277,7 +2279,8 @@ class VasVehicleModel extends VasAccountObjectModel {
|
|
|
2277
2279
|
account: this.account,
|
|
2278
2280
|
registration: this.registration,
|
|
2279
2281
|
make: this.make,
|
|
2280
|
-
model: this.model
|
|
2282
|
+
model: this.model,
|
|
2283
|
+
archived: this.archived
|
|
2281
2284
|
};
|
|
2282
2285
|
}
|
|
2283
2286
|
}
|