@autologix-engineering/shared 1.2.385 → 1.2.386

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.d.ts +4 -1
  3. package/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.js.map +1 -1
  4. package/src/lib/data-transfer-objects/src/index.d.ts +1 -0
  5. package/src/lib/data-transfer-objects/src/index.js +1 -0
  6. package/src/lib/data-transfer-objects/src/index.js.map +1 -1
  7. package/src/lib/data-transfer-objects/src/ltr.direct.monthly.summary.dto.d.ts +50 -0
  8. package/src/lib/data-transfer-objects/src/ltr.direct.monthly.summary.dto.js +166 -0
  9. package/src/lib/data-transfer-objects/src/ltr.direct.monthly.summary.dto.js.map +1 -0
  10. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.d.ts +29 -0
  11. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.js +11 -1
  12. package/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.js.map +1 -1
  13. package/src/lib/enums/src/ltr.payout.enum.d.ts +23 -5
  14. package/src/lib/enums/src/ltr.payout.enum.js +27 -5
  15. package/src/lib/enums/src/ltr.payout.enum.js.map +1 -1
  16. package/src/lib/models/src/client.persona.activity.log.model.d.ts +10 -1
  17. package/src/lib/models/src/client.persona.activity.log.model.js +6 -0
  18. package/src/lib/models/src/client.persona.activity.log.model.js.map +1 -1
  19. package/src/lib/models/src/ltr.payout.model.d.ts +22 -0
  20. package/src/lib/models/src/ltr.payout.model.js +20 -0
  21. package/src/lib/models/src/ltr.payout.model.js.map +1 -1
  22. package/src/lib/models/src/ltr.payout.row.group.model.d.ts +29 -0
  23. package/src/lib/models/src/ltr.payout.row.group.model.js +4 -0
  24. package/src/lib/models/src/ltr.payout.row.group.model.js.map +1 -1
  25. package/src/lib/utilities/src/ba.contract.rm.refund.d.ts +59 -0
  26. package/src/lib/utilities/src/ba.contract.rm.refund.js +85 -0
  27. package/src/lib/utilities/src/ba.contract.rm.refund.js.map +1 -0
  28. package/src/lib/utilities/src/ba.payout.contract.selection.d.ts +79 -0
  29. package/src/lib/utilities/src/ba.payout.contract.selection.js +137 -0
  30. package/src/lib/utilities/src/ba.payout.contract.selection.js.map +1 -0
  31. package/src/lib/utilities/src/index.d.ts +2 -0
  32. package/src/lib/utilities/src/index.js +2 -0
  33. package/src/lib/utilities/src/index.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autologix-engineering/shared",
3
- "version": "1.2.385",
3
+ "version": "1.2.386",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -5,7 +5,10 @@ export declare class UpdateContractTermsDTO {
5
5
  startDate?: string;
6
6
  rentalType?: TermRentalType;
7
7
  minLockPeriod?: number;
8
- fileId?: string;
8
+ /**
9
+ * Absent keeps the contract's current file; null removes it.
10
+ */
11
+ fileId?: string | null;
9
12
  byPersonaId: string;
10
13
  contextId?: string;
11
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"update.contract.terms.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACN,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EAEV,MAAM,EACN,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,sBAAsB;IAyClC,YAAY,IAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;AA1CA;IADC,MAAM,EAAE;;+DACe;AAGxB;IADC,YAAY,EAAE;;uDACC;AAIhB;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;yDACM;AAInB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;0DACK;AAI5B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACY;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;sDACO;AAGhB;IADC,MAAM,EAAE;;2DACW;AAIpB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;yDACU;AAWnB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;uEACsB"}
1
+ {"version":3,"file":"update.contract.terms.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/command/update.contract.terms.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACN,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EAEV,MAAM,EACN,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,sBAAsB;IA4ClC,YAAY,IAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;AA7CA;IADC,MAAM,EAAE;;+DACe;AAGxB;IADC,YAAY,EAAE;;uDACC;AAIhB;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;yDACM;AAInB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;0DACK;AAI5B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACY;AAOvB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;sDACc;AAGvB;IADC,MAAM,EAAE;;2DACW;AAIpB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;yDACU;AAWnB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;uEACsB"}
@@ -468,6 +468,7 @@ export * from './get.fuel.surcharge.adjustment.dto';
468
468
  export * from './get.ltr.driver.replacement.dto';
469
469
  export * from './get.ltr.vehicle.replacement.dto';
470
470
  export * from './get.avis.reservation.num.dto';
471
+ export * from './ltr.direct.monthly.summary.dto';
471
472
  export * from './submit.ltr.payout.rows.dto';
472
473
  export * from './calculate.non.pool.ltr.invoice.data.dto';
473
474
  export * from './get.request.vhl.serial.nos.dto';
@@ -468,6 +468,7 @@ export * from './get.fuel.surcharge.adjustment.dto';
468
468
  export * from './get.ltr.driver.replacement.dto';
469
469
  export * from './get.ltr.vehicle.replacement.dto';
470
470
  export * from './get.avis.reservation.num.dto';
471
+ export * from './ltr.direct.monthly.summary.dto';
471
472
  export * from './submit.ltr.payout.rows.dto';
472
473
  export * from './calculate.non.pool.ltr.invoice.data.dto';
473
474
  export * from './get.request.vhl.serial.nos.dto';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;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c,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1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4CAA4C,CAAC;AAC3D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * One month of LTR usage typed directly, with no day-wise detail behind it.
3
+ * (AD-3279, Direct Monthly Closure)
4
+ *
5
+ * Carried on SubmitLTRPayoutRowsDTO rather than sent to a command of its own,
6
+ * because everything after the row is built is identical to the existing path:
7
+ * the same aggregation into invoice line items, the same `submitData` preview /
8
+ * commit split, the same save → invoice → finalise tail. A second command would
9
+ * have to duplicate all of it to change one step.
10
+ *
11
+ * The client sends figures, never charges. Pricing stays on the server, where
12
+ * the contract is — a browser that could name its own Basic Charge would be a
13
+ * billing hole, and the operator is being trusted with the usage, not with the
14
+ * rates.
15
+ *
16
+ * Every numeric field is optional and every one of them means zero when absent.
17
+ * That is the recorded reading of "not to be pre-filled with any value"
18
+ * (comment 80449): an untouched field bills nothing and is never filled in by
19
+ * re-deriving it from the times.
20
+ */
21
+ export declare class LTRDirectMonthlySummaryDTO {
22
+ garageStartDateTime?: string;
23
+ dutyStartDateTime: string;
24
+ dutyEndDateTime: string;
25
+ garageReturnDateTime?: string;
26
+ garageStartKM?: number;
27
+ startKM?: number;
28
+ endKM?: number;
29
+ garageReturnKM?: number;
30
+ weeklyOffCount?: number;
31
+ nightConveyanceCount?: number;
32
+ dayConveyanceCount?: number;
33
+ nonStandardLocationDayConveyanceCount?: number;
34
+ publicHolidayCount?: number;
35
+ outstationDayCount?: number;
36
+ outstationNightCount?: number;
37
+ /** Priced at `ExtraCharge.otExtraHrChrg`. */
38
+ overtimeHours?: number;
39
+ /** Priced at `PackageDetail.ratePerExtraHr`. A separate quantity. */
40
+ extraHours?: number;
41
+ toll?: number;
42
+ parking?: number;
43
+ interState?: number;
44
+ fastagDebit?: number;
45
+ others?: number;
46
+ fuelAmount?: number;
47
+ /** Reference only; never reaches the bill. (§9.2) */
48
+ kmAsPerGPS?: number;
49
+ constructor(obj?: Partial<LTRDirectMonthlySummaryDTO>);
50
+ }
@@ -0,0 +1,166 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { IsDateString, IsNumber, IsOptional, Min, } from 'class-validator';
3
+ /**
4
+ * One month of LTR usage typed directly, with no day-wise detail behind it.
5
+ * (AD-3279, Direct Monthly Closure)
6
+ *
7
+ * Carried on SubmitLTRPayoutRowsDTO rather than sent to a command of its own,
8
+ * because everything after the row is built is identical to the existing path:
9
+ * the same aggregation into invoice line items, the same `submitData` preview /
10
+ * commit split, the same save → invoice → finalise tail. A second command would
11
+ * have to duplicate all of it to change one step.
12
+ *
13
+ * The client sends figures, never charges. Pricing stays on the server, where
14
+ * the contract is — a browser that could name its own Basic Charge would be a
15
+ * billing hole, and the operator is being trusted with the usage, not with the
16
+ * rates.
17
+ *
18
+ * Every numeric field is optional and every one of them means zero when absent.
19
+ * That is the recorded reading of "not to be pre-filled with any value"
20
+ * (comment 80449): an untouched field bills nothing and is never filled in by
21
+ * re-deriving it from the times.
22
+ */
23
+ export class LTRDirectMonthlySummaryDTO {
24
+ constructor(obj) {
25
+ Object.assign(this, obj);
26
+ }
27
+ }
28
+ __decorate([
29
+ IsOptional(),
30
+ IsDateString(),
31
+ __metadata("design:type", String)
32
+ ], LTRDirectMonthlySummaryDTO.prototype, "garageStartDateTime", void 0);
33
+ __decorate([
34
+ IsDateString(),
35
+ __metadata("design:type", String)
36
+ ], LTRDirectMonthlySummaryDTO.prototype, "dutyStartDateTime", void 0);
37
+ __decorate([
38
+ IsDateString(),
39
+ __metadata("design:type", String)
40
+ ], LTRDirectMonthlySummaryDTO.prototype, "dutyEndDateTime", void 0);
41
+ __decorate([
42
+ IsOptional(),
43
+ IsDateString(),
44
+ __metadata("design:type", String)
45
+ ], LTRDirectMonthlySummaryDTO.prototype, "garageReturnDateTime", void 0);
46
+ __decorate([
47
+ IsOptional(),
48
+ IsNumber(),
49
+ Min(0),
50
+ __metadata("design:type", Number)
51
+ ], LTRDirectMonthlySummaryDTO.prototype, "garageStartKM", void 0);
52
+ __decorate([
53
+ IsOptional(),
54
+ IsNumber(),
55
+ Min(0),
56
+ __metadata("design:type", Number)
57
+ ], LTRDirectMonthlySummaryDTO.prototype, "startKM", void 0);
58
+ __decorate([
59
+ IsOptional(),
60
+ IsNumber(),
61
+ Min(0),
62
+ __metadata("design:type", Number)
63
+ ], LTRDirectMonthlySummaryDTO.prototype, "endKM", void 0);
64
+ __decorate([
65
+ IsOptional(),
66
+ IsNumber(),
67
+ Min(0),
68
+ __metadata("design:type", Number)
69
+ ], LTRDirectMonthlySummaryDTO.prototype, "garageReturnKM", void 0);
70
+ __decorate([
71
+ IsOptional(),
72
+ IsNumber(),
73
+ Min(0),
74
+ __metadata("design:type", Number)
75
+ ], LTRDirectMonthlySummaryDTO.prototype, "weeklyOffCount", void 0);
76
+ __decorate([
77
+ IsOptional(),
78
+ IsNumber(),
79
+ Min(0),
80
+ __metadata("design:type", Number)
81
+ ], LTRDirectMonthlySummaryDTO.prototype, "nightConveyanceCount", void 0);
82
+ __decorate([
83
+ IsOptional(),
84
+ IsNumber(),
85
+ Min(0),
86
+ __metadata("design:type", Number)
87
+ ], LTRDirectMonthlySummaryDTO.prototype, "dayConveyanceCount", void 0);
88
+ __decorate([
89
+ IsOptional(),
90
+ IsNumber(),
91
+ Min(0),
92
+ __metadata("design:type", Number)
93
+ ], LTRDirectMonthlySummaryDTO.prototype, "nonStandardLocationDayConveyanceCount", void 0);
94
+ __decorate([
95
+ IsOptional(),
96
+ IsNumber(),
97
+ Min(0),
98
+ __metadata("design:type", Number)
99
+ ], LTRDirectMonthlySummaryDTO.prototype, "publicHolidayCount", void 0);
100
+ __decorate([
101
+ IsOptional(),
102
+ IsNumber(),
103
+ Min(0),
104
+ __metadata("design:type", Number)
105
+ ], LTRDirectMonthlySummaryDTO.prototype, "outstationDayCount", void 0);
106
+ __decorate([
107
+ IsOptional(),
108
+ IsNumber(),
109
+ Min(0),
110
+ __metadata("design:type", Number)
111
+ ], LTRDirectMonthlySummaryDTO.prototype, "outstationNightCount", void 0);
112
+ __decorate([
113
+ IsOptional(),
114
+ IsNumber(),
115
+ Min(0),
116
+ __metadata("design:type", Number)
117
+ ], LTRDirectMonthlySummaryDTO.prototype, "overtimeHours", void 0);
118
+ __decorate([
119
+ IsOptional(),
120
+ IsNumber(),
121
+ Min(0),
122
+ __metadata("design:type", Number)
123
+ ], LTRDirectMonthlySummaryDTO.prototype, "extraHours", void 0);
124
+ __decorate([
125
+ IsOptional(),
126
+ IsNumber(),
127
+ Min(0),
128
+ __metadata("design:type", Number)
129
+ ], LTRDirectMonthlySummaryDTO.prototype, "toll", void 0);
130
+ __decorate([
131
+ IsOptional(),
132
+ IsNumber(),
133
+ Min(0),
134
+ __metadata("design:type", Number)
135
+ ], LTRDirectMonthlySummaryDTO.prototype, "parking", void 0);
136
+ __decorate([
137
+ IsOptional(),
138
+ IsNumber(),
139
+ Min(0),
140
+ __metadata("design:type", Number)
141
+ ], LTRDirectMonthlySummaryDTO.prototype, "interState", void 0);
142
+ __decorate([
143
+ IsOptional(),
144
+ IsNumber(),
145
+ Min(0),
146
+ __metadata("design:type", Number)
147
+ ], LTRDirectMonthlySummaryDTO.prototype, "fastagDebit", void 0);
148
+ __decorate([
149
+ IsOptional(),
150
+ IsNumber(),
151
+ Min(0),
152
+ __metadata("design:type", Number)
153
+ ], LTRDirectMonthlySummaryDTO.prototype, "others", void 0);
154
+ __decorate([
155
+ IsOptional(),
156
+ IsNumber(),
157
+ Min(0),
158
+ __metadata("design:type", Number)
159
+ ], LTRDirectMonthlySummaryDTO.prototype, "fuelAmount", void 0);
160
+ __decorate([
161
+ IsOptional(),
162
+ IsNumber(),
163
+ Min(0),
164
+ __metadata("design:type", Number)
165
+ ], LTRDirectMonthlySummaryDTO.prototype, "kmAsPerGPS", void 0);
166
+ //# sourceMappingURL=ltr.direct.monthly.summary.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ltr.direct.monthly.summary.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/ltr.direct.monthly.summary.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,OAAO,0BAA0B;IAgItC,YAAY,GAAyC;QACpD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAhIA;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;uEACc;AAO7B;IADC,YAAY,EAAE;;qEACY;AAG3B;IADC,YAAY,EAAE;;mEACU;AAIzB;IAFC,UA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AC,CAAC,CAAC;;2DACU;AAKjB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;;8DACa;AAKpB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;;+DACc;AAKrB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;;0DACS;AAKhB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;;8DACa;AAMpB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,GAAG,CAAC,CAAC,CAAC;;8DACa"}
@@ -1,6 +1,21 @@
1
1
  import { LTRPayoutRow } from '@autologix/shared/models';
2
+ import { LTRDirectMonthlySummaryDTO } from './ltr.direct.monthly.summary.dto';
2
3
  export declare class SubmitLTRPayoutRowsDTO {
3
4
  contextId: string;
5
+ /**
6
+ * Empty only on the direct-entry path, where the server builds the single
7
+ * month row itself from `directEntry`. Every other caller must send rows:
8
+ * a submit with neither is a submit that would bill nothing.
9
+ *
10
+ * Note what `@ValidateIf` does here: when its condition is false
11
+ * class-validator skips **every** validator on the property, `@IsArray()`
12
+ * included — not just the one that follows. So on the direct-entry path
13
+ * this may legitimately arrive as `undefined`, and the controller
14
+ * normalises it to `[]` before anything reads its length. Deliberately NOT
15
+ * given a `= []` initialiser: that would also satisfy the `@IsNotEmpty()`
16
+ * on the day-wise path, where a submit carrying no rows must be rejected
17
+ * rather than quietly billing nothing.
18
+ */
4
19
  rows: LTRPayoutRow[];
5
20
  requestId: string;
6
21
  submitData?: boolean;
@@ -23,5 +38,19 @@ export declare class SubmitLTRPayoutRowsDTO {
23
38
  * validation to Completed, as before.
24
39
  */
25
40
  fromExcelUpload?: boolean;
41
+ /**
42
+ * The month typed as a single summary on the Direct Monthly Closure screen.
43
+ * (AD-3279)
44
+ *
45
+ * When present the controller prices this into one payout row and **ignores
46
+ * `rows` entirely**. Nothing is derived from the times and nothing is
47
+ * cross-checked against a day — there are no days. The rest of the submit is
48
+ * unchanged, which is why this rides on the existing command rather than a
49
+ * new one: same aggregation, same `submitData` preview/commit split, same
50
+ * save → invoice → finalise tail.
51
+ *
52
+ * Absent means an ordinary day-wise submit, from the webapp or an upload.
53
+ */
54
+ directEntry?: LTRDirectMonthlySummaryDTO;
26
55
  constructor(obj?: Partial<SubmitLTRPayoutRowsDTO>);
27
56
  }
@@ -1,5 +1,7 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { IsArray, IsUUID, IsNotEmpty, IsBoolean, IsOptional, IsString, } from 'class-validator';
2
+ import { Type } from 'class-transformer';
3
+ import { IsArray, IsUUID, IsNotEmpty, IsBoolean, IsObject, IsOptional, IsString, ValidateIf, ValidateNested, } from 'class-validator';
4
+ import { LTRDirectMonthlySummaryDTO } from './ltr.direct.monthly.summary.dto';
3
5
  export class SubmitLTRPayoutRowsDTO {
4
6
  constructor(obj) {
5
7
  Object.assign(this, obj);
@@ -12,6 +14,7 @@ __decorate([
12
14
  ], SubmitLTRPayoutRowsDTO.prototype, "contextId", void 0);
13
15
  __decorate([
14
16
  IsArray(),
17
+ ValidateIf((dto) => !dto.directEntry),
15
18
  IsNotEmpty(),
16
19
  __metadata("design:type", Array)
17
20
  ], SubmitLTRPayoutRowsDTO.prototype, "rows", void 0);
@@ -49,4 +52,11 @@ __decorate([
49
52
  IsBoolean(),
50
53
  __metadata("design:type", Boolean)
51
54
  ], SubmitLTRPayoutRowsDTO.prototype, "fromExcelUpload", void 0);
55
+ __decorate([
56
+ IsOptional(),
57
+ IsObject(),
58
+ ValidateNested(),
59
+ Type(() => LTRDirectMonthlySummaryDTO),
60
+ __metadata("design:type", LTRDirectMonthlySummaryDTO)
61
+ ], SubmitLTRPayoutRowsDTO.prototype, "directEntry", void 0);
52
62
  //# sourceMappingURL=submit.ltr.payout.rows.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit.ltr.payout.rows.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.ts"],"names":[],"mappings":";AACA,OAAO,EACN,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,QAAQ,GACR,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,sBAAsB;IAkDlC,YAAY,GAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAlDA;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;yDACK;AAIlB;IAFC,OAAO,EAAE;IACT,UAAU,EAAE;;oDACQ;AAGrB;IADC,MAAM,EAAE;;yDACS;AAIlB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;0DACS;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACK;AAIlB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;oEACmB;AAI/B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+DACc;AAkB1B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+DACc"}
1
+ {"version":3,"file":"submit.ltr.payout.rows.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/submit.ltr.payout.rows.dto.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,UAAU,EACV,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,OAAO,sBAAsB;IAyFlC,YAAY,GAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApFA;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;yDACM;AAmBnB;IAHC,OAAO,EAAE;IACT,UAAU,CAAC,CAAC,GAA2B,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC;IAC7D,UAAU,EAAE;;oDACS;AAGtB;IADC,MAAM,EAAE;;yDACU;AAInB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;0DACS;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACK;AAIlB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;oEACmB;AAI/B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+DACc;AAkB1B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+DACc;AAmB1B;IAJC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;8BACzB,0BAA0B;2DAAC"}
@@ -54,13 +54,31 @@ export declare enum LTRPayoutRowSource {
54
54
  Upload = "upload"
55
55
  }
56
56
  /**
57
- * Which date the driver app's entry list is ordered by.
57
+ * What each source is called on screen — in the booking's activity log, and
58
+ * anywhere else a source is shown to a human rather than branched on.
58
59
  *
59
- * Both are already derived per entry from its rows: `StartDate` is the
60
- * earliest duty or garage start across them, `EndDate` the latest end. They
61
- * are not interchangeable once entries span several days — a 27th-29th entry
62
- * sorts above a 28th-only one by start, and below it by end.
60
+ * Kept beside the enum deliberately. The activity log's columns are plain
61
+ * `varchar`, so a label written at the call site is free text that nothing
62
+ * checks; holding the map here is what stops the stored value and the word the
63
+ * operator reads from drifting apart.
63
64
  */
65
+ export declare const LTR_PAYOUT_ROW_SOURCE_LABELS: Record<LTRPayoutRowSource, string>;
66
+ /**
67
+ * How Direct Monthly Closure names itself in the activity log. (AD-3279)
68
+ *
69
+ * Deliberately NOT a fourth `LTRPayoutRowSource`. That enum is the `source`
70
+ * column on LTRPayoutRowGroup, and direct entry writes no row group — for the
71
+ * same reason the webapp and upload paths write none: a group is a driver's
72
+ * entry, listed and editable and signable in the app, and a month someone typed
73
+ * is none of those. With no column to hold it, a fourth member would buy
74
+ * nothing and cost an `ALTER TYPE "LTRPayoutRowGroup_source_enum" ADD VALUE`
75
+ * run ahead of the deploy, because that column carries no `enumName` and so
76
+ * Postgres named the type itself. The distinction direct entry actually needs —
77
+ * "this month was closed without day-wise detail" — is recorded where it can be
78
+ * read back: an activity-log row on the booking, which survives the payout
79
+ * being overwritten.
80
+ */
81
+ export declare const LTR_DIRECT_ENTRY_SOURCE_LABEL = "Direct Entry";
64
82
  export declare enum LTRDriverPayoutSortKey {
65
83
  StartDate = "startDate",
66
84
  EndDate = "endDate"
@@ -59,13 +59,35 @@ export var LTRPayoutRowSource;
59
59
  LTRPayoutRowSource["Upload"] = "upload";
60
60
  })(LTRPayoutRowSource || (LTRPayoutRowSource = {}));
61
61
  /**
62
- * Which date the driver app's entry list is ordered by.
62
+ * What each source is called on screen — in the booking's activity log, and
63
+ * anywhere else a source is shown to a human rather than branched on.
63
64
  *
64
- * Both are already derived per entry from its rows: `StartDate` is the
65
- * earliest duty or garage start across them, `EndDate` the latest end. They
66
- * are not interchangeable once entries span several days — a 27th-29th entry
67
- * sorts above a 28th-only one by start, and below it by end.
65
+ * Kept beside the enum deliberately. The activity log's columns are plain
66
+ * `varchar`, so a label written at the call site is free text that nothing
67
+ * checks; holding the map here is what stops the stored value and the word the
68
+ * operator reads from drifting apart.
68
69
  */
70
+ export const LTR_PAYOUT_ROW_SOURCE_LABELS = {
71
+ [LTRPayoutRowSource.DriverApp]: 'LTR App',
72
+ [LTRPayoutRowSource.WebApp]: 'Web App',
73
+ [LTRPayoutRowSource.Upload]: 'Log Upload',
74
+ };
75
+ /**
76
+ * How Direct Monthly Closure names itself in the activity log. (AD-3279)
77
+ *
78
+ * Deliberately NOT a fourth `LTRPayoutRowSource`. That enum is the `source`
79
+ * column on LTRPayoutRowGroup, and direct entry writes no row group — for the
80
+ * same reason the webapp and upload paths write none: a group is a driver's
81
+ * entry, listed and editable and signable in the app, and a month someone typed
82
+ * is none of those. With no column to hold it, a fourth member would buy
83
+ * nothing and cost an `ALTER TYPE "LTRPayoutRowGroup_source_enum" ADD VALUE`
84
+ * run ahead of the deploy, because that column carries no `enumName` and so
85
+ * Postgres named the type itself. The distinction direct entry actually needs —
86
+ * "this month was closed without day-wise detail" — is recorded where it can be
87
+ * read back: an activity-log row on the booking, which survives the payout
88
+ * being overwritten.
89
+ */
90
+ export const LTR_DIRECT_ENTRY_SOURCE_LABEL = 'Direct Entry';
69
91
  export var LTRDriverPayoutSortKey;
70
92
  (function (LTRDriverPayoutSortKey) {
71
93
  LTRDriverPayoutSortKey["StartDate"] = "startDate";
@@ -1 +1 @@
1
- {"version":3,"file":"ltr.payout.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/ltr.payout.enum.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;AAClB,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B;AAED,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IACjC,qCAAW,CAAA;IACX,iDAAuB,CAAA;IACvB,uCAAa,CAAA;IACb,uCAAa,CAAA;AACd,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC;AAED,gEAAgE;AAChE,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,yDAAgC,CAAA;IAChC,gDAAuB,CAAA;AACxB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,wDAA+B,CAAA;IAC/B,0DAAiC,CAAA;AAClC,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,2EAA2E;IAC3E,6CAAuB,CAAA;IACvB,mDAAmD;IACnD,uCAAiB,CAAA;IACjB,0CAA0C;IAC1C,uCAAiB,CAAA;AAClB,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,iDAAuB,CAAA;IACvB,6CAAmB,CAAA;AACpB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC"}
1
+ {"version":3,"file":"ltr.payout.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/ltr.payout.enum.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IAC1B,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;AAClB,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B;AAED,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IACjC,qCAAW,CAAA;IACX,iDAAuB,CAAA;IACvB,uCAAa,CAAA;IACb,uCAAa,CAAA;AACd,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC;AAED,gEAAgE;AAChE,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,yDAAgC,CAAA;IAChC,gDAAuB,CAAA;AACxB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,wDAA+B,CAAA;IAC/B,0DAAiC,CAAA;AAClC,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,2EAA2E;IAC3E,6CAAuB,CAAA;IACvB,mDAAmD;IACnD,uCAAiB,CAAA;IACjB,0CAA0C;IAC1C,uCAAiB,CAAA;AAClB,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,4BAA4B,GACxC;IACC,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE,SAAS;IACzC,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,SAAS;IACtC,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,YAAY;CACzC,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,cAAc,CAAC;AAE5D,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,iDAAuB,CAAA;IACvB,6CAAmB,CAAA;AACpB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC"}
@@ -1,4 +1,5 @@
1
1
  import { IClientPersona } from './client.persona.model';
2
+ import { IFile } from './file.model';
2
3
  import { TypedModel } from './typed.model';
3
4
  export declare enum ClientPersonaActivityLogField {
4
5
  LogId = "logId",
@@ -14,7 +15,11 @@ export declare enum ClientPersonaActivityLogField {
14
15
  EditedByEmail = "edEmail",
15
16
  EffectiveDate = "effectiveDate",
16
17
  RunCron = "runCron",
17
- UpdatedAt = "updatedAt"
18
+ UpdatedAt = "updatedAt",
19
+ OldFile = "oldFile",
20
+ OldFileId = "oldFileId",
21
+ NewFile = "newFile",
22
+ NewFileId = "newFileId"
18
23
  }
19
24
  export interface IClientPersonaActivityLog extends TypedModel {
20
25
  [ClientPersonaActivityLogField.LogId]: string;
@@ -31,4 +36,8 @@ export interface IClientPersonaActivityLog extends TypedModel {
31
36
  [ClientPersonaActivityLogField.EffectiveDate]: Date;
32
37
  [ClientPersonaActivityLogField.UpdatedAt]: Date;
33
38
  [ClientPersonaActivityLogField.RunCron]: boolean;
39
+ [ClientPersonaActivityLogField.OldFile]?: IFile | null;
40
+ [ClientPersonaActivityLogField.OldFileId]?: string | null;
41
+ [ClientPersonaActivityLogField.NewFile]?: IFile | null;
42
+ [ClientPersonaActivityLogField.NewFileId]?: string | null;
34
43
  }
@@ -14,5 +14,11 @@ export var ClientPersonaActivityLogField;
14
14
  ClientPersonaActivityLogField["EffectiveDate"] = "effectiveDate";
15
15
  ClientPersonaActivityLogField["RunCron"] = "runCron";
16
16
  ClientPersonaActivityLogField["UpdatedAt"] = "updatedAt";
17
+ // The actual files behind a file change, so the log can open them rather
18
+ // than only name them. Null on entries that involve no file.
19
+ ClientPersonaActivityLogField["OldFile"] = "oldFile";
20
+ ClientPersonaActivityLogField["OldFileId"] = "oldFileId";
21
+ ClientPersonaActivityLogField["NewFile"] = "newFile";
22
+ ClientPersonaActivityLogField["NewFileId"] = "newFileId";
17
23
  })(ClientPersonaActivityLogField || (ClientPersonaActivityLogField = {}));
18
24
  //# sourceMappingURL=client.persona.activity.log.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.persona.activity.log.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/client.persona.activity.log.model.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,6BAeX;AAfD,WAAY,6BAA6B;IACxC,gDAAe,CAAA;IACf,6DAA4B,CAAA;IAC5B,iEAAgC,CAAA;IAChC,8CAAa,CAAA;IACb,gDAAe,CAAA;IACf,iDAAgB,CAAA;IAChB,iDAAgB,CAAA;IAChB,sDAAqB,CAAA;IACrB,kDAAiB,CAAA;IACjB,0DAAyB,CAAA;IACzB,0DAAyB,CAAA;IACzB,gEAA+B,CAAA;IAC/B,oDAAmB,CAAA;IACnB,wDAAuB,CAAA;AACxB,CAAC,EAfW,6BAA6B,KAA7B,6BAA6B,QAexC"}
1
+ {"version":3,"file":"client.persona.activity.log.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/client.persona.activity.log.model.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,6BAqBX;AArBD,WAAY,6BAA6B;IACxC,gDAAe,CAAA;IACf,6DAA4B,CAAA;IAC5B,iEAAgC,CAAA;IAChC,8CAAa,CAAA;IACb,gDAAe,CAAA;IACf,iDAAgB,CAAA;IAChB,iDAAgB,CAAA;IAChB,sDAAqB,CAAA;IACrB,kDAAiB,CAAA;IACjB,0DAAyB,CAAA;IACzB,0DAAyB,CAAA;IACzB,gEAA+B,CAAA;IAC/B,oDAAmB,CAAA;IACnB,wDAAuB,CAAA;IACvB,yEAAyE;IACzE,6DAA6D;IAC7D,oDAAmB,CAAA;IACnB,wDAAuB,CAAA;IACvB,oDAAmB,CAAA;IACnB,wDAAuB,CAAA;AACxB,CAAC,EArBW,6BAA6B,KAA7B,6BAA6B,QAqBxC"}
@@ -76,6 +76,15 @@ export declare enum LTRPayoutRowField {
76
76
  HolidayCount = "Holiday Count",
77
77
  HolidayCharges = "Holiday Charges",
78
78
  WeeklyOff = "Weekly Off",
79
+ /**
80
+ * How many weekly offs the month is billed for.
81
+ *
82
+ * Only ever set by Direct Monthly Closure, where the whole month is one row
83
+ * and the operator types the count (AD-3279). On the day-wise paths a row is
84
+ * one date, so `WeeklyOff` being 'Yes' already means exactly one and this
85
+ * stays absent.
86
+ */
87
+ WeeklyOffCount = "Weekly Off Count",
79
88
  WeeklyOffCharges = "Weekly Off Charges",
80
89
  OutstationDay = "Outstation Day",
81
90
  OutstationDayCount = "Outstation Day Count",
@@ -104,6 +113,17 @@ export declare enum LTRPayoutRowField {
104
113
  GarageStartKM = "Garage Start KM",
105
114
  GarageReturnKM = "Garage Return KM",
106
115
  ExtraHours = "extraHrs",
116
+ /**
117
+ * Billable overtime hours, priced at `ExtraCharge.otExtraHrChrg`.
118
+ *
119
+ * Distinct from `ExtraHours`, which is priced at
120
+ * `PackageDetail.ratePerExtraHr`. On the day-wise paths one derived figure
121
+ * feeds both rates, so only `ExtraHours` is stored and this stays absent.
122
+ * Direct Monthly Closure takes the two as separate inputs, and a single
123
+ * field could not carry both without one of the two lines being wrong
124
+ * (AD-3279, comment 80450 §1c).
125
+ */
126
+ OvertimeHours = "overtimeHrs",
107
127
  StartKMImage = "Start KM Image",
108
128
  EndKMImage = "End KM Image",
109
129
  GarageStartKMImage = "Garage Start KM Image",
@@ -148,6 +168,7 @@ export interface LTRPayoutRow {
148
168
  [LTRPayoutRowField.HolidayCount]?: number;
149
169
  [LTRPayoutRowField.HolidayCharges]?: number;
150
170
  [LTRPayoutRowField.WeeklyOff]?: string | null;
171
+ [LTRPayoutRowField.WeeklyOffCount]?: number;
151
172
  [LTRPayoutRowField.WeeklyOffCharges]?: number;
152
173
  [LTRPayoutRowField.OutstationDay]?: string | null;
153
174
  [LTRPayoutRowField.OutstationDayCount]?: number;
@@ -180,5 +201,6 @@ export interface LTRPayoutRow {
180
201
  [LTRPayoutRowField.GarageReturnKMImage]?: IFile | null;
181
202
  [LTRPayoutRowField.GroupId]?: string;
182
203
  [LTRPayoutRowField.ExtraHours]: number;
204
+ [LTRPayoutRowField.OvertimeHours]?: number;
183
205
  [key: string]: any;
184
206
  }
@@ -43,6 +43,15 @@ export var LTRPayoutRowField;
43
43
  LTRPayoutRowField["HolidayCount"] = "Holiday Count";
44
44
  LTRPayoutRowField["HolidayCharges"] = "Holiday Charges";
45
45
  LTRPayoutRowField["WeeklyOff"] = "Weekly Off";
46
+ /**
47
+ * How many weekly offs the month is billed for.
48
+ *
49
+ * Only ever set by Direct Monthly Closure, where the whole month is one row
50
+ * and the operator types the count (AD-3279). On the day-wise paths a row is
51
+ * one date, so `WeeklyOff` being 'Yes' already means exactly one and this
52
+ * stays absent.
53
+ */
54
+ LTRPayoutRowField["WeeklyOffCount"] = "Weekly Off Count";
46
55
  LTRPayoutRowField["WeeklyOffCharges"] = "Weekly Off Charges";
47
56
  LTRPayoutRowField["OutstationDay"] = "Outstation Day";
48
57
  LTRPayoutRowField["OutstationDayCount"] = "Outstation Day Count";
@@ -71,6 +80,17 @@ export var LTRPayoutRowField;
71
80
  LTRPayoutRowField["GarageStartKM"] = "Garage Start KM";
72
81
  LTRPayoutRowField["GarageReturnKM"] = "Garage Return KM";
73
82
  LTRPayoutRowField["ExtraHours"] = "extraHrs";
83
+ /**
84
+ * Billable overtime hours, priced at `ExtraCharge.otExtraHrChrg`.
85
+ *
86
+ * Distinct from `ExtraHours`, which is priced at
87
+ * `PackageDetail.ratePerExtraHr`. On the day-wise paths one derived figure
88
+ * feeds both rates, so only `ExtraHours` is stored and this stays absent.
89
+ * Direct Monthly Closure takes the two as separate inputs, and a single
90
+ * field could not carry both without one of the two lines being wrong
91
+ * (AD-3279, comment 80450 §1c).
92
+ */
93
+ LTRPayoutRowField["OvertimeHours"] = "overtimeHrs";
74
94
  // Odometer photos. Kept as separate fields.
75
95
  LTRPayoutRowField["StartKMImage"] = "Start KM Image";
76
96
  LTRPayoutRowField["EndKMImage"] = "End KM Image";
@@ -1 +1 @@
1
- {"version":3,"file":"ltr.payout.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.model.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,cAgBX;AAhBD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,mDAAiC,CAAA;IACjC,mCAAiB,CAAA;IACjB,iDAA+B,CAAA;IAC/B,uDAAqC,CAAA;IACrC,yDAAuC,CAAA;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;IAC5C,oDAA+B,CAAA;IAC/B,gDAA2B,CAAA;IAC3B,iEAA4C,CAAA;IAC5C,mEAA8C,CAAA;IAC9C;;;;;;;;;;OAUG;IACH,wCAAmB,CAAA;AACpB,CAAC,EAvEW,iBAAiB,KAAjB,iBAAiB,QAuE5B"}
1
+ {"version":3,"file":"ltr.payout.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.model.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,cAgBX;AAhBD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,mDAAiC,CAAA;IACjC,mCAAiB,CAAA;IACjB,iDAA+B,CAAA;IAC/B,uDAAqC,CAAA;IACrC,yDAAuC,CAAA;IACvC,+CAA6B,CAAA;AAC9B,CAAC,EAhBW,cAAc,KAAd,cAAc,QAgBzB;AAsCD,MAAM,CAAN,IAAY,iBA2FX;AA3FD,WAAY,iBAAiB;IAC5B,oCAAe,CAAA;IACf,iEAA4C,CAAA;IAC5C,6DAAwC,CAAA;IACxC,iDAA4B,CAAA;IAC5B,yCAAoB,CAAA;IACpB,qCAAgB,CAAA;IAChB,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,+CAA0B,CAAA;IAC1B,wCAAmB,CAAA;IACnB,2CAAsB,CAAA;IACtB,iDAA4B,CAAA;IAC5B,yDAAoC,CAAA;IACpC,iDAA4B,CAAA;IAC5B,0EAAqD,CAAA;IACrD,uEAAkD,CAAA;IAClD,2CAAsB,CAAA;IACtB,8FAAyE,CAAA;IACzE,6GAAwF,CAAA;IACxF,qDAAgC,CAAA;IAChC,mDAA8B,CAAA;IAC9B,uDAAkC,CAAA;IAClC,6CAAwB,CAAA;IACxB;;;;;;;OAOG;IACH,wDAAmC,CAAA;IACnC,4DAAuC,CAAA;IACvC,qDAAgC,CAAA;IAChC,gEAA2C,CAAA;IAC3C,oEAA+C,CAAA;IAC/C,yDAAoC,CAAA;IACpC,oEAA+C,CAAA;IAC/C,wEAAmD,CAAA;IACnD,+CAA0B,CAAA;IAC1B,iDAA4B,CAAA;IAC5B,uDAAkC,CAAA;IAClC,yDAAoC,CAAA;IACpC,qDAAgC,CAAA;IAChC,yDAAoC,CAAA;IACpC,sDAAiC,CAAA;IACjC,iDAA4B,CAAA;IAC5B,qEAAgD,CAAA;IAChD,uEAAkD,CAAA;IAClD,0DAAqC,CAAA;IACrC,0DAAqC,CAAA;IACrC,sDAAiC,CAAA;IACjC,sDAAiC,CAAA;IACjC,kDAA6B,CAAA;IAC7B,kDAA6B,CAAA;IAC7B,4DAAuC,CAAA;IACvC,4DAAuC,CAAA;IACvC,sDAAiC,CAAA;IACjC,wDAAmC,CAAA;IACnC,4CAAuB,CAAA;IACvB;;;;;;;;;OASG;IACH,kDAA6B,CAAA;IAC7B,4CAA4C;IAC5C,oDAA+B,CAAA;IAC/B,gDAA2B,CAAA;IAC3B,iEAA4C,CAAA;IAC5C,mEAA8C,CAAA;IAC9C;;;;;;;;;;OAUG;IACH,wCAAmB,CAAA;AACpB,CAAC,EA3FW,iBAAiB,KAAjB,iBAAiB,QA2F5B"}
@@ -22,6 +22,10 @@ export declare enum LTRPayoutRowGroupField {
22
22
  SignedOffAt = "signedOffAt",
23
23
  SignOffMethod = "signOffMethod",
24
24
  SignatureImageUrl = "signatureImageUrl",
25
+ /** When a submitted payout superseded this entry. Null while it is live. */
26
+ SupersededAt = "supersededAt",
27
+ /** Who submitted the payout that superseded it. */
28
+ SupersededByRegisteredUserId = "supersededByRegisteredUserId",
25
29
  CreatedAt = "createdAt",
26
30
  UpdatedAt = "updatedAt"
27
31
  }
@@ -68,6 +72,31 @@ export interface ILTRPayoutRowGroup {
68
72
  [LTRPayoutRowGroupField.SignOffMethod]?: LTRPayoutSignOffMethod;
69
73
  /** Set only when the daily sign-off captured a signature. */
70
74
  [LTRPayoutRowGroupField.SignatureImageUrl]?: string;
75
+ /**
76
+ * Set when a payout submitted for the booking superseded this entry.
77
+ *
78
+ * A submitted payout replaces whatever the driver logged, so from that
79
+ * moment the entry is no longer part of the booking's record: it stops
80
+ * counting toward the driver's month, stops being listed in the app, and
81
+ * stops appearing on the day-wise tab. Every reader filters on this, which
82
+ * is why the behaviour visible to a driver is the same as when these rows
83
+ * were deleted outright.
84
+ *
85
+ * It is a stamp rather than a DELETE because the two differ entirely in
86
+ * what they cost to get wrong. Superseding the wrong month is one UPDATE to
87
+ * undo; deleting it took the rows and their expense images with it, and
88
+ * nothing downstream could say afterwards what had been billed. Payout
89
+ * history is the thing an invoice dispute is settled from. (AD-3279)
90
+ */
91
+ [LTRPayoutRowGroupField.SupersededAt]?: Date;
92
+ /**
93
+ * Registered user of whoever submitted the superseding payout.
94
+ *
95
+ * Taken from the authenticated request, not the body: the question this
96
+ * answers is who did it, and only the token knows that. Absent on entries
97
+ * superseded before this was recorded.
98
+ */
99
+ [LTRPayoutRowGroupField.SupersededByRegisteredUserId]?: string;
71
100
  [LTRPayoutRowGroupField.CreatedAt]: Date;
72
101
  [LTRPayoutRowGroupField.UpdatedAt]: Date;
73
102
  }
@@ -19,6 +19,10 @@ export var LTRPayoutRowGroupField;
19
19
  LTRPayoutRowGroupField["SignedOffAt"] = "signedOffAt";
20
20
  LTRPayoutRowGroupField["SignOffMethod"] = "signOffMethod";
21
21
  LTRPayoutRowGroupField["SignatureImageUrl"] = "signatureImageUrl";
22
+ /** When a submitted payout superseded this entry. Null while it is live. */
23
+ LTRPayoutRowGroupField["SupersededAt"] = "supersededAt";
24
+ /** Who submitted the payout that superseded it. */
25
+ LTRPayoutRowGroupField["SupersededByRegisteredUserId"] = "supersededByRegisteredUserId";
22
26
  LTRPayoutRowGroupField["CreatedAt"] = "createdAt";
23
27
  LTRPayoutRowGroupField["UpdatedAt"] = "updatedAt";
24
28
  })(LTRPayoutRowGroupField || (LTRPayoutRowGroupField = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"ltr.payout.row.group.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.row.group.model.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,sBAsBX;AAtBD,WAAY,sBAAsB;IACjC,mDAAyB,CAAA;IACzB,2CAAiB,CAAA;IACjB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;IACjB,2CAAiB,CAAA;IACjB,8CAA8C;IAC9C,iDAAuB,CAAA;IACvB,6CAA6C;IAC7C,6CAAmB,CAAA;IACnB,uEAAuE;IACvE,+CAAqB,CAAA;IACrB,2CAAiB,CAAA;IACjB,yDAAyD;IACzD,iFAAuD,CAAA;IACvD,qDAA2B,CAAA;IAC3B,yDAA+B,CAAA;IAC/B,iEAAuC,CAAA;IACvC,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;AACxB,CAAC,EAtBW,sBAAsB,KAAtB,sBAAsB,QAsBjC"}
1
+ {"version":3,"file":"ltr.payout.row.group.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.payout.row.group.model.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,sBA0BX;AA1BD,WAAY,sBAAsB;IACjC,mDAAyB,CAAA;IACzB,2CAAiB,CAAA;IACjB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;IACjB,2CAAiB,CAAA;IACjB,8CAA8C;IAC9C,iDAAuB,CAAA;IACvB,6CAA6C;IAC7C,6CAAmB,CAAA;IACnB,uEAAuE;IACvE,+CAAqB,CAAA;IACrB,2CAAiB,CAAA;IACjB,yDAAyD;IACzD,iFAAuD,CAAA;IACvD,qDAA2B,CAAA;IAC3B,yDAA+B,CAAA;IAC/B,iEAAuC,CAAA;IACvC,4EAA4E;IAC5E,uDAA6B,CAAA;IAC7B,mDAAmD;IACnD,uFAA6D,CAAA;IAC7D,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;AACxB,CAAC,EA1BW,sBAAsB,KAAtB,sBAAsB,QA0BjC"}
@@ -0,0 +1,59 @@
1
+ import { IBAContractPaidRM } from '../../models/src/index';
2
+ /**
3
+ * An RM refund cannot exceed the retention money that was collected — AD-3098
4
+ * QA re-open.
5
+ *
6
+ * QA set RM Status = Refunded with a refund of 10,000 on a contract that had
7
+ * collected 5,000, and it saved with no complaint. There was no rule anywhere:
8
+ * not on the form, not in the DTO, not in the controllers. The RM schedule
9
+ * then did the only arithmetic it can — Final = previous + Addition − Deletion
10
+ * — and carried −5,000 from April 2026 through to March 2027, plus the same
11
+ * for two other contracts (1068: 16,800 refunded against nothing collected;
12
+ * 1073E1: 300 against nothing collected).
13
+ *
14
+ * A negative retention balance is not a state the business has: retention
15
+ * money is collected before it can be given back. So the guard belongs where
16
+ * the number is written, not where it is displayed. The report is deliberately
17
+ * left honest — it keeps showing what the data says, because a report that
18
+ * quietly clamps a negative balance to zero hides the bad row instead of
19
+ * surfacing it.
20
+ */
21
+ /** The two RM/SD statuses that mean "a refund has actually happened". */
22
+ export declare const BA_CONTRACT_REFUND_OPEN_STATUSES: readonly string[];
23
+ /**
24
+ * Whether a refund on an RM or SD section has actually happened.
25
+ *
26
+ * Each section is gated by its OWN status — RM by rvStatus, SD by sdStatus,
27
+ * never one by the other. A refund date and amount left behind by a status
28
+ * that has since been set back to Active would otherwise read as a refund that
29
+ * never occurred. The RM and SD schedules and the legacy SD export all apply
30
+ * this same gate, which is why it lives here and not beside one of them.
31
+ */
32
+ export declare const isBAContractRefundOpen: (status: string | null | undefined) => boolean;
33
+ /**
34
+ * The retention money a contract has actually collected: its non-cancelled
35
+ * BAContractPaidRM rows, summed.
36
+ *
37
+ * `amount` is a `decimal` column, which node-postgres hands back as a STRING.
38
+ * Adding those without Number() concatenates — 5000 + 5000 becomes "50005000"
39
+ * — so every value goes through Number() here, once. `ExtendBAContract`'s own
40
+ * private copy of this reduce does not, which is why callers should use this.
41
+ */
42
+ export declare function sumNonCancelledPaidRM(rows: IBAContractPaidRM[] | null | undefined): number;
43
+ /**
44
+ * The refund actually being recorded, or 0 when the status says none is.
45
+ *
46
+ * Mirrors what the controllers persist and what the RM schedule deducts, so
47
+ * the guard cannot reject a value the report would have ignored, or pass one
48
+ * it would have subtracted.
49
+ */
50
+ export declare function effectiveRMRefundAmount(rvStatus: string | null | undefined, rvAmount: number | string | null | undefined): number;
51
+ /**
52
+ * `null` when the refund is within the collected RM, otherwise the message to
53
+ * return to the caller.
54
+ *
55
+ * Zero collected RM means zero available, so any positive refund is rejected —
56
+ * that is the 1068 case (16,800 refunded against nothing collected) and it is
57
+ * deliberate, not an edge case that slipped through.
58
+ */
59
+ export declare function checkRMRefundWithinCollected(rvStatus: string | null | undefined, rvAmount: number | string | null | undefined, collected: number): string | null;
@@ -0,0 +1,85 @@
1
+ import { BAContractPaidRMField, } from '../../models/src/index';
2
+ /**
3
+ * An RM refund cannot exceed the retention money that was collected — AD-3098
4
+ * QA re-open.
5
+ *
6
+ * QA set RM Status = Refunded with a refund of 10,000 on a contract that had
7
+ * collected 5,000, and it saved with no complaint. There was no rule anywhere:
8
+ * not on the form, not in the DTO, not in the controllers. The RM schedule
9
+ * then did the only arithmetic it can — Final = previous + Addition − Deletion
10
+ * — and carried −5,000 from April 2026 through to March 2027, plus the same
11
+ * for two other contracts (1068: 16,800 refunded against nothing collected;
12
+ * 1073E1: 300 against nothing collected).
13
+ *
14
+ * A negative retention balance is not a state the business has: retention
15
+ * money is collected before it can be given back. So the guard belongs where
16
+ * the number is written, not where it is displayed. The report is deliberately
17
+ * left honest — it keeps showing what the data says, because a report that
18
+ * quietly clamps a negative balance to zero hides the bad row instead of
19
+ * surfacing it.
20
+ */
21
+ /** The two RM/SD statuses that mean "a refund has actually happened". */
22
+ export const BA_CONTRACT_REFUND_OPEN_STATUSES = [
23
+ 'Adjusted in Car Sale',
24
+ 'Refunded',
25
+ ];
26
+ /**
27
+ * Whether a refund on an RM or SD section has actually happened.
28
+ *
29
+ * Each section is gated by its OWN status — RM by rvStatus, SD by sdStatus,
30
+ * never one by the other. A refund date and amount left behind by a status
31
+ * that has since been set back to Active would otherwise read as a refund that
32
+ * never occurred. The RM and SD schedules and the legacy SD export all apply
33
+ * this same gate, which is why it lives here and not beside one of them.
34
+ */
35
+ export const isBAContractRefundOpen = (status) => BA_CONTRACT_REFUND_OPEN_STATUSES.includes((status ?? '').trim());
36
+ /** Money is compared at paise precision, never at float noise. */
37
+ const round2 = (n) => Math.round(n * 100) / 100;
38
+ /**
39
+ * The retention money a contract has actually collected: its non-cancelled
40
+ * BAContractPaidRM rows, summed.
41
+ *
42
+ * `amount` is a `decimal` column, which node-postgres hands back as a STRING.
43
+ * Adding those without Number() concatenates — 5000 + 5000 becomes "50005000"
44
+ * — so every value goes through Number() here, once. `ExtendBAContract`'s own
45
+ * private copy of this reduce does not, which is why callers should use this.
46
+ */
47
+ export function sumNonCancelledPaidRM(rows) {
48
+ if (!rows?.length)
49
+ return 0;
50
+ return round2(rows.reduce((total, row) => row?.[BAContractPaidRMField.Cancelled]
51
+ ? total
52
+ : total +
53
+ (Number(row?.[BAContractPaidRMField.Amount]) || 0), 0));
54
+ }
55
+ /**
56
+ * The refund actually being recorded, or 0 when the status says none is.
57
+ *
58
+ * Mirrors what the controllers persist and what the RM schedule deducts, so
59
+ * the guard cannot reject a value the report would have ignored, or pass one
60
+ * it would have subtracted.
61
+ */
62
+ export function effectiveRMRefundAmount(rvStatus, rvAmount) {
63
+ if (!isBAContractRefundOpen(rvStatus))
64
+ return 0;
65
+ const amount = Number(rvAmount);
66
+ return Number.isFinite(amount) && amount > 0 ? round2(amount) : 0;
67
+ }
68
+ /**
69
+ * `null` when the refund is within the collected RM, otherwise the message to
70
+ * return to the caller.
71
+ *
72
+ * Zero collected RM means zero available, so any positive refund is rejected —
73
+ * that is the 1068 case (16,800 refunded against nothing collected) and it is
74
+ * deliberate, not an edge case that slipped through.
75
+ */
76
+ export function checkRMRefundWithinCollected(rvStatus, rvAmount, collected) {
77
+ const refund = effectiveRMRefundAmount(rvStatus, rvAmount);
78
+ if (refund === 0)
79
+ return null;
80
+ const available = round2(Number.isFinite(collected) ? collected : 0);
81
+ if (refund <= available)
82
+ return null;
83
+ return `RM Refund Amount (${refund}) cannot exceed the RM collected (${available}).`;
84
+ }
85
+ //# sourceMappingURL=ba.contract.rm.refund.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ba.contract.rm.refund.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/ba.contract.rm.refund.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,GAErB,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;;;;;;;;;;GAkBG;AAEH,yEAAyE;AACzE,MAAM,CAAC,MAAM,gCAAgC,GAAsB;IAClE,sBAAsB;IACtB,UAAU;CACV,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACrC,MAAiC,EACvB,EAAE,CAAC,gCAAgC,CAAC,QAAQ,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAE/E,kEAAkE;AAClE,MAAM,MAAM,GAAG,CAAC,CAAS,EAAU,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;AAEhE;;;;;;;;GAQG;AACH,MAAM,UAAU,qBAAqB,CACpC,IAA4C;IAE5C,IAAI,CAAC,IAAI,EAAE,MAAM;QAAE,OAAO,CAAC,CAAC;IAC5B,OAAO,MAAM,CACZ,IAAI,CAAC,MAAM,CACV,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CACd,GAAG,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC;QACrC,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,KAAK;YACN,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,EACrD,CAAC,CACD,CACD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACtC,QAAmC,EACnC,QAA4C;IAE5C,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC;QAAE,OAAO,CAAC,CAAC;IAChD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IAChC,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC3C,QAAmC,EACnC,QAA4C,EAC5C,SAAiB;IAEjB,MAAM,MAAM,GAAG,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC3D,IAAI,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAE9B,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrE,IAAI,MAAM,IAAI,SAAS;QAAE,OAAO,IAAI,CAAC;IAErC,OAAO,qBAAqB,MAAM,qCAAqC,SAAS,IAAI,CAAC;AACtF,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { IBAContract } from '../../models/src/index';
2
+ /**
3
+ * Which BA contract a BA Payout row belongs to — AD-3098 QA re-open.
4
+ *
5
+ * The BA Payout template and the upload validator disagreed about contracts,
6
+ * and the disagreement made a whole month's payout unuploadable:
7
+ *
8
+ * • The template emitted one row per contract overlapping the period with no
9
+ * status filter at all, so a Cancelled contract got a row.
10
+ * • The validator hashed contracts into `Map<contractCode, contract>` —
11
+ * last write wins. `baContractCode` is NOT unique: an older extend flow
12
+ * minted duplicate `E<n>` codes (AD-3227, AD-3097), and a contract that is
13
+ * cancelled and re-raised keeps its code. On staging, `1004E1` exists twice
14
+ * for BA1002 — one Cancelled, one Surrendered — so the validator compared
15
+ * the template's Cancelled row against the Surrendered record and reported
16
+ * "Contract Start Date mismatch. Expected: 01/12/2025, Found: 02/05/2026".
17
+ * Nothing the user could type would satisfy it.
18
+ *
19
+ * The rule here is the single answer both sides now use, so they cannot drift:
20
+ *
21
+ * 1. Cancelled contracts are not payable and are dropped outright. This is
22
+ * the same predicate `loadReportContracts` applies to the RM and SD
23
+ * schedules and `findBAContractForBooking` applies to bookings, so the
24
+ * payout, the schedules and the booking attribution agree about which
25
+ * contracts exist.
26
+ * 2. The same contract keyed in twice — same BA, same code, same vehicle —
27
+ * is ONE contract, collapsed to its most recently edited record. That is
28
+ * the tie-break `groupDuplicateContracts` already uses in the report
29
+ * builders. Without it the template would print the row twice and the
30
+ * payout would collect the RM twice.
31
+ * 3. The same code on DIFFERENT vehicles stays as separate contracts (BA1000
32
+ * has six rows coded '1000' on six vehicles). Those are resolved by the
33
+ * vehicle registration carried on the uploaded row, which is the column
34
+ * that actually distinguishes them.
35
+ */
36
+ export declare const normalizeBAContractCode: (raw: unknown) => string;
37
+ /**
38
+ * Registrations are compared without spaces or punctuation: the template
39
+ * writes the stored value verbatim, but a user who retypes a cell may enter
40
+ * "KA 67 BA 105" for a stored "KA67BA105", and a resolution step is the wrong
41
+ * place to fail over formatting. The "Vehicle mismatch" check downstream still
42
+ * compares the raw values, so a genuinely different vehicle is still reported.
43
+ */
44
+ export declare const normalizeVehicleRegistration: (raw: unknown) => string;
45
+ /** A stored timestamp as epoch ms; 0 when it is absent or unparseable. */
46
+ export declare const timestampMs: (value: unknown) => number;
47
+ /**
48
+ * Most recently edited wins, falling back to most recently created.
49
+ *
50
+ * The one definition of "which of these duplicate records is the real one".
51
+ * `groupDuplicateContracts` in ba.contract.report.shared.ts imports it from
52
+ * here so the report and the payout resolve a duplicated contract to the SAME
53
+ * record — two answers to that question is how a sheet and a payout start
54
+ * disagreeing about money.
55
+ */
56
+ export declare const isNewerRecord: (candidate: IBAContract, current: IBAContract) => boolean;
57
+ /** A Cancelled contract is never paid out and never appears in the template. */
58
+ export declare const isBAPayoutEligibleContract: (contract: IBAContract | null | undefined) => boolean;
59
+ /**
60
+ * Drop Cancelled contracts and collapse duplicate records of the same
61
+ * contract, keeping the most recently edited one. Input order is preserved so
62
+ * the template's row order does not change for the ordinary case.
63
+ *
64
+ * A row missing any part of the identity key is never merged with anything —
65
+ * it gets its own slot under its own id, exactly as the report builders do.
66
+ */
67
+ export declare function selectBAPayoutContracts(contracts: IBAContract[] | undefined | null): IBAContract[];
68
+ /**
69
+ * Pick the one contract an uploaded payout row refers to.
70
+ *
71
+ * `candidates` is every contract sharing the row's Contract ID. The vehicle
72
+ * registration from the row is what separates same-code contracts on different
73
+ * vehicles. When the row's vehicle matches none of them the newest is returned
74
+ * anyway, so the caller reports the real problem ("Vehicle mismatch") rather
75
+ * than the misleading "Contract ID not found in system".
76
+ */
77
+ export declare function resolveBAPayoutContract(candidates: IBAContract[] | undefined | null, criteria?: {
78
+ vehicleRegistration?: unknown;
79
+ }): IBAContract | null;
@@ -0,0 +1,137 @@
1
+ import { BAContractField } from '../../models/src/index';
2
+ import { VehicleAssociationField } from '../../models/src/vehicle.association.model';
3
+ import { BAContractStatus } from '../../enums/src/index';
4
+ /**
5
+ * Which BA contract a BA Payout row belongs to — AD-3098 QA re-open.
6
+ *
7
+ * The BA Payout template and the upload validator disagreed about contracts,
8
+ * and the disagreement made a whole month's payout unuploadable:
9
+ *
10
+ * • The template emitted one row per contract overlapping the period with no
11
+ * status filter at all, so a Cancelled contract got a row.
12
+ * • The validator hashed contracts into `Map<contractCode, contract>` —
13
+ * last write wins. `baContractCode` is NOT unique: an older extend flow
14
+ * minted duplicate `E<n>` codes (AD-3227, AD-3097), and a contract that is
15
+ * cancelled and re-raised keeps its code. On staging, `1004E1` exists twice
16
+ * for BA1002 — one Cancelled, one Surrendered — so the validator compared
17
+ * the template's Cancelled row against the Surrendered record and reported
18
+ * "Contract Start Date mismatch. Expected: 01/12/2025, Found: 02/05/2026".
19
+ * Nothing the user could type would satisfy it.
20
+ *
21
+ * The rule here is the single answer both sides now use, so they cannot drift:
22
+ *
23
+ * 1. Cancelled contracts are not payable and are dropped outright. This is
24
+ * the same predicate `loadReportContracts` applies to the RM and SD
25
+ * schedules and `findBAContractForBooking` applies to bookings, so the
26
+ * payout, the schedules and the booking attribution agree about which
27
+ * contracts exist.
28
+ * 2. The same contract keyed in twice — same BA, same code, same vehicle —
29
+ * is ONE contract, collapsed to its most recently edited record. That is
30
+ * the tie-break `groupDuplicateContracts` already uses in the report
31
+ * builders. Without it the template would print the row twice and the
32
+ * payout would collect the RM twice.
33
+ * 3. The same code on DIFFERENT vehicles stays as separate contracts (BA1000
34
+ * has six rows coded '1000' on six vehicles). Those are resolved by the
35
+ * vehicle registration carried on the uploaded row, which is the column
36
+ * that actually distinguishes them.
37
+ */
38
+ export const normalizeBAContractCode = (raw) => raw == null ? '' : String(raw).trim().toUpperCase();
39
+ /**
40
+ * Registrations are compared without spaces or punctuation: the template
41
+ * writes the stored value verbatim, but a user who retypes a cell may enter
42
+ * "KA 67 BA 105" for a stored "KA67BA105", and a resolution step is the wrong
43
+ * place to fail over formatting. The "Vehicle mismatch" check downstream still
44
+ * compares the raw values, so a genuinely different vehicle is still reported.
45
+ */
46
+ export const normalizeVehicleRegistration = (raw) => raw == null
47
+ ? ''
48
+ : String(raw)
49
+ .toUpperCase()
50
+ .replace(/[^A-Z0-9]/g, '');
51
+ /** A stored timestamp as epoch ms; 0 when it is absent or unparseable. */
52
+ export const timestampMs = (value) => {
53
+ if (!value)
54
+ return 0;
55
+ const ms = new Date(value).getTime();
56
+ return Number.isNaN(ms) ? 0 : ms;
57
+ };
58
+ /**
59
+ * Most recently edited wins, falling back to most recently created.
60
+ *
61
+ * The one definition of "which of these duplicate records is the real one".
62
+ * `groupDuplicateContracts` in ba.contract.report.shared.ts imports it from
63
+ * here so the report and the payout resolve a duplicated contract to the SAME
64
+ * record — two answers to that question is how a sheet and a payout start
65
+ * disagreeing about money.
66
+ */
67
+ export const isNewerRecord = (candidate, current) => {
68
+ const updatedDelta = timestampMs(candidate[BAContractField.UpdatedAt]) -
69
+ timestampMs(current[BAContractField.UpdatedAt]);
70
+ if (updatedDelta !== 0)
71
+ return updatedDelta > 0;
72
+ return (timestampMs(candidate[BAContractField.CreatedAt]) >
73
+ timestampMs(current[BAContractField.CreatedAt]));
74
+ };
75
+ const registrationOf = (contract) => {
76
+ const va = contract?.[BAContractField.VehicleAssociation];
77
+ return normalizeVehicleRegistration(va?.[VehicleAssociationField.Registration]);
78
+ };
79
+ /** A Cancelled contract is never paid out and never appears in the template. */
80
+ export const isBAPayoutEligibleContract = (contract) => !!contract &&
81
+ contract[BAContractField.Status] !== BAContractStatus.Cancelled;
82
+ /**
83
+ * Drop Cancelled contracts and collapse duplicate records of the same
84
+ * contract, keeping the most recently edited one. Input order is preserved so
85
+ * the template's row order does not change for the ordinary case.
86
+ *
87
+ * A row missing any part of the identity key is never merged with anything —
88
+ * it gets its own slot under its own id, exactly as the report builders do.
89
+ */
90
+ export function selectBAPayoutContracts(contracts) {
91
+ if (!contracts?.length)
92
+ return [];
93
+ const byKey = new Map();
94
+ const order = [];
95
+ for (const contract of contracts) {
96
+ if (!isBAPayoutEligibleContract(contract))
97
+ continue;
98
+ const code = normalizeBAContractCode(contract[BAContractField.BAContractCode]);
99
+ const baId = contract[BAContractField.BusinessAssociateId] ||
100
+ contract[BAContractField.BusinessAssociate]?.businessAssociateId;
101
+ const vaId = contract[BAContractField.VehicleAssociationId];
102
+ const key = baId && vaId && code
103
+ ? `${baId}|${code}|${vaId}`
104
+ : `id:${contract[BAContractField.BAContractId]}`;
105
+ const existing = byKey.get(key);
106
+ if (!existing) {
107
+ byKey.set(key, contract);
108
+ order.push(key);
109
+ continue;
110
+ }
111
+ if (isNewerRecord(contract, existing))
112
+ byKey.set(key, contract);
113
+ }
114
+ return order.map((key) => byKey.get(key));
115
+ }
116
+ /**
117
+ * Pick the one contract an uploaded payout row refers to.
118
+ *
119
+ * `candidates` is every contract sharing the row's Contract ID. The vehicle
120
+ * registration from the row is what separates same-code contracts on different
121
+ * vehicles. When the row's vehicle matches none of them the newest is returned
122
+ * anyway, so the caller reports the real problem ("Vehicle mismatch") rather
123
+ * than the misleading "Contract ID not found in system".
124
+ */
125
+ export function resolveBAPayoutContract(candidates, criteria) {
126
+ const eligible = selectBAPayoutContracts(candidates);
127
+ if (eligible.length === 0)
128
+ return null;
129
+ if (eligible.length === 1)
130
+ return eligible[0];
131
+ const wanted = normalizeVehicleRegistration(criteria?.vehicleRegistration);
132
+ const pool = wanted && eligible.some((c) => registrationOf(c) === wanted)
133
+ ? eligible.filter((c) => registrationOf(c) === wanted)
134
+ : eligible;
135
+ return pool.reduce((best, c) => (isNewerRecord(c, best) ? c : best));
136
+ }
137
+ //# sourceMappingURL=ba.payout.contract.selection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ba.payout.contract.selection.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/ba.payout.contract.selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAU,EAAE,CAC/D,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,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,GAAG,CAAC,CAAC;YAChB,SAAS;QACV,CAAC;QACD,IAAI,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC;YAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAgB,CAAC,CAAC;AAC1D,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CACtC,UAA4C,EAC5C,QAA4C;IAE5C,MAAM,QAAQ,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACrD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACvC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,4BAA4B,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;IAC3E,MAAM,IAAI,GACT,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;QAC3D,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;QACtD,CAAC,CAAC,QAAQ,CAAC;IAEb,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AACtE,CAAC"}
@@ -49,3 +49,5 @@ export * from './ba.payout.workshop.days';
49
49
  export * from './financial.year';
50
50
  export * from './vendor.operations.log';
51
51
  export * from './booking.selected.package.gate';
52
+ export * from './ba.payout.contract.selection';
53
+ export * from './ba.contract.rm.refund';
@@ -49,4 +49,6 @@ export * from './ba.payout.workshop.days';
49
49
  export * from './financial.year';
50
50
  export * from './vendor.operations.log';
51
51
  export * from './booking.selected.package.gate';
52
+ export * from './ba.payout.contract.selection';
53
+ export * from './ba.contract.rm.refund';
52
54
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC;AAC3B,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC;AAC3B,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,c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