@autologix-engineering/shared 1.2.266 → 1.2.268

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.266",
3
+ "version": "1.2.268",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,5 +1,6 @@
1
1
  export declare class GetBookersByOrganisationDTO {
2
2
  orgContextIds: string[];
3
+ includePPIds?: string[];
3
4
  searchText?: string;
4
5
  skip?: number;
5
6
  take?: number;
@@ -24,6 +24,24 @@ __decorate([
24
24
  ArrayMinSize(1, { message: 'At least one organisation ID is required' }),
25
25
  __metadata("design:type", Array)
26
26
  ], GetBookersByOrganisationDTO.prototype, "orgContextIds", void 0);
27
+ __decorate([
28
+ IsOptional(),
29
+ Transform((value) => {
30
+ if (value == null)
31
+ return undefined;
32
+ if (Array.isArray(value))
33
+ return value;
34
+ if (typeof value === 'string')
35
+ return value
36
+ .split(',')
37
+ .map((s) => s.trim())
38
+ .filter(Boolean);
39
+ return undefined;
40
+ }),
41
+ IsArray(),
42
+ IsUUID('4', { each: true }),
43
+ __metadata("design:type", Array)
44
+ ], GetBookersByOrganisationDTO.prototype, "includePPIds", void 0);
27
45
  __decorate([
28
46
  IsOptional(),
29
47
  IsString(),
@@ -1 +1 @@
1
- {"version":3,"file":"get.bookers.by.organisation.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.bookers.by.organisation.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,2BAA2B;IA+BvC,YAAY,GAA0C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApBA;IAbC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;QACpB,IAAI,KAAK,IAAI,IAAI;YAAE,OAAO,EAAE,CAAC;QAC7B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QACvC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAC5B,OAAO,KAAK;iBACV,KAAK,CAAC,GAAG,CAAC;iBACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;iBACpB,MAAM,CAAC,OAAO,CAAC,CAAC;QACnB,OAAO,EAAE,CAAC;IACX,CAAC,CAAC;IACD,OAAO,EAAE;IACT,MAAM,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC3B,YAAY,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,0CAA0C,EAAE,CAAC;;kEACjD;AAIxB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACS;AAKpB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;yDACJ;AAMd;IAJC,UAAU,EAAE;IACZ,SAAS,CAAC,MAAM,CAAC;IACjB,QAAQ,EAAE;IACV,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;;yDACpC"}
1
+ {"version":3,"file":"get.bookers.by.organisation.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.bookers.by.organisation.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB,M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;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACS;AAKpB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;yDACJ;AAMd;IAJC,UAAU,EAAE;IACZ,SAAS,CAAC,MAAM,CAAC;IACjB,QAAQ,EAAE;IACV,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;;yDACpC"}
@@ -4,5 +4,9 @@ export declare class ProcessBusinessAssociatePayoutUploadDTO {
4
4
  bookingId?: string;
5
5
  startDate?: string;
6
6
  endDate?: string;
7
+ /** TimePeriod the upload belongs to. The controller resolves this to
8
+ * actual StartDate / EndDate so the expired-contract filter uses the
9
+ * same window as the template generator and calculator. */
10
+ timePeriodId?: string;
7
11
  constructor(obj?: Partial<ProcessBusinessAssociatePayoutUploadDTO>);
8
12
  }
@@ -28,4 +28,9 @@ __decorate([
28
28
  IsString(),
29
29
  __metadata("design:type", String)
30
30
  ], ProcessBusinessAssociatePayoutUploadDTO.prototype, "endDate", void 0);
31
+ __decorate([
32
+ IsOptional(),
33
+ IsString(),
34
+ __metadata("design:type", String)
35
+ ], ProcessBusinessAssociatePayoutUploadDTO.prototype, "timePeriodId", void 0);
31
36
  //# sourceMappingURL=process.business.associate.payout.upload.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"process.business.associate.payout.upload.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/process.business.associate.payout.upload.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,OAAO,uCAAuC;IAmBnD,YAAY,GAAsD;QACjE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApBA;IADC,QAAQ,EAAE;;uEACI;AAGf;IADC,QAAQ,EAAE;;0EACO;AAIlB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0EACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0EACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACM"}
1
+ {"version":3,"file":"process.business.associate.payout.upload.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/process.business.associate.payout.upload.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,OAAO,uCAAuC;IA0BnD,YAAY,GAAsD;QACjE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA3BA;IADC,QAAQ,EAAE;;uEACI;AAGf;IADC,QAAQ,EAAE;;0EACO;AAIlB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0EACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0EACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACM;AAOjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6EACW"}