@autologix-engineering/shared 1.2.347 → 1.2.349

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 (116) hide show
  1. package/package.json +1 -1
  2. package/src/lib/commands/src/command.definition.d.ts +2 -2
  3. package/src/lib/commands/src/index.d.ts +1 -0
  4. package/src/lib/commands/src/index.js +1 -0
  5. package/src/lib/commands/src/index.js.map +1 -1
  6. package/src/lib/commands/src/si.activation.alert.command.d.ts +14 -0
  7. package/src/lib/commands/src/si.activation.alert.command.js +7 -0
  8. package/src/lib/commands/src/si.activation.alert.command.js.map +1 -0
  9. package/src/lib/contract-state/src/contract.coverage.bound.d.ts +37 -0
  10. package/src/lib/contract-state/src/contract.coverage.bound.js +45 -0
  11. package/src/lib/contract-state/src/contract.coverage.bound.js.map +1 -0
  12. package/src/lib/contract-state/src/index.d.ts +1 -0
  13. package/src/lib/contract-state/src/index.js +1 -0
  14. package/src/lib/contract-state/src/index.js.map +1 -1
  15. package/src/lib/data-transfer-objects/src/discard.business.associate.payout.draft.dto.d.ts +7 -0
  16. package/src/lib/data-transfer-objects/src/discard.business.associate.payout.draft.dto.js +28 -0
  17. package/src/lib/data-transfer-objects/src/discard.business.associate.payout.draft.dto.js.map +1 -0
  18. package/src/lib/data-transfer-objects/src/gatekeeper/index.d.ts +1 -0
  19. package/src/lib/data-transfer-objects/src/gatekeeper/index.js +1 -0
  20. package/src/lib/data-transfer-objects/src/gatekeeper/index.js.map +1 -1
  21. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.d.ts +37 -0
  22. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.js +36 -1
  23. package/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.js.map +1 -1
  24. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.d.ts +17 -0
  25. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.js +29 -0
  26. package/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.js.map +1 -0
  27. package/src/lib/data-transfer-objects/src/get.business.associate.payout.draft.dto.d.ts +11 -0
  28. package/src/lib/data-transfer-objects/src/get.business.associate.payout.draft.dto.js +25 -0
  29. package/src/lib/data-transfer-objects/src/get.business.associate.payout.draft.dto.js.map +1 -0
  30. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.d.ts +2 -1
  31. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.js +6 -1
  32. package/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.js.map +1 -1
  33. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.d.ts +21 -0
  34. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.js +35 -0
  35. package/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.js.map +1 -0
  36. package/src/lib/data-transfer-objects/src/index.d.ts +8 -0
  37. package/src/lib/data-transfer-objects/src/index.js +8 -0
  38. package/src/lib/data-transfer-objects/src/index.js.map +1 -1
  39. package/src/lib/data-transfer-objects/src/save.business.associate.payout.draft.dto.d.ts +25 -0
  40. package/src/lib/data-transfer-objects/src/save.business.associate.payout.draft.dto.js +59 -0
  41. package/src/lib/data-transfer-objects/src/save.business.associate.payout.draft.dto.js.map +1 -0
  42. package/src/lib/data-transfer-objects/src/send.si.activation.link.dto.d.ts +6 -0
  43. package/src/lib/data-transfer-objects/src/send.si.activation.link.dto.js +16 -0
  44. package/src/lib/data-transfer-objects/src/send.si.activation.link.dto.js.map +1 -0
  45. package/src/lib/data-transfer-objects/src/si.setup.by.token.dto.d.ts +20 -0
  46. package/src/lib/data-transfer-objects/src/si.setup.by.token.dto.js +18 -0
  47. package/src/lib/data-transfer-objects/src/si.setup.by.token.dto.js.map +1 -0
  48. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.d.ts +44 -0
  49. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.js +51 -0
  50. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.entry.dto.js.map +1 -0
  51. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.d.ts +51 -0
  52. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.js +60 -0
  53. package/src/lib/data-transfer-objects/src/sign.off.ltr.payout.month.dto.js.map +1 -0
  54. package/src/lib/data-transfer-objects/src/update.vendor.city.status.dto.js +7 -2
  55. package/src/lib/data-transfer-objects/src/update.vendor.city.status.dto.js.map +1 -1
  56. package/src/lib/enums/src/alert.command.types.js +1 -0
  57. package/src/lib/enums/src/alert.command.types.js.map +1 -1
  58. package/src/lib/enums/src/ba.payout.draft.enum.d.ts +13 -0
  59. package/src/lib/enums/src/ba.payout.draft.enum.js +15 -0
  60. package/src/lib/enums/src/ba.payout.draft.enum.js.map +1 -0
  61. package/src/lib/enums/src/command.type.enum.d.ts +8 -0
  62. package/src/lib/enums/src/command.type.enum.js +8 -0
  63. package/src/lib/enums/src/command.type.enum.js.map +1 -1
  64. package/src/lib/enums/src/external.alert.type.enum.d.ts +2 -1
  65. package/src/lib/enums/src/external.alert.type.enum.js +1 -0
  66. package/src/lib/enums/src/external.alert.type.enum.js.map +1 -1
  67. package/src/lib/enums/src/external.alert.type.variable.map.js +16 -0
  68. package/src/lib/enums/src/external.alert.type.variable.map.js.map +1 -1
  69. package/src/lib/enums/src/external.alert.variables.enum.d.ts +2 -1
  70. package/src/lib/enums/src/external.alert.variables.enum.js +1 -0
  71. package/src/lib/enums/src/external.alert.variables.enum.js.map +1 -1
  72. package/src/lib/enums/src/external.alert.varibale.key.map.js +1 -0
  73. package/src/lib/enums/src/external.alert.varibale.key.map.js.map +1 -1
  74. package/src/lib/enums/src/index.d.ts +2 -0
  75. package/src/lib/enums/src/index.js +2 -0
  76. package/src/lib/enums/src/index.js.map +1 -1
  77. package/src/lib/enums/src/model.enum.d.ts +3 -0
  78. package/src/lib/enums/src/model.enum.js +3 -0
  79. package/src/lib/enums/src/model.enum.js.map +1 -1
  80. package/src/lib/enums/src/otp.scope.enum.d.ts +16 -0
  81. package/src/lib/enums/src/otp.scope.enum.js +18 -0
  82. package/src/lib/enums/src/otp.scope.enum.js.map +1 -0
  83. package/src/lib/enums/src/query.type.enum.d.ts +2 -0
  84. package/src/lib/enums/src/query.type.enum.js +2 -0
  85. package/src/lib/enums/src/query.type.enum.js.map +1 -1
  86. package/src/lib/models/src/auth.profile.model.d.ts +10 -0
  87. package/src/lib/models/src/auth.profile.model.js +6 -0
  88. package/src/lib/models/src/auth.profile.model.js.map +1 -1
  89. package/src/lib/models/src/ba.payout.draft.model.d.ts +77 -0
  90. package/src/lib/models/src/ba.payout.draft.model.js +31 -0
  91. package/src/lib/models/src/ba.payout.draft.model.js.map +1 -0
  92. package/src/lib/models/src/index.d.ts +3 -0
  93. package/src/lib/models/src/index.js +3 -0
  94. package/src/lib/models/src/index.js.map +1 -1
  95. package/src/lib/models/src/ltr.payout.month.sign.off.model.d.ts +85 -0
  96. package/src/lib/models/src/ltr.payout.month.sign.off.model.js +28 -0
  97. package/src/lib/models/src/ltr.payout.month.sign.off.model.js.map +1 -0
  98. package/src/lib/models/src/ltr.payout.row.group.model.d.ts +18 -1
  99. package/src/lib/models/src/ltr.payout.row.group.model.js +4 -0
  100. package/src/lib/models/src/ltr.payout.row.group.model.js.map +1 -1
  101. package/src/lib/models/src/si.activation.token.model.d.ts +39 -0
  102. package/src/lib/models/src/si.activation.token.model.js +16 -0
  103. package/src/lib/models/src/si.activation.token.model.js.map +1 -0
  104. package/src/lib/models/src/white.label.config.model.d.ts +3 -0
  105. package/src/lib/models/src/white.label.config.model.js +2 -0
  106. package/src/lib/models/src/white.label.config.model.js.map +1 -1
  107. package/src/lib/routes/src/command.registry.routes.d.ts +7 -0
  108. package/src/lib/routes/src/command.registry.routes.js +7 -0
  109. package/src/lib/routes/src/command.registry.routes.js.map +1 -1
  110. package/src/lib/routes/src/gatekeeper.routes.d.ts +1 -0
  111. package/src/lib/routes/src/gatekeeper.routes.js +1 -0
  112. package/src/lib/routes/src/gatekeeper.routes.js.map +1 -1
  113. package/src/lib/routes/src/query.service.routes.d.ts +2 -0
  114. package/src/lib/routes/src/query.service.routes.js +2 -0
  115. package/src/lib/routes/src/query.service.routes.js.map +1 -1
  116. package/src/lib/view-models/src/public.config.d.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autologix-engineering/shared",
3
- "version": "1.2.347",
3
+ "version": "1.2.349",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,2 +1,2 @@
1
- import { AddFcmToken, AddConfigurations, AddInvoiceuserToTrip, AddOcdDriverEarning, AssignOwnershipOfDriverContext, AssignOwnershipOfPassengerContext, AttemptTripGeneration, ClientCreationAlert, ConsolidatedTaxInvoice, CreateBaseDutyTypes, CreateBulkDrivers, CreateBulkDriversAndVehicles, CreateBulkVehicles, CreateBusinessContext, CreateGSTInformation, CreatePassenger, CreateRazorPayToken, CreateSelfDriver, DigestRequestEvent, DigestTripEvent, DriverDocsPendingAlert, DriverLicenceExpiryAlert, DriverVerificationPendingAlert, DutyCommunications, GenerateBill, GenerateCleartaxIrn, GenerateInstantInvoice, GenerateInvoicePdf, MarkOrganizationAsRegistered, MergePlaceholderDriver, MergePlaceholderPassenger, ModifyPersonaStatus, ProcessDriverAssignment, ProcessRequestClientAction, ProcessRequestPredicate, ProcessRequestUpdate, ProcessRequestVendorAction, ProcessTripEnd, ProcessTripTrace, ProcessTripStatus, ProcessVendorAssignment, RegistrationInvitationAlert, SelfRegistrationAlert, SendTripOTP, TakeOwnershipOfOrganization, UpdateCompanyName, UpdateDashBoardCount, UpdateRequestUpdatedAt, UpdateVehicleGroupType, UserCreationAlert, UserProfileUpdateAlert, BookingCreationAlert, BookingModificationAlert, BookingCancellationAlert, InvoiceGenerationAlert, PaymentReminderAlert, InvoiceApprovalAlert, PaymentConfirmationAlert, DriverAndVehicleAllocationAlert, TripStartedAlert, PassengerDropOffAlert, GenerateBookingKnockOff, GenerateAutoSummaryKnockOffCommand, GenerateAutoSummaryKnockOffPDFCommand, GenerateBAPayoutSummaryZipCommand, GenerateBAReimbursementSummaryZipCommand, GenerateBAReimbursementCommand, CreateLTRBookingCommand, RMTBReportProcess, BookingExportJobProcess, InvoiceExportJobProcess, InvoiceRegenerationJobProcess, PushToFinance, FinalCloseNotify, VendorKnockOffReportJobProcess, ProcessReport } from '.';
2
- export type AutologixCommand = CreatePassenger | CreateGSTInformation | TakeOwnershipOfOrganization | CreateSelfDriver | CreateBusinessContext | MarkOrganizationAsRegistered | AssignOwnershipOfDriverContext | ModifyPersonaStatus | ProcessRequestClientAction | ProcessRequestVendorAction | ProcessRequestPredicate | ProcessTripStatus | ProcessDriverAssignment | ProcessVendorAssignment | ProcessRequestUpdate | AttemptTripGeneration | GenerateInstantInvoice | GenerateInvoicePdf | AddOcdDriverEarning | MergePlaceholderDriver | DigestRequestEvent | DigestTripEvent | GenerateBill | SendTripOTP | AssignOwnershipOfPassengerContext | MergePlaceholderPassenger | AddConfigurations | AddFcmToken | CreateRazorPayToken | CreateRazorPayToken | ProcessTripEnd | ProcessTripTrace | UpdateDashBoardCount | AddInvoiceuserToTrip | UpdateRequestUpdatedAt | CreateBulkDriversAndVehicles | DutyCommunications | CreateBaseDutyTypes | UpdateCompanyName | CreateBulkDrivers | CreateBulkVehicles | UpdateVehicleGroupType | ConsolidatedTaxInvoice | GenerateCleartaxIrn | DriverDocsPendingAlert | DriverVerificationPendingAlert | DriverLicenceExpiryAlert | ClientCreationAlert | RegistrationInvitationAlert | SelfRegistrationAlert | UserCreationAlert | UserProfileUpdateAlert | BookingCreationAlert | BookingModificationAlert | BookingCancellationAlert | InvoiceGenerationAlert | PaymentReminderAlert | InvoiceApprovalAlert | PaymentConfirmationAlert | DriverAndVehicleAllocationAlert | TripStartedAlert | PassengerDropOffAlert | GenerateBookingKnockOff | GenerateAutoSummaryKnockOffCommand | GenerateAutoSummaryKnockOffPDFCommand | GenerateBAPayoutSummaryZipCommand | GenerateBAReimbursementSummaryZipCommand | GenerateBAReimbursementCommand | CreateLTRBookingCommand | RMTBReportProcess | BookingExportJobProcess | InvoiceExportJobProcess | InvoiceRegenerationJobProcess | PushToFinance | FinalCloseNotify | VendorKnockOffReportJobProcess | ProcessReport;
1
+ import { AddFcmToken, AddConfigurations, AddInvoiceuserToTrip, AddOcdDriverEarning, AssignOwnershipOfDriverContext, AssignOwnershipOfPassengerContext, AttemptTripGeneration, ClientCreationAlert, ConsolidatedTaxInvoice, CreateBaseDutyTypes, CreateBulkDrivers, CreateBulkDriversAndVehicles, CreateBulkVehicles, CreateBusinessContext, CreateGSTInformation, CreatePassenger, CreateRazorPayToken, CreateSelfDriver, DigestRequestEvent, DigestTripEvent, DriverDocsPendingAlert, DriverLicenceExpiryAlert, DriverVerificationPendingAlert, DutyCommunications, GenerateBill, GenerateCleartaxIrn, GenerateInstantInvoice, GenerateInvoicePdf, MarkOrganizationAsRegistered, MergePlaceholderDriver, MergePlaceholderPassenger, ModifyPersonaStatus, ProcessDriverAssignment, ProcessRequestClientAction, ProcessRequestPredicate, ProcessRequestUpdate, ProcessRequestVendorAction, ProcessTripEnd, ProcessTripTrace, ProcessTripStatus, ProcessVendorAssignment, RegistrationInvitationAlert, SIActivationAlert, SelfRegistrationAlert, SendTripOTP, TakeOwnershipOfOrganization, UpdateCompanyName, UpdateDashBoardCount, UpdateRequestUpdatedAt, UpdateVehicleGroupType, UserCreationAlert, UserProfileUpdateAlert, BookingCreationAlert, BookingModificationAlert, BookingCancellationAlert, InvoiceGenerationAlert, PaymentReminderAlert, InvoiceApprovalAlert, PaymentConfirmationAlert, DriverAndVehicleAllocationAlert, TripStartedAlert, PassengerDropOffAlert, GenerateBookingKnockOff, GenerateAutoSummaryKnockOffCommand, GenerateAutoSummaryKnockOffPDFCommand, GenerateBAPayoutSummaryZipCommand, GenerateBAReimbursementSummaryZipCommand, GenerateBAReimbursementCommand, CreateLTRBookingCommand, RMTBReportProcess, BookingExportJobProcess, InvoiceExportJobProcess, InvoiceRegenerationJobProcess, PushToFinance, FinalCloseNotify, VendorKnockOffReportJobProcess, ProcessReport } from '.';
2
+ export type AutologixCommand = CreatePassenger | CreateGSTInformation | TakeOwnershipOfOrganization | CreateSelfDriver | CreateBusinessContext | MarkOrganizationAsRegistered | AssignOwnershipOfDriverContext | ModifyPersonaStatus | ProcessRequestClientAction | ProcessRequestVendorAction | ProcessRequestPredicate | ProcessTripStatus | ProcessDriverAssignment | ProcessVendorAssignment | ProcessRequestUpdate | AttemptTripGeneration | GenerateInstantInvoice | GenerateInvoicePdf | AddOcdDriverEarning | MergePlaceholderDriver | DigestRequestEvent | DigestTripEvent | GenerateBill | SendTripOTP | AssignOwnershipOfPassengerContext | MergePlaceholderPassenger | AddConfigurations | AddFcmToken | CreateRazorPayToken | CreateRazorPayToken | ProcessTripEnd | ProcessTripTrace | UpdateDashBoardCount | AddInvoiceuserToTrip | UpdateRequestUpdatedAt | CreateBulkDriversAndVehicles | DutyCommunications | CreateBaseDutyTypes | UpdateCompanyName | CreateBulkDrivers | CreateBulkVehicles | UpdateVehicleGroupType | ConsolidatedTaxInvoice | GenerateCleartaxIrn | DriverDocsPendingAlert | DriverVerificationPendingAlert | DriverLicenceExpiryAlert | ClientCreationAlert | RegistrationInvitationAlert | SIActivationAlert | SelfRegistrationAlert | UserCreationAlert | UserProfileUpdateAlert | BookingCreationAlert | BookingModificationAlert | BookingCancellationAlert | InvoiceGenerationAlert | PaymentReminderAlert | InvoiceApprovalAlert | PaymentConfirmationAlert | DriverAndVehicleAllocationAlert | TripStartedAlert | PassengerDropOffAlert | GenerateBookingKnockOff | GenerateAutoSummaryKnockOffCommand | GenerateAutoSummaryKnockOffPDFCommand | GenerateBAPayoutSummaryZipCommand | GenerateBAReimbursementSummaryZipCommand | GenerateBAReimbursementCommand | CreateLTRBookingCommand | RMTBReportProcess | BookingExportJobProcess | InvoiceExportJobProcess | InvoiceRegenerationJobProcess | PushToFinance | FinalCloseNotify | VendorKnockOffReportJobProcess | ProcessReport;
@@ -53,6 +53,7 @@ export * from './driver.verification.pending.alert.command';
53
53
  export * from './driver.licence.expiry.alert.command';
54
54
  export * from './client.creation.alert';
55
55
  export * from './registartion.invitation.alert';
56
+ export * from './si.activation.alert.command';
56
57
  export * from './self.registration.alert';
57
58
  export * from './user.creation.alert';
58
59
  export * from './user.profile.update.alert';
@@ -53,6 +53,7 @@ export * from './driver.verification.pending.alert.command';
53
53
  export * from './driver.licence.expiry.alert.command';
54
54
  export * from './client.creation.alert';
55
55
  export * from './registartion.invitation.alert';
56
+ export * from './si.activation.alert.command';
56
57
  export * from './self.registration.alert';
57
58
  export * from './user.creation.alert';
58
59
  export * from './user.profile.update.alert';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/commands/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iDAAiD,CAAC;AAChE,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/commands/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iDAAiD,CAAC;AAChE,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { CommandType } from '../../enums/src/index';
2
+ import { BaseCommand } from './base.command';
3
+ export declare class SIActivationAlert implements BaseCommand {
4
+ type: CommandType;
5
+ clientPersonaId: string;
6
+ vendorContextId: string;
7
+ regUserId: string;
8
+ passengerId: string;
9
+ /**
10
+ * Built by the controller, because minting the single-use token is the step
11
+ * that can fail in a way the operator needs to see straight away.
12
+ */
13
+ activationUrl: string;
14
+ }
@@ -0,0 +1,7 @@
1
+ import { CommandType } from '../../enums/src/index';
2
+ export class SIActivationAlert {
3
+ constructor() {
4
+ this.type = CommandType.SIActivationAlert;
5
+ }
6
+ }
7
+ //# sourceMappingURL=si.activation.alert.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"si.activation.alert.command.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/commands/src/si.activation.alert.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,OAAO,iBAAiB;IAA9B;QACC,SAAI,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAUtC,CAAC;CAAA"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * The SQL-side counterpart to `deriveContractState`.
3
+ *
4
+ * Every contract lookup in Orion resolves a booking with the inclusive
5
+ * predicate `startDate <= pickup AND endDate >= pickup`, where `pickup` is the
6
+ * booking's exact instant. That is a *timestamp* comparison answering what is
7
+ * really a *calendar-day* question, and the two only agree if every stored
8
+ * `endDate` sits on the last millisecond of its IST day.
9
+ *
10
+ * They do not all agree. End-of-day normalisation
11
+ * (`toISTEndOfDay` in `utilities/ist.ts`) only arrived with multi-contract
12
+ * support; rows written before it hold the *start* of their final IST day. For
13
+ * those, a booking picked up at 08:10 IST on the contract's last day fails
14
+ * `endDate >= pickup` and the client falls into a one-day coverage hole —
15
+ * while `deriveContractState`, which compares IST day-keys, correctly reports
16
+ * the same contract as Active. The screen and the query disagree about the
17
+ * same row.
18
+ *
19
+ * Comparing `endDate` against the *start* of the pickup's IST day closes that
20
+ * gap from the query side: any `endDate` anywhere within the pickup's IST day
21
+ * satisfies it, so both the legacy and the normalised convention resolve
22
+ * identically. It cannot over-match — an `endDate` on an earlier day is still
23
+ * strictly less than this bound, so the day after a contract ends is still
24
+ * uncovered.
25
+ *
26
+ * `startDate` is deliberately left comparing against the raw pickup instant:
27
+ * start dates have always been written as IST midnight, so they are already
28
+ * day-aligned and need no widening.
29
+ */
30
+ /**
31
+ * The instant a contract's `endDate` must be `>=` for the contract to cover
32
+ * `pickup` — i.e. IST midnight opening the pickup's own IST calendar day.
33
+ *
34
+ * Use this as the bound for `endDate` in contract-window predicates; keep
35
+ * passing the raw `pickup` for the `startDate` side.
36
+ */
37
+ export declare const contractEndBoundFor: (pickup: Date | string) => Date;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * The SQL-side counterpart to `deriveContractState`.
3
+ *
4
+ * Every contract lookup in Orion resolves a booking with the inclusive
5
+ * predicate `startDate <= pickup AND endDate >= pickup`, where `pickup` is the
6
+ * booking's exact instant. That is a *timestamp* comparison answering what is
7
+ * really a *calendar-day* question, and the two only agree if every stored
8
+ * `endDate` sits on the last millisecond of its IST day.
9
+ *
10
+ * They do not all agree. End-of-day normalisation
11
+ * (`toISTEndOfDay` in `utilities/ist.ts`) only arrived with multi-contract
12
+ * support; rows written before it hold the *start* of their final IST day. For
13
+ * those, a booking picked up at 08:10 IST on the contract's last day fails
14
+ * `endDate >= pickup` and the client falls into a one-day coverage hole —
15
+ * while `deriveContractState`, which compares IST day-keys, correctly reports
16
+ * the same contract as Active. The screen and the query disagree about the
17
+ * same row.
18
+ *
19
+ * Comparing `endDate` against the *start* of the pickup's IST day closes that
20
+ * gap from the query side: any `endDate` anywhere within the pickup's IST day
21
+ * satisfies it, so both the legacy and the normalised convention resolve
22
+ * identically. It cannot over-match — an `endDate` on an earlier day is still
23
+ * strictly less than this bound, so the day after a contract ends is still
24
+ * uncovered.
25
+ *
26
+ * `startDate` is deliberately left comparing against the raw pickup instant:
27
+ * start dates have always been written as IST midnight, so they are already
28
+ * day-aligned and need no widening.
29
+ */
30
+ /** +05:30 in milliseconds. India has no DST, so a constant offset is exact. */
31
+ const IST_OFFSET_MS = (5 * 60 + 30) * 60 * 1000;
32
+ /**
33
+ * The instant a contract's `endDate` must be `>=` for the contract to cover
34
+ * `pickup` — i.e. IST midnight opening the pickup's own IST calendar day.
35
+ *
36
+ * Use this as the bound for `endDate` in contract-window predicates; keep
37
+ * passing the raw `pickup` for the `startDate` side.
38
+ */
39
+ export const contractEndBoundFor = (pickup) => {
40
+ const d = pickup instanceof Date ? pickup : new Date(pickup);
41
+ const ist = new Date(d.getTime() + IST_OFFSET_MS);
42
+ return new Date(Date.UTC(ist.getUTCFullYear(), ist.getUTCMonth(), ist.getUTCDate()) -
43
+ IST_OFFSET_MS);
44
+ };
45
+ //# sourceMappingURL=contract.coverage.bound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.coverage.bound.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/contract-state/src/contract.coverage.bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,+EAA+E;AAC/E,MAAM,aAAa,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAqB,EAAQ,EAAE;IAClE,MAAM,CAAC,GAAG,MAAM,YAAY,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;IAC7D,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,aAAa,CAAC,CAAC;IAClD,OAAO,IAAI,IAAI,CACd,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,GAAG,CAAC,WAAW,EAAE,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;QAClE,aAAa,CACd,CAAC;AACH,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { ContractState } from '../../enums/src/contract.state.enum';
2
2
  export * from './derive.contract.state';
3
+ export * from './contract.coverage.bound';
@@ -4,4 +4,5 @@
4
4
  // `import { ContractState } from '@autologix/shared/contract-state'` fails.
5
5
  export { ContractState } from '../../enums/src/contract.state.enum';
6
6
  export * from './derive.contract.state';
7
+ export * from './contract.coverage.bound';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/contract-state/src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,yEAAyE;AACzE,gEAAgE;AAChE,4EAA4E;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/contract-state/src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,yEAAyE;AACzE,gEAAgE;AAChE,4EAA4E;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare class DiscardBusinessAssociatePayoutDraftDTO {
2
+ baPayoutDraftId: string;
3
+ passengerID?: string;
4
+ editorName?: string;
5
+ editorEmail?: string;
6
+ constructor(obj?: Partial<DiscardBusinessAssociatePayoutDraftDTO>);
7
+ }
@@ -0,0 +1,28 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { IsNotEmpty, IsOptional, IsString, IsUUID } from 'class-validator';
3
+ export class DiscardBusinessAssociatePayoutDraftDTO {
4
+ constructor(obj) {
5
+ Object.assign(this, obj);
6
+ }
7
+ }
8
+ __decorate([
9
+ IsUUID(),
10
+ IsNotEmpty(),
11
+ __metadata("design:type", String)
12
+ ], DiscardBusinessAssociatePayoutDraftDTO.prototype, "baPayoutDraftId", void 0);
13
+ __decorate([
14
+ IsUUID(),
15
+ IsOptional(),
16
+ __metadata("design:type", String)
17
+ ], DiscardBusinessAssociatePayoutDraftDTO.prototype, "passengerID", void 0);
18
+ __decorate([
19
+ IsString(),
20
+ IsOptional(),
21
+ __metadata("design:type", String)
22
+ ], DiscardBusinessAssociatePayoutDraftDTO.prototype, "editorName", void 0);
23
+ __decorate([
24
+ IsString(),
25
+ IsOptional(),
26
+ __metadata("design:type", String)
27
+ ], DiscardBusinessAssociatePayoutDraftDTO.prototype, "editorEmail", void 0);
28
+ //# sourceMappingURL=discard.business.associate.payout.draft.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discard.business.associate.payout.draft.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/discard.business.associate.payout.draft.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE3E,MAAM,OAAO,sCAAsC;IAiBlD,YAAY,GAAqD;QAChE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAjBA;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;+EACW;AAIxB;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;2EACQ;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;0EACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;2EACQ"}
@@ -9,6 +9,7 @@ export * from './change.password.dto';
9
9
  export * from './send.reset.password.otp.dto';
10
10
  export * from './verify.reset.otp.dto';
11
11
  export * from './send.email.login.otp.dto';
12
+ export * from './send.ltr.sign.off.otp.dto';
12
13
  export * from './get.token.dto';
13
14
  export * from './verify.2FA.dto';
14
15
  export * from './get.registered.user.ltr.dto';
@@ -9,6 +9,7 @@ export * from './change.password.dto';
9
9
  export * from './send.reset.password.otp.dto';
10
10
  export * from './verify.reset.otp.dto';
11
11
  export * from './send.email.login.otp.dto';
12
+ export * from './send.ltr.sign.off.otp.dto';
12
13
  export * from './get.token.dto';
13
14
  export * from './verify.2FA.dto';
14
15
  export * from './get.registered.user.ltr.dto';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/gatekeeper/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/gatekeeper/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC"}
@@ -1,10 +1,47 @@
1
+ import { AlertChannel } from '../../../enums/src/alert.channel.enum';
1
2
  import { AppType } from '../../../enums/src/app.type.enum';
3
+ import { OtpScope } from '../../../enums/src/otp.scope.enum';
2
4
  export declare class SendEmailLoginOtpDTO {
3
5
  regUsrId: string;
4
6
  url?: string;
5
7
  recaptchaToken?: string;
6
8
  app?: AppType;
9
+ /**
10
+ * Overrides the code length for this send.
11
+ *
12
+ * Callers that know a more specific length than the host's white-label
13
+ * default pass it here — the LTR sign-off takes it from the booking
14
+ * client's own `ClientConfiguration.ltrOtpLength`. Omitted, the
15
+ * white-label value (or the 4-digit default) stands.
16
+ */
17
+ otpDigits?: number;
18
+ /**
19
+ * Which credential slot the code is written to. Defaults to `Login`, so
20
+ * every existing caller keeps today's behaviour.
21
+ */
22
+ otpScope?: OtpScope;
7
23
  constructor(obj?: Partial<SendEmailLoginOtpDTO>);
8
24
  }
9
25
  export declare class SendEmailLoginOtpRequestDTO extends SendEmailLoginOtpDTO {
10
26
  }
27
+ /**
28
+ * What `sendOTP` takes: everything `sendLoginOTP` accepts, plus the recipient's
29
+ * channel preference.
30
+ *
31
+ * A type of its own rather than another optional field on the login DTO,
32
+ * because `sendLoginOTP` cannot honour a preference — it is fixed at email then
33
+ * SMS, and every login caller depends on that. A field it would silently ignore
34
+ * does not belong on its input.
35
+ */
36
+ export declare class SendOtpDTO extends SendEmailLoginOtpDTO {
37
+ /**
38
+ * Which channels the recipient accepts — their `Passenger.nofiPreference`.
39
+ *
40
+ * The order here does not matter: delivery always walks Email → SMS →
41
+ * WhatsApp and takes the first channel that is both listed and reachable.
42
+ * Omitted or empty means the recipient never chose, which is read as all
43
+ * three — the same reading the alert handlers give an unset preference.
44
+ */
45
+ channels?: AlertChannel[];
46
+ constructor(obj?: Partial<SendOtpDTO>);
47
+ }
@@ -1,6 +1,8 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { IsEnum, IsOptional, IsString, IsUUID } from 'class-validator';
2
+ import { IsArray, IsEnum, IsInt, IsOptional, IsString, IsUUID, Max, Min, } from 'class-validator';
3
+ import { AlertChannel } from '../../../enums/src/alert.channel.enum';
3
4
  import { AppType } from '../../../enums/src/app.type.enum';
5
+ import { OtpScope } from '../../../enums/src/otp.scope.enum';
4
6
  export class SendEmailLoginOtpDTO {
5
7
  constructor(obj) {
6
8
  Object.assign(this, obj);
@@ -25,6 +27,39 @@ __decorate([
25
27
  IsEnum(AppType),
26
28
  __metadata("design:type", String)
27
29
  ], SendEmailLoginOtpDTO.prototype, "app", void 0);
30
+ __decorate([
31
+ IsOptional(),
32
+ IsInt(),
33
+ Min(4),
34
+ Max(8),
35
+ __metadata("design:type", Number)
36
+ ], SendEmailLoginOtpDTO.prototype, "otpDigits", void 0);
37
+ __decorate([
38
+ IsOptional(),
39
+ IsEnum(OtpScope),
40
+ __metadata("design:type", String)
41
+ ], SendEmailLoginOtpDTO.prototype, "otpScope", void 0);
28
42
  export class SendEmailLoginOtpRequestDTO extends SendEmailLoginOtpDTO {
29
43
  }
44
+ /**
45
+ * What `sendOTP` takes: everything `sendLoginOTP` accepts, plus the recipient's
46
+ * channel preference.
47
+ *
48
+ * A type of its own rather than another optional field on the login DTO,
49
+ * because `sendLoginOTP` cannot honour a preference — it is fixed at email then
50
+ * SMS, and every login caller depends on that. A field it would silently ignore
51
+ * does not belong on its input.
52
+ */
53
+ export class SendOtpDTO extends SendEmailLoginOtpDTO {
54
+ constructor(obj) {
55
+ super(obj);
56
+ Object.assign(this, obj);
57
+ }
58
+ }
59
+ __decorate([
60
+ IsOptional(),
61
+ IsArray(),
62
+ IsEnum(AlertChannel, { each: true }),
63
+ __metadata("design:type", Array)
64
+ ], SendOtpDTO.prototype, "channels", void 0);
30
65
  //# sourceMappingURL=send.email.login.otp.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"send.email.login.otp.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,MAAM,OAAO,oBAAoB;IAgBhC,YAAY,GAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAjBA;IADC,MAAM,EAAE;;sDACQ;AAIjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACE;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACa;AAIxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,OAAO,CAAC;;iDACF;AAOf,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;CAAG"}
1
+ {"version":3,"file":"send.email.login.otp.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/gatekeeper/send.email.login.otp.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,EACH,GAAG,GACH,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,MAAM,OAAO,oBAAoB;IAsChC,YAAY,GAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAvCA;IADC,MAAM,EAAE;;sDACQ;AAIjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACE;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACa;AAIxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,OAAO,CAAC;;iDACF;AAcd;IAJC,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,GAAG,CAAC,CAAC,CAAC;;uDACY;AAQnB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,CAAC;;sDACG;AAOrB,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;CAAG;AAExE;;;;;;;;GAQG;AACH,MAAM,OAAO,UAAW,SAAQ,oBAAoB;IAcnD,YAAY,GAAyB;QACpC,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AANA;IAHC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,MAAM,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4CACX"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Requests the verification code an LTR sign-off needs.
3
+ *
4
+ * The code is delivered to the **renter** mapped to the booking's LTR vehicle,
5
+ * who then reads it back to the driver. The app identifies only the booking and
6
+ * itself — the renter is resolved server-side, so the renter's registered-user
7
+ * id never reaches the driver's device.
8
+ */
9
+ export declare class SendLTRSignOffOtpDTO {
10
+ /** The booking being signed off. */
11
+ requestId: string;
12
+ /** The requesting driver, for the booking authorisation check. */
13
+ registeredUserId: string;
14
+ /** White-label host, which selects the OTP length and branding. */
15
+ url?: string;
16
+ constructor(obj?: Partial<SendLTRSignOffOtpDTO>);
17
+ }
@@ -0,0 +1,29 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { IsOptional, IsString, IsUUID } from 'class-validator';
3
+ /**
4
+ * Requests the verification code an LTR sign-off needs.
5
+ *
6
+ * The code is delivered to the **renter** mapped to the booking's LTR vehicle,
7
+ * who then reads it back to the driver. The app identifies only the booking and
8
+ * itself — the renter is resolved server-side, so the renter's registered-user
9
+ * id never reaches the driver's device.
10
+ */
11
+ export class SendLTRSignOffOtpDTO {
12
+ constructor(obj) {
13
+ Object.assign(this, obj);
14
+ }
15
+ }
16
+ __decorate([
17
+ IsUUID(),
18
+ __metadata("design:type", String)
19
+ ], SendLTRSignOffOtpDTO.prototype, "requestId", void 0);
20
+ __decorate([
21
+ IsUUID(4),
22
+ __metadata("design:type", String)
23
+ ], SendLTRSignOffOtpDTO.prototype, "registeredUserId", void 0);
24
+ __decorate([
25
+ IsOptional(),
26
+ IsString(),
27
+ __metadata("design:type", String)
28
+ ], SendLTRSignOffOtpDTO.prototype, "url", void 0);
29
+ //# sourceMappingURL=send.ltr.sign.off.otp.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send.ltr.sign.off.otp.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/gatekeeper/send.ltr.sign.off.otp.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE/D;;;;;;;GAOG;AACH,MAAM,OAAO,oBAAoB;IAchC,YAAY,GAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAdA;IADC,MAAM,EAAE;;uDACS;AAIlB;IADC,MAAM,CAAC,CAAC,CAAC;;8DACe;AAKzB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iDACE"}
@@ -0,0 +1,11 @@
1
+ export declare class GetBusinessAssociatePayoutDraftDTO {
2
+ contextId: string;
3
+ /** Narrow to a single period. Omit to get every open draft in the context. */
4
+ timePeriodId?: string;
5
+ /**
6
+ * Omit / false to get the lightweight listing shape (no row payloads) used
7
+ * by the payout listing banner. Set to resume a draft on the generation screen.
8
+ */
9
+ includeRows?: boolean;
10
+ constructor(obj?: Partial<GetBusinessAssociatePayoutDraftDTO>);
11
+ }
@@ -0,0 +1,25 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { IsBoolean, IsNotEmpty, IsOptional, IsUUID } from 'class-validator';
3
+ import { Transform } from 'class-transformer';
4
+ export class GetBusinessAssociatePayoutDraftDTO {
5
+ constructor(obj) {
6
+ Object.assign(this, obj);
7
+ }
8
+ }
9
+ __decorate([
10
+ IsUUID(),
11
+ IsNotEmpty(),
12
+ __metadata("design:type", String)
13
+ ], GetBusinessAssociatePayoutDraftDTO.prototype, "contextId", void 0);
14
+ __decorate([
15
+ IsUUID(),
16
+ IsOptional(),
17
+ __metadata("design:type", String)
18
+ ], GetBusinessAssociatePayoutDraftDTO.prototype, "timePeriodId", void 0);
19
+ __decorate([
20
+ IsBoolean(),
21
+ IsOptional(),
22
+ Transform(({ value }) => value === true || value === 'true'),
23
+ __metadata("design:type", Boolean)
24
+ ], GetBusinessAssociatePayoutDraftDTO.prototype, "includeRows", void 0);
25
+ //# sourceMappingURL=get.business.associate.payout.draft.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.business.associate.payout.draft.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.business.associate.payout.draft.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,MAAM,OAAO,kCAAkC;IAmB9C,YAAY,GAAiD;QAC5D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAnBA;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;qEACK;AAKlB;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;;wEACS;AAStB;IAHC,SAAS,EAAE;IACX,UAAU,EAAE;IACZ,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,MAAM,CAAC;;uEACvC"}
@@ -1,4 +1,5 @@
1
1
  export declare class GetLTRDriverBookingsDTO {
2
- registeredUserId: string;
2
+ registeredUserId?: string;
3
+ vehicleNumber: string;
3
4
  constructor(obj?: Partial<GetLTRDriverBookingsDTO>);
4
5
  }
@@ -1,12 +1,17 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { IsUUID } from 'class-validator';
2
+ import { IsOptional, IsString, IsUUID } from 'class-validator';
3
3
  export class GetLTRDriverBookingsDTO {
4
4
  constructor(obj) {
5
5
  Object.assign(this, obj);
6
6
  }
7
7
  }
8
8
  __decorate([
9
+ IsOptional(),
9
10
  IsUUID(4),
10
11
  __metadata("design:type", String)
11
12
  ], GetLTRDriverBookingsDTO.prototype, "registeredUserId", void 0);
13
+ __decorate([
14
+ IsString(),
15
+ __metadata("design:type", String)
16
+ ], GetLTRDriverBookingsDTO.prototype, "vehicleNumber", void 0);
12
17
  //# sourceMappingURL=get.ltr.driver.bookings.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get.ltr.driver.bookings.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,MAAM,OAAO,uBAAuB;IAInC,YAAY,GAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AALA;IADC,MAAM,CAAC,CAAC,CAAC;;iEACe"}
1
+ {"version":3,"file":"get.ltr.driver.bookings.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.ltr.driver.bookings.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,OAAO,uBAAuB;IAQnC,YAAY,GAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AARA;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,CAAC,CAAC;;iEACgB;AAG1B;IADC,QAAQ,EAAE;;8DACW"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Monthly Sign Off — Preview Details screen. (AD-3206)
3
+ *
4
+ * Everything the screen shows is computed by the backend from the daily logs
5
+ * already on record, scoped to the signing driver and the given month. The app
6
+ * sends nothing to compute.
7
+ */
8
+ export declare class GetLTRDriverMonthlySignOffPreviewDTO {
9
+ /** The booking whose month is being previewed. */
10
+ requestId: string;
11
+ /**
12
+ * The signing driver. Totals, the day list and the incomplete days are all
13
+ * computed for this driver alone — a booking can have more than one driver
14
+ * in a month through replacement.
15
+ */
16
+ registeredUserId: string;
17
+ /** The month being previewed, as `YYYY-MM`. */
18
+ month: string;
19
+ contextId?: string;
20
+ constructor(obj?: Partial<GetLTRDriverMonthlySignOffPreviewDTO>);
21
+ }
@@ -0,0 +1,35 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { IsOptional, IsString, IsUUID, Matches } from 'class-validator';
3
+ /**
4
+ * Monthly Sign Off — Preview Details screen. (AD-3206)
5
+ *
6
+ * Everything the screen shows is computed by the backend from the daily logs
7
+ * already on record, scoped to the signing driver and the given month. The app
8
+ * sends nothing to compute.
9
+ */
10
+ export class GetLTRDriverMonthlySignOffPreviewDTO {
11
+ constructor(obj) {
12
+ Object.assign(this, obj);
13
+ }
14
+ }
15
+ __decorate([
16
+ IsUUID(),
17
+ __metadata("design:type", String)
18
+ ], GetLTRDriverMonthlySignOffPreviewDTO.prototype, "requestId", void 0);
19
+ __decorate([
20
+ IsUUID(4),
21
+ __metadata("design:type", String)
22
+ ], GetLTRDriverMonthlySignOffPreviewDTO.prototype, "registeredUserId", void 0);
23
+ __decorate([
24
+ Matches(/^\d{4}-(0[1-9]|1[0-2])$/, {
25
+ message: 'month must be in YYYY-MM format',
26
+ }),
27
+ IsString(),
28
+ __metadata("design:type", String)
29
+ ], GetLTRDriverMonthlySignOffPreviewDTO.prototype, "month", void 0);
30
+ __decorate([
31
+ IsOptional(),
32
+ IsUUID(),
33
+ __metadata("design:type", String)
34
+ ], GetLTRDriverMonthlySignOffPreviewDTO.prototype, "contextId", void 0);
35
+ //# sourceMappingURL=get.ltr.driver.monthly.sign.off.preview.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.ltr.driver.monthly.sign.off.preview.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.ltr.driver.monthly.sign.off.preview.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,OAAO,oCAAoC;IAwBhD,YAAY,GAAmD;QAC9D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAxBA;IADC,MAAM,EAAE;;uEACS;AAQlB;IADC,MAAM,CAAC,CAAC,CAAC;;8EACe;AAOzB;IAJC,OAAO,CAAC,yBAAyB,EAAE;QACnC,OAAO,EAAE,iCAAiC;KAC1C,CAAC;IACD,QAAQ,EAAE;;mEACG;AAId;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;uEACU"}
@@ -424,14 +424,21 @@ export * from './get.pending.knockoffs.dto';
424
424
  export * from './get.vendor.knock.off.history.dto';
425
425
  export * from './get.standing.instructions.dto';
426
426
  export * from './si.setup.dto';
427
+ export * from './si.setup.by.token.dto';
428
+ export * from './send.si.activation.link.dto';
427
429
  export * from './get.si.status.dto';
428
430
  export * from './get.business.associate.payout.invalid.rows.dto';
429
431
  export * from './calculate.business.associate.payout.rows.dto';
430
432
  export * from './calculate.ltr.payout.rows.dto';
431
433
  export * from './add.ltr.payout.rows.dto';
432
434
  export * from './update.ltr.payout.rows.dto';
435
+ export * from './sign.off.ltr.payout.entry.dto';
436
+ export * from './sign.off.ltr.payout.month.dto';
433
437
  export * from './get.business.associate.payout.summary.dto';
434
438
  export * from './save.business.associate.payout.dto';
439
+ export * from './save.business.associate.payout.draft.dto';
440
+ export * from './discard.business.associate.payout.draft.dto';
441
+ export * from './get.business.associate.payout.draft.dto';
435
442
  export * from './cancel.business.associate.payout.dto';
436
443
  export * from './get.own.driver.reimbursement.dto';
437
444
  export * from './get.od.generated.reimbursements.dto';
@@ -524,4 +531,5 @@ export * from './update.placard.fields.config.dto';
524
531
  export * from './get.vip.contacts.dto';
525
532
  export * from './get.ltr.driver.bookings.dto';
526
533
  export * from './get.ltr.driver.payout.rows.dto';
534
+ export * from './get.ltr.driver.monthly.sign.off.preview.dto';
527
535
  export * from './unblock.user.dto';
@@ -424,14 +424,21 @@ export * from './get.pending.knockoffs.dto';
424
424
  export * from './get.vendor.knock.off.history.dto';
425
425
  export * from './get.standing.instructions.dto';
426
426
  export * from './si.setup.dto';
427
+ export * from './si.setup.by.token.dto';
428
+ export * from './send.si.activation.link.dto';
427
429
  export * from './get.si.status.dto';
428
430
  export * from './get.business.associate.payout.invalid.rows.dto';
429
431
  export * from './calculate.business.associate.payout.rows.dto';
430
432
  export * from './calculate.ltr.payout.rows.dto';
431
433
  export * from './add.ltr.payout.rows.dto';
432
434
  export * from './update.ltr.payout.rows.dto';
435
+ export * from './sign.off.ltr.payout.entry.dto';
436
+ export * from './sign.off.ltr.payout.month.dto';
433
437
  export * from './get.business.associate.payout.summary.dto';
434
438
  export * from './save.business.associate.payout.dto';
439
+ export * from './save.business.associate.payout.draft.dto';
440
+ export * from './discard.business.associate.payout.draft.dto';
441
+ export * from './get.business.associate.payout.draft.dto';
435
442
  export * from './cancel.business.associate.payout.dto';
436
443
  export * from './get.own.driver.reimbursement.dto';
437
444
  export * from './get.od.generated.reimbursements.dto';
@@ -524,5 +531,6 @@ export * from './update.placard.fields.config.dto';
524
531
  export * from './get.vip.contacts.dto';
525
532
  export * from './get.ltr.driver.bookings.dto';
526
533
  export * from './get.ltr.driver.payout.rows.dto';
534
+ export * from './get.ltr.driver.monthly.sign.off.preview.dto';
527
535
  export * from './unblock.user.dto';
528
536
  //# sourceMappingURL=index.js.map