@autologix-engineering/shared 1.2.364 → 1.2.366

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autologix-engineering/shared",
3
- "version": "1.2.364",
3
+ "version": "1.2.366",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,4 +1,4 @@
1
- import { ReportDateType, ReportFileType, ReportModuleType } from '../../enums/src/index';
1
+ import { ReportDateType, ReportFileType, ReportModuleType, VehicleOwnershipType } from '../../enums/src/index';
2
2
  export declare class CreateReportDTO {
3
3
  contextId: string;
4
4
  dateType?: ReportDateType;
@@ -10,6 +10,7 @@ export declare class CreateReportDTO {
10
10
  garageIds?: string[];
11
11
  clientPersonaIds?: string[];
12
12
  clientGroup?: string[];
13
+ bizTypes?: VehicleOwnershipType[];
13
14
  type?: ReportFileType;
14
15
  createdById?: string;
15
16
  constructor(obj?: Partial<CreateReportDTO>);
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { IsArray, IsDateString, IsEnum, IsOptional, IsString, IsUUID, } from 'class-validator';
3
- import { ReportDateType, ReportFileType, ReportModuleType, } from '../../enums/src/index';
3
+ import { ReportDateType, ReportFileType, ReportModuleType, VehicleOwnershipType, } from '../../enums/src/index';
4
4
  export class CreateReportDTO {
5
5
  constructor(obj) {
6
6
  Object.assign(this, obj);
@@ -55,6 +55,12 @@ __decorate([
55
55
  IsString({ each: true }),
56
56
  __metadata("design:type", Array)
57
57
  ], CreateReportDTO.prototype, "clientGroup", void 0);
58
+ __decorate([
59
+ IsOptional(),
60
+ IsArray(),
61
+ IsEnum(VehicleOwnershipType, { each: true }),
62
+ __metadata("design:type", Array)
63
+ ], CreateReportDTO.prototype, "bizTypes", void 0);
58
64
  __decorate([
59
65
  IsOptional(),
60
66
  IsEnum(ReportFileType),
@@ -1 +1 @@
1
- {"version":3,"file":"create.report.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.report.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,cAAc,EACd,cAAc,EACd,gBAAgB,GAChB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,OAAO,eAAe;IAgD3B,YAAY,GAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAjDA;IADC,MAAM,EAAE;;kDACS;AAIlB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;iDACG;AAG1B;IADC,MAAM,CAAC,gBAAgB,CAAC;;mDACI;AAG7B;IADC,QAAQ,EAAE;;mDACQ;AAGnB;IADC,YAAY,EAAE;;iDACE;AAGjB;IADC,YAAY,EAAE;;+CACA;AAKf;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;gDACf;AAKnB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACb;AAKrB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDACN;AAK5B;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oDACF;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACD;AAItB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;oDACY"}
1
+ {"version":3,"file":"create.report.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.report.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,GACpB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,OAAO,eAAe;IAqD3B,YAAY,GAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAtDA;IADC,MAAM,EAAE;;kDACS;AAIlB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;iDACG;AAG1B;IADC,MAAM,CAAC,gBAAgB,CAAC;;mDACI;AAG7B;IADC,QAAQ,EAAE;;mDACQ;AAGnB;IADC,YAAY,EAAE;;iDACE;AAGjB;IADC,YAAY,EAAE;;+CACA;AAKf;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;gDACf;AAKnB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACb;AAKrB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDACN;AAK5B;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oDACF;AAKvB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACX;AAIlC;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACD;AAItB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;oDACY"}
@@ -1,4 +1,4 @@
1
- import { VehicleComplianceKey } from '@autologix/shared/enums';
1
+ import { VehicleComplianceKey } from '../../enums/src';
2
2
  /**
3
3
  * AD-3140 §11 — the per-vehicle emergency override.
4
4
  *
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { IsEnum, IsInt, IsOptional, IsUUID, Max, Min, ValidateIf, } from 'class-validator';
3
- import { VehicleComplianceKey } from '@autologix/shared/enums';
3
+ import { VehicleComplianceKey } from '../../enums/src';
4
4
  /**
5
5
  * AD-3140 §11 — the per-vehicle emergency override.
6
6
  *
@@ -1 +1 @@
1
- {"version":3,"file":"set.vehicle.compliance.override.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/set.vehicle.compliance.override.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,GAAG,EACH,GAAG,EACH,UAAU,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;GAOG;AACH,MAAM,OAAO,+BAA+B;IA6B3C,YAAY,GAA8C;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA9BA;IADC,MAAM,EAAE;;6EACoB;AAG7B;IADC,MAAM,CAAC,oBAAoB,CAAC;;uEACQ;AAcrC;IALC,UAAU,EAAE;IACZ,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,GAAG,CAAC;;kEACiB;AAQ1B;IALC,UAAU,EAAE;IACZ,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,GAAG,CAAC;;0EACyB"}
1
+ {"version":3,"file":"set.vehicle.compliance.override.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/set.vehicle.compliance.override.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,GAAG,EACH,GAAG,EACH,UAAU,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,OAAO,+BAA+B;IA6B3C,YAAY,GAA8C;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA9BA;IADC,MAAM,EAAE;;6EACoB;AAG7B;IADC,MAAM,CAAC,oBAAoB,CAAC;;uEACQ;AAcrC;IALC,UAAU,EAAE;IACZ,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,GAAG,CAAC;;kEACiB;AAQ1B;IALC,UAAU,EAAE;IACZ,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,GAAG,CAAC;;0EACyB"}