@autologix-engineering/shared 1.0.863 → 1.0.864

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.864",
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,7 +1,7 @@
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);
@@ -10,7 +10,12 @@ export class GetBAContractsDTO {
10
10
  __decorate([
11
11
  IsUUID(),
12
12
  __metadata("design:type", String)
13
- ], GetBAContractsDTO.prototype, "baId", void 0);
13
+ ], GetBAContractsDTO.prototype, "contextId", void 0);
14
+ __decorate([
15
+ IsOptional(),
16
+ IsUUID(undefined, { each: true }),
17
+ __metadata("design:type", Array)
18
+ ], GetBAContractsDTO.prototype, "baIds", void 0);
14
19
  __decorate([
15
20
  IsNumber(),
16
21
  Transform(Number),
@@ -36,6 +41,21 @@ __decorate([
36
41
  IsEnum(GenericStatus, { each: true }),
37
42
  __metadata("design:type", Array)
38
43
  ], GetBAContractsDTO.prototype, "contractStatus", void 0);
44
+ __decorate([
45
+ IsOptional(),
46
+ IsUUID(undefined, { each: true }),
47
+ __metadata("design:type", Array)
48
+ ], GetBAContractsDTO.prototype, "vhlIds", void 0);
49
+ __decorate([
50
+ IsOptional(),
51
+ IsDateString(),
52
+ __metadata("design:type", String)
53
+ ], GetBAContractsDTO.prototype, "fromDate", void 0);
54
+ __decorate([
55
+ IsOptional(),
56
+ IsDateString(),
57
+ __metadata("design:type", String)
58
+ ], GetBAContractsDTO.prototype, "toDate", void 0);
39
59
  __decorate([
40
60
  IsOptional(),
41
61
  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;IAoD7B,YAAY,GAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AArDA;IADC,MAAM,EAAE;;oDACS;AAIlB;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;AAIpB;IAFC,UAAU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