@autologix-engineering/shared 1.2.305 → 1.2.306

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.305",
3
+ "version": "1.2.306",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -36,7 +36,7 @@ __decorate([
36
36
  ], AddDefaultExpensesDTO.prototype, "packageNewId", void 0);
37
37
  __decorate([
38
38
  IsArray(),
39
- ArrayMinSize(1),
39
+ ArrayMinSize(0),
40
40
  Type(() => ExpenseList),
41
41
  ValidateNested({ each: true }),
42
42
  __metadata("design:type", Array)
@@ -11,7 +11,7 @@ __decorate([
11
11
  ], AddExpensesDTO.prototype, "packageDetailNewId", void 0);
12
12
  __decorate([
13
13
  IsArray(),
14
- ArrayMinSize(1),
14
+ ArrayMinSize(0),
15
15
  ValidateNested({ each: true }),
16
16
  __metadata("design:type", Array)
17
17
  ], AddExpensesDTO.prototype, "expenses", void 0);
@@ -8,6 +8,8 @@ export declare class CreateReportDTO {
8
8
  toDate: string;
9
9
  cityIds?: string[];
10
10
  garageIds?: string[];
11
+ clientPersonaIds?: string[];
12
+ clientGroup?: string[];
11
13
  type?: ReportFileType;
12
14
  constructor(obj?: Partial<CreateReportDTO>);
13
15
  }
@@ -43,6 +43,18 @@ __decorate([
43
43
  IsUUID(undefined, { each: true }),
44
44
  __metadata("design:type", Array)
45
45
  ], CreateReportDTO.prototype, "garageIds", void 0);
46
+ __decorate([
47
+ IsOptional(),
48
+ IsArray(),
49
+ IsUUID(undefined, { each: true }),
50
+ __metadata("design:type", Array)
51
+ ], CreateReportDTO.prototype, "clientPersonaIds", void 0);
52
+ __decorate([
53
+ IsOptional(),
54
+ IsArray(),
55
+ IsString({ each: true }),
56
+ __metadata("design:type", Array)
57
+ ], CreateReportDTO.prototype, "clientGroup", void 0);
46
58
  __decorate([
47
59
  IsOptional(),
48
60
  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;IAkC3B,YAAY,GAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAnCA;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;AAIrB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACD"}
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;IA4C3B,YAAY,GAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA7CA;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"}
@@ -1,9 +1,11 @@
1
1
  export declare enum ReportModuleType {
2
2
  BusinessAssociateReimbursement = "BusinessAssociateReimbursement",
3
3
  OwnDriverReimbursement = "OwnDriverReimbursement",
4
- BAPayoutDeductions = "BAPayoutDeductions"
4
+ BAPayoutDeductions = "BAPayoutDeductions",
5
+ BookingReport = "BookingReport"
5
6
  }
6
7
  export declare enum ReportDateType {
7
8
  InvoiceDate = "InvoiceDate",
8
- PickupDate = "PickupDate"
9
+ PickupDate = "PickupDate",
10
+ GarageStartDate = "GarageStartDate"
9
11
  }
@@ -3,10 +3,12 @@ export var ReportModuleType;
3
3
  ReportModuleType["BusinessAssociateReimbursement"] = "BusinessAssociateReimbursement";
4
4
  ReportModuleType["OwnDriverReimbursement"] = "OwnDriverReimbursement";
5
5
  ReportModuleType["BAPayoutDeductions"] = "BAPayoutDeductions";
6
+ ReportModuleType["BookingReport"] = "BookingReport";
6
7
  })(ReportModuleType || (ReportModuleType = {}));
7
8
  export var ReportDateType;
8
9
  (function (ReportDateType) {
9
10
  ReportDateType["InvoiceDate"] = "InvoiceDate";
10
11
  ReportDateType["PickupDate"] = "PickupDate";
12
+ ReportDateType["GarageStartDate"] = "GarageStartDate";
11
13
  })(ReportDateType || (ReportDateType = {}));
12
14
  //# sourceMappingURL=report.module.type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"report.module.type.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/report.module.type.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,qFAAiE,CAAA;IACjE,qEAAiD,CAAA;IACjD,6DAAyC,CAAA;AAC1C,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,2CAAyB,CAAA;AAC1B,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB"}
1
+ {"version":3,"file":"report.module.type.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/report.module.type.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC3B,qFAAiE,CAAA;IACjE,qEAAiD,CAAA;IACjD,6DAAyC,CAAA;IACzC,mDAA+B,CAAA;AAChC,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,2CAAyB,CAAA;IACzB,qDAAmC,CAAA;AACpC,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB"}