@autologix-engineering/shared 1.2.366 → 1.2.367

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.366",
3
+ "version": "1.2.367",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -73,6 +73,14 @@ export declare class AddLTRPayoutRowsDTO {
73
73
  others?: number;
74
74
  fuelAmount?: number;
75
75
  fastagDebit?: number;
76
+ /**
77
+ * Interstate entry fees and state border charges. (PRD §3.5)
78
+ *
79
+ * Reaches the row as `Inter-State`, the same column the sheet upload and
80
+ * the billing totals use — the app had no field for it at all, so a driver
81
+ * crossing a border had nowhere to put the receipt.
82
+ */
83
+ interState?: number;
76
84
  remarks?: string;
77
85
  constructor(obj?: Partial<AddLTRPayoutRowsDTO>);
78
86
  }
@@ -140,6 +140,11 @@ __decorate([
140
140
  IsNumber(),
141
141
  __metadata("design:type", Number)
142
142
  ], AddLTRPayoutRowsDTO.prototype, "fastagDebit", void 0);
143
+ __decorate([
144
+ IsOptional(),
145
+ IsNumber(),
146
+ __metadata("design:type", Number)
147
+ ], AddLTRPayoutRowsDTO.prototype, "interState", void 0);
143
148
  __decorate([
144
149
  IsOptional(),
145
150
  IsString(),
@@ -1 +1 @@
1
- {"version":3,"file":"add.ltr.payout.rows.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/add.ltr.payout.rows.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,UAAU,EACV,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qEAAqE;AACrE,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U,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;2DACa;AAIxB;IAFC,UAAU,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;oDACM;AAIjB;IAFC,UAAU,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;kDACI;AAsBf;IANC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,OAAO,CAAC,uBAAuB,EAAE;QACjC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,2CAA2C;KACpD,CAAC;;2DACwB;AAW1B;IAHC,UAAU,EAAE;IACZ,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAI,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;;mDACD;AAKnC;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACM;AAIjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACU;AAIrB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACM"}
1
+ {"version":3,"file":"add.ltr.payout.rows.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/add.ltr.payout.rows.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,UAAU,EACV,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,IAAI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AC;IACtD,QAAQ,EAAE;;0DACY;AAIvB;IAFC,UAAU,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;2DACa;AAIxB;IAFC,UAAU,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;oDACM;AAIjB;IAFC,UAAU,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IACtD,QAAQ,EAAE;;kDACI;AAsBf;IANC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,OAAO,CAAC,uBAAuB,EAAE;QACjC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,2CAA2C;KACpD,CAAC;;2DACwB;AAW1B;IAHC,UAAU,EAAE;IACZ,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAI,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;;mDACD;AAKnC;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACM;AAIjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACU;AAWrB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACM"}
@@ -55,6 +55,25 @@ export interface SendLTRSignOffOTPInput {
55
55
  url?: string;
56
56
  /** The booking client's own code length, when it sets one. */
57
57
  otpDigits?: number;
58
+ /**
59
+ * The message names the renter, the car and the chauffeur standing in front
60
+ * of them, so the renter can tell this code apart from any other and knows
61
+ * which duty they are confirming. Every one is resolved by the caller,
62
+ * which already holds the booking — the service has only a phone number.
63
+ *
64
+ * All optional, and each renders as `NA` when the caller cannot resolve it,
65
+ * matching how the trip alerts fill the same template. A missing name must
66
+ * not withhold the code: the renter still needs it to sign the log off.
67
+ */
68
+ renterName?: string;
69
+ /** Registration of the LTR vehicle on the booking. */
70
+ vehicleNumber?: string;
71
+ /** The chauffeur asking for the sign-off. */
72
+ driverName?: string;
73
+ /** The chauffeur's number, so the renter can call them back. */
74
+ driverContact?: string;
75
+ /** Tenant support line, from the business context's `Configuration`. */
76
+ supportPhone?: string;
58
77
  }
59
78
  /**
60
79
  * `cooldown` means a code for this renter and booking was sent too recently;
@@ -1,4 +1,4 @@
1
- import { VehicleComplianceKey } from '@autologix/shared/enums';
1
+ import { VehicleComplianceKey } from '../../enums/src/index';
2
2
  /**
3
3
  * AD-3140 §8 / §11 — the compliance report's filter set.
4
4
  *
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { Type } from 'class-transformer';
3
3
  import { IsArray, IsBoolean, IsDate, IsEnum, IsOptional, IsString, IsUUID, } from 'class-validator';
4
- import { VehicleComplianceKey } from '@autologix/shared/enums';
4
+ import { VehicleComplianceKey } from '../../enums/src/index';
5
5
  /**
6
6
  * AD-3140 §8 / §11 — the compliance report's filter set.
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"get.vehicle.compliance.report.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.vehicle.compliance.report.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;GAOG;AACH,MAAM,OAAO,6BAA6B;IA0CzC,YAAY,GAA4C;QACvD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA3CA;IADC,MAAM,EAAE;;oEACa;AAKtB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oEACA;AAKzB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACf;AAKnB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;gEACb;AAKrB;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sEACJ;AAKzC;IAHC,UAAU,EAAE;IACZ,MAAM,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACJ,IAAI;iEAAC;AAKlB;IAHC,UAAU,EAAE;IACZ,MAAM,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;+DAAC;AAIhB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;kEACU;AAItB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;oEACY"}
1
+ {"version":3,"file":"get.vehicle.compliance.report.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.vehicle.compliance.report.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;;;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