@autologix-engineering/shared 1.0.863 → 1.0.865

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.0.863",
3
+ "version": "1.0.865",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,11 +1,15 @@
1
1
  import { BAContractType, GenericStatus } from '../../enums/src/index';
2
2
  export declare class GetBAContractsDTO {
3
- baId: string;
3
+ contextId?: string;
4
+ baIds?: string[];
4
5
  skip: number;
5
6
  limit: number;
6
7
  searchText?: string;
7
8
  contractType?: BAContractType[];
8
9
  contractStatus?: GenericStatus[];
10
+ vhlIds?: string[];
11
+ fromDate?: string;
12
+ toDate?: string;
9
13
  getAll?: boolean;
10
14
  maxLimit?: number;
11
15
  constructor(obj?: Partial<GetBAContractsDTO>);
@@ -1,16 +1,22 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { BAContractType, GenericStatus } from '../../enums/src/index';
3
3
  import { Transform } from 'class-transformer';
4
- import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, IsUUID, Max, Min, } from 'class-validator';
4
+ import { IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, IsUUID, Max, Min, } from 'class-validator';
5
5
  export class GetBAContractsDTO {
6
6
  constructor(obj) {
7
7
  Object.assign(this, obj);
8
8
  }
9
9
  }
10
10
  __decorate([
11
+ IsOptional(),
11
12
  IsUUID(),
12
13
  __metadata("design:type", String)
13
- ], GetBAContractsDTO.prototype, "baId", void 0);
14
+ ], GetBAContractsDTO.prototype, "contextId", void 0);
15
+ __decorate([
16
+ IsOptional(),
17
+ IsUUID(undefined, { each: true }),
18
+ __metadata("design:type", Array)
19
+ ], GetBAContractsDTO.prototype, "baIds", void 0);
14
20
  __decorate([
15
21
  IsNumber(),
16
22
  Transform(Number),
@@ -36,6 +42,21 @@ __decorate([
36
42
  IsEnum(GenericStatus, { each: true }),
37
43
  __metadata("design:type", Array)
38
44
  ], GetBAContractsDTO.prototype, "contractStatus", void 0);
45
+ __decorate([
46
+ IsOptional(),
47
+ IsUUID(undefined, { each: true }),
48
+ __metadata("design:type", Array)
49
+ ], GetBAContractsDTO.prototype, "vhlIds", void 0);
50
+ __decorate([
51
+ IsOptional(),
52
+ IsDateString(),
53
+ __metadata("design:type", String)
54
+ ], GetBAContractsDTO.prototype, "fromDate", void 0);
55
+ __decorate([
56
+ IsOptional(),
57
+ IsDateString(),
58
+ __metadata("design:type", String)
59
+ ], GetBAContractsDTO.prototype, "toDate", void 0);
39
60
  __decorate([
40
61
  IsOptional(),
41
62
  IsBoolean(),
@@ -1 +1 @@
1
- {"version":3,"file":"get.ba.contracts.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.ba.contracts.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,SAAS,EAET,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,EACH,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,iBAAiB;IAoC7B,YAAY,GAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AArCA;IADC,MAAM,EAAE;;+CACI;AAIb;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;+CACL;AAIb;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;gDACJ;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACP;AAIhC;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDACL;AAKjC;IAHC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;;iDACtB;AAOjB;IALC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,KAAK,CAAC;IACV,SAAS,CAAC,MAAM,CAAC;;mDACA"}
1
+ {"version":3,"file":"get.ba.contracts.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.ba.contracts.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,EACH,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,iBAAiB;IAqD7B,YAAY,GAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AArDA;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;oDACU;AAInB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;gDACjB;AAIjB;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;+CACL;AAIb;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;gDACJ;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACS;AAI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