@autologix-engineering/shared 1.2.329 → 1.2.331
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 +1 -1
- package/src/index.d.ts +0 -1
- package/src/index.js +0 -1
- package/src/index.js.map +1 -1
- package/src/lib/commands/src/generate.pdf.invoice.d.ts +1 -0
- package/src/lib/commands/src/generate.pdf.invoice.js.map +1 -1
- package/src/lib/commands/src/invoice.generation.alert.command.d.ts +1 -9
- package/src/lib/commands/src/invoice.generation.alert.command.js.map +1 -1
- package/src/lib/data-transfer-objects/src/bill.calculation.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/bill.calculation.dto.js +0 -5
- package/src/lib/data-transfer-objects/src/bill.calculation.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.js +0 -5
- package/src/lib/data-transfer-objects/src/command/add.ltr.vehicle.master.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/index.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/command/index.js +0 -1
- package/src/lib/data-transfer-objects/src/command/index.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/invite.placeholder.user.to.context.dto.d.ts +0 -2
- package/src/lib/data-transfer-objects/src/command/invite.placeholder.user.to.context.dto.js +0 -10
- package/src/lib/data-transfer-objects/src/command/invite.placeholder.user.to.context.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/post.corporate.alerts.dto.d.ts +1 -19
- package/src/lib/data-transfer-objects/src/command/post.corporate.alerts.dto.js +2 -26
- package/src/lib/data-transfer-objects/src/command/post.corporate.alerts.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.d.ts +1 -1
- package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.js +0 -1
- package/src/lib/data-transfer-objects/src/command/update.ltr.request.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/command/update.passenger.dto.d.ts +0 -2
- package/src/lib/data-transfer-objects/src/command/update.passenger.dto.js +0 -10
- package/src/lib/data-transfer-objects/src/command/update.passenger.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/copy.client.rate.cards.dto.d.ts +0 -10
- package/src/lib/data-transfer-objects/src/copy.client.rate.cards.dto.js +0 -5
- package/src/lib/data-transfer-objects/src/copy.client.rate.cards.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.js +1 -8
- package/src/lib/data-transfer-objects/src/gatekeeper/create.onboarding.user.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.js +1 -8
- package/src/lib/data-transfer-objects/src/gatekeeper/get.user.by.phone.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/index.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/index.js +0 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/index.js.map +1 -1
- package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.d.ts +5 -0
- package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.js +19 -0
- package/src/lib/data-transfer-objects/src/get.ext.available.ratecards.dto.js.map +1 -0
- package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.js +2 -9
- package/src/lib/data-transfer-objects/src/get.ltr.vehicle.master.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/get.pool.ltr.monthly.data.dto.d.ts +0 -6
- package/src/lib/data-transfer-objects/src/get.pool.ltr.monthly.data.dto.js +1 -6
- package/src/lib/data-transfer-objects/src/get.pool.ltr.monthly.data.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/index.d.ts +2 -7
- package/src/lib/data-transfer-objects/src/index.js +2 -7
- package/src/lib/data-transfer-objects/src/index.js.map +1 -1
- package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.d.ts +0 -1
- package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.js +1 -6
- package/src/lib/data-transfer-objects/src/passenger.persona.custom.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/query/add.additional.charges.dto.d.ts +0 -2
- package/src/lib/data-transfer-objects/src/query/add.additional.charges.dto.js +0 -10
- package/src/lib/data-transfer-objects/src/query/add.additional.charges.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/query/index.d.ts +0 -2
- package/src/lib/data-transfer-objects/src/query/index.js +0 -2
- package/src/lib/data-transfer-objects/src/query/index.js.map +1 -1
- package/src/lib/data-transfer-objects/src/update.global.config.dto.d.ts +0 -2
- package/src/lib/data-transfer-objects/src/update.global.config.dto.js +0 -12
- package/src/lib/data-transfer-objects/src/update.global.config.dto.js.map +1 -1
- package/src/lib/enums/src/alert.command.types.js +1 -1
- package/src/lib/enums/src/alert.command.types.js.map +1 -1
- package/src/lib/enums/src/charge.type.enum.d.ts +1 -2
- package/src/lib/enums/src/charge.type.enum.js +0 -1
- package/src/lib/enums/src/charge.type.enum.js.map +1 -1
- package/src/lib/enums/src/cities.enum.d.ts +8 -2
- package/src/lib/enums/src/cities.enum.js +7 -1
- package/src/lib/enums/src/cities.enum.js.map +1 -1
- package/src/lib/enums/src/city.state.mapping.js +6 -0
- package/src/lib/enums/src/city.state.mapping.js.map +1 -1
- package/src/lib/enums/src/command.type.enum.d.ts +2 -8
- package/src/lib/enums/src/command.type.enum.js +1 -8
- package/src/lib/enums/src/command.type.enum.js.map +1 -1
- package/src/lib/enums/src/corporate.alerts.configAlert.enum.d.ts +0 -11
- package/src/lib/enums/src/corporate.alerts.configAlert.enum.js +0 -12
- package/src/lib/enums/src/corporate.alerts.configAlert.enum.js.map +1 -1
- package/src/lib/enums/src/external.alert.type.variable.map.js +0 -2
- package/src/lib/enums/src/external.alert.type.variable.map.js.map +1 -1
- package/src/lib/enums/src/index.d.ts +0 -3
- package/src/lib/enums/src/index.js +0 -3
- package/src/lib/enums/src/index.js.map +1 -1
- package/src/lib/enums/src/model.enum.d.ts +0 -1
- package/src/lib/enums/src/model.enum.js +0 -1
- package/src/lib/enums/src/model.enum.js.map +1 -1
- package/src/lib/enums/src/others.default.data.js +0 -5
- package/src/lib/enums/src/others.default.data.js.map +1 -1
- package/src/lib/enums/src/query.type.enum.d.ts +2 -4
- package/src/lib/enums/src/query.type.enum.js +1 -4
- package/src/lib/enums/src/query.type.enum.js.map +1 -1
- package/src/lib/models/src/additional.charges.model.d.ts +1 -11
- package/src/lib/models/src/additional.charges.model.js +0 -15
- package/src/lib/models/src/additional.charges.model.js.map +1 -1
- package/src/lib/models/src/alert.config.model.d.ts +1 -9
- package/src/lib/models/src/alert.config.model.js +0 -4
- package/src/lib/models/src/alert.config.model.js.map +1 -1
- package/src/lib/models/src/client.configuration.model.d.ts +2 -9
- package/src/lib/models/src/client.configuration.model.js +0 -3
- package/src/lib/models/src/client.configuration.model.js.map +1 -1
- package/src/lib/models/src/configurations.model.d.ts +1 -5
- package/src/lib/models/src/configurations.model.js +0 -2
- package/src/lib/models/src/configurations.model.js.map +1 -1
- package/src/lib/models/src/contract.terms.model.d.ts +1 -16
- package/src/lib/models/src/contract.terms.model.js +0 -3
- package/src/lib/models/src/contract.terms.model.js.map +1 -1
- package/src/lib/models/src/index.d.ts +0 -2
- package/src/lib/models/src/index.js +0 -2
- package/src/lib/models/src/index.js.map +1 -1
- package/src/lib/models/src/internal.alert.template.model.d.ts +1 -3
- package/src/lib/models/src/internal.alert.template.model.js +0 -1
- package/src/lib/models/src/internal.alert.template.model.js.map +1 -1
- package/src/lib/models/src/ltr.vehicle.master.model.d.ts +0 -2
- package/src/lib/models/src/ltr.vehicle.master.model.js +0 -1
- package/src/lib/models/src/ltr.vehicle.master.model.js.map +1 -1
- package/src/lib/models/src/master.city.model.d.ts +1 -3
- package/src/lib/models/src/master.city.model.js +0 -1
- package/src/lib/models/src/master.city.model.js.map +1 -1
- package/src/lib/models/src/passenger.model.d.ts +0 -9
- package/src/lib/models/src/passenger.model.js +0 -4
- package/src/lib/models/src/passenger.model.js.map +1 -1
- package/src/lib/models/src/passenger.persona.model.d.ts +2 -18
- package/src/lib/models/src/passenger.persona.model.js +0 -8
- package/src/lib/models/src/passenger.persona.model.js.map +1 -1
- package/src/lib/models/src/vehicle.model.d.ts +1 -5
- package/src/lib/models/src/vehicle.model.js +0 -2
- package/src/lib/models/src/vehicle.model.js.map +1 -1
- package/src/lib/routes/src/command.registry.routes.d.ts +0 -6
- package/src/lib/routes/src/command.registry.routes.js +0 -6
- package/src/lib/routes/src/command.registry.routes.js.map +1 -1
- package/src/lib/routes/src/gatekeeper.routes.d.ts +1 -2
- package/src/lib/routes/src/gatekeeper.routes.js +0 -1
- package/src/lib/routes/src/gatekeeper.routes.js.map +1 -1
- package/src/lib/routes/src/query.service.routes.d.ts +1 -3
- package/src/lib/routes/src/query.service.routes.js +1 -3
- package/src/lib/routes/src/query.service.routes.js.map +1 -1
- package/src/lib/utilities/src/index.d.ts +0 -2
- package/src/lib/utilities/src/index.js +0 -2
- package/src/lib/utilities/src/index.js.map +1 -1
- package/src/lib/utilities/src/ist.d.ts +0 -13
- package/src/lib/utilities/src/ist.js +0 -19
- package/src/lib/utilities/src/ist.js.map +1 -1
- package/src/lib/contract-state/src/derive.contract.state.d.ts +0 -42
- package/src/lib/contract-state/src/derive.contract.state.js +0 -86
- package/src/lib/contract-state/src/derive.contract.state.js.map +0 -1
- package/src/lib/contract-state/src/index.d.ts +0 -2
- package/src/lib/contract-state/src/index.js +0 -7
- package/src/lib/contract-state/src/index.js.map +0 -1
- package/src/lib/data-transfer-objects/src/command/cancel.contract.terms.dto.d.ts +0 -6
- package/src/lib/data-transfer-objects/src/command/cancel.contract.terms.dto.js +0 -21
- package/src/lib/data-transfer-objects/src/command/cancel.contract.terms.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.d.ts +0 -7
- package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.js +0 -21
- package/src/lib/data-transfer-objects/src/gatekeeper/get.registered.user.ltr.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/get.additional.charges.by.contract.dto.d.ts +0 -6
- package/src/lib/data-transfer-objects/src/get.additional.charges.by.contract.dto.js +0 -23
- package/src/lib/data-transfer-objects/src/get.additional.charges.by.contract.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/get.rate.card.source.contracts.dto.d.ts +0 -13
- package/src/lib/data-transfer-objects/src/get.rate.card.source.contracts.dto.js +0 -21
- package/src/lib/data-transfer-objects/src/get.rate.card.source.contracts.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/get.service.postponed.vehicles.dto.d.ts +0 -6
- package/src/lib/data-transfer-objects/src/get.service.postponed.vehicles.dto.js +0 -24
- package/src/lib/data-transfer-objects/src/get.service.postponed.vehicles.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/query/cancel.additional.charge.dto.d.ts +0 -4
- package/src/lib/data-transfer-objects/src/query/cancel.additional.charge.dto.js +0 -12
- package/src/lib/data-transfer-objects/src/query/cancel.additional.charge.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/query/update.active.additional.charge.dto.d.ts +0 -21
- package/src/lib/data-transfer-objects/src/query/update.active.additional.charge.dto.js +0 -93
- package/src/lib/data-transfer-objects/src/query/update.active.additional.charge.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.d.ts +0 -6
- package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.js +0 -20
- package/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/update.master.city.dead.mileage.dto.d.ts +0 -5
- package/src/lib/data-transfer-objects/src/update.master.city.dead.mileage.dto.js +0 -17
- package/src/lib/data-transfer-objects/src/update.master.city.dead.mileage.dto.js.map +0 -1
- package/src/lib/data-transfer-objects/src/update.vehicle.service.postpone.dto.d.ts +0 -7
- package/src/lib/data-transfer-objects/src/update.vehicle.service.postpone.dto.js +0 -30
- package/src/lib/data-transfer-objects/src/update.vehicle.service.postpone.dto.js.map +0 -1
- package/src/lib/enums/src/contract.state.enum.d.ts +0 -18
- package/src/lib/enums/src/contract.state.enum.js +0 -20
- package/src/lib/enums/src/contract.state.enum.js.map +0 -1
- package/src/lib/enums/src/ltr.font.enum.d.ts +0 -5
- package/src/lib/enums/src/ltr.font.enum.js +0 -7
- package/src/lib/enums/src/ltr.font.enum.js.map +0 -1
- package/src/lib/enums/src/retry.task.enum.d.ts +0 -28
- package/src/lib/enums/src/retry.task.enum.js +0 -31
- package/src/lib/enums/src/retry.task.enum.js.map +0 -1
- package/src/lib/models/src/ltr.log.confirmation.model.d.ts +0 -30
- package/src/lib/models/src/ltr.log.confirmation.model.js +0 -15
- package/src/lib/models/src/ltr.log.confirmation.model.js.map +0 -1
- package/src/lib/models/src/retry.task.model.d.ts +0 -56
- package/src/lib/models/src/retry.task.model.js +0 -26
- package/src/lib/models/src/retry.task.model.js.map +0 -1
- package/src/lib/utilities/src/invoice.generation.alert.util.d.ts +0 -7
- package/src/lib/utilities/src/invoice.generation.alert.util.js +0 -16
- package/src/lib/utilities/src/invoice.generation.alert.util.js.map +0 -1
- package/src/lib/utilities/src/ltr.cycle.month.index.d.ts +0 -1
- package/src/lib/utilities/src/ltr.cycle.month.index.js +0 -9
- package/src/lib/utilities/src/ltr.cycle.month.index.js.map +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Transform } from 'class-transformer';
|
|
3
|
-
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
|
4
|
-
export class GetServicePostponedVehiclesDTO {
|
|
5
|
-
constructor(obj) {
|
|
6
|
-
Object.assign(this, obj);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
IsNumber(),
|
|
11
|
-
Transform(Number),
|
|
12
|
-
__metadata("design:type", Number)
|
|
13
|
-
], GetServicePostponedVehiclesDTO.prototype, "skip", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
IsNumber(),
|
|
16
|
-
Transform(Number),
|
|
17
|
-
__metadata("design:type", Number)
|
|
18
|
-
], GetServicePostponedVehiclesDTO.prototype, "take", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
IsOptional(),
|
|
21
|
-
IsString(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], GetServicePostponedVehiclesDTO.prototype, "searchText", void 0);
|
|
24
|
-
//# sourceMappingURL=get.service.postponed.vehicles.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get.service.postponed.vehicles.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.service.postponed.vehicles.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,OAAO,8BAA8B;IAc1C,YAAY,GAA6C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAdA;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;4DACL;AAIb;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;4DACL;AAKb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;kEACS"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsUUID } from 'class-validator';
|
|
3
|
-
export class CancelAdditionalChargeDTO {
|
|
4
|
-
constructor(obj) {
|
|
5
|
-
Object.assign(this, obj);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
__decorate([
|
|
9
|
-
IsUUID(),
|
|
10
|
-
__metadata("design:type", String)
|
|
11
|
-
], CancelAdditionalChargeDTO.prototype, "surchargeId", void 0);
|
|
12
|
-
//# sourceMappingURL=cancel.additional.charge.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancel.additional.charge.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/query/cancel.additional.charge.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,MAAM,OAAO,yBAAyB;IAIrC,YAAY,GAAwC;QACnD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AALA;IADC,MAAM,EAAE;;8DACW"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChargeTimeType, ChargeType, ChargeUnit, FuelChargeType } from '../../../enums/src/index';
|
|
2
|
-
export declare class UpdateActiveAdditionalChargeDTO {
|
|
3
|
-
surchargeId: string;
|
|
4
|
-
price?: number;
|
|
5
|
-
chrgeType?: ChargeType;
|
|
6
|
-
chrgeTimeType?: ChargeTimeType;
|
|
7
|
-
starthrs?: number;
|
|
8
|
-
endhrs?: number;
|
|
9
|
-
surchargeUnit?: ChargeUnit;
|
|
10
|
-
surchargeRefDate?: string;
|
|
11
|
-
remainder?: boolean;
|
|
12
|
-
applyNegativeSurcharge?: boolean;
|
|
13
|
-
fuelChargeType?: FuelChargeType;
|
|
14
|
-
fuelRateCharge?: number;
|
|
15
|
-
clientSurcharge?: number;
|
|
16
|
-
bsnsCntxtId?: string;
|
|
17
|
-
contractTermsId?: string;
|
|
18
|
-
effectiveFrom?: string | null;
|
|
19
|
-
effectiveTo?: string | null;
|
|
20
|
-
constructor(obj?: Partial<UpdateActiveAdditionalChargeDTO>);
|
|
21
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
3
|
-
import { ChargeTimeType, ChargeType, ChargeUnit, FuelChargeType, } from '../../../enums/src/index';
|
|
4
|
-
export class UpdateActiveAdditionalChargeDTO {
|
|
5
|
-
constructor(obj) {
|
|
6
|
-
Object.assign(this, obj);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
IsUUID(),
|
|
11
|
-
__metadata("design:type", String)
|
|
12
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "surchargeId", void 0);
|
|
13
|
-
__decorate([
|
|
14
|
-
IsOptional(),
|
|
15
|
-
IsNumber(),
|
|
16
|
-
__metadata("design:type", Number)
|
|
17
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "price", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
IsOptional(),
|
|
20
|
-
IsEnum(ChargeType),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "chrgeType", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
IsOptional(),
|
|
25
|
-
IsEnum(ChargeTimeType),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "chrgeTimeType", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
IsOptional(),
|
|
30
|
-
IsNumber(),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "starthrs", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
IsOptional(),
|
|
35
|
-
IsNumber(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "endhrs", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
IsOptional(),
|
|
40
|
-
IsEnum(ChargeUnit),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "surchargeUnit", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
IsOptional(),
|
|
45
|
-
IsDateString(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "surchargeRefDate", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
IsOptional(),
|
|
50
|
-
IsBoolean(),
|
|
51
|
-
__metadata("design:type", Boolean)
|
|
52
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "remainder", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
IsOptional(),
|
|
55
|
-
IsBoolean(),
|
|
56
|
-
__metadata("design:type", Boolean)
|
|
57
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "applyNegativeSurcharge", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
IsOptional(),
|
|
60
|
-
IsEnum(FuelChargeType),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "fuelChargeType", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
IsOptional(),
|
|
65
|
-
IsNumber(),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "fuelRateCharge", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
IsOptional(),
|
|
70
|
-
IsNumber(),
|
|
71
|
-
__metadata("design:type", Number)
|
|
72
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "clientSurcharge", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
IsOptional(),
|
|
75
|
-
IsString(),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "bsnsCntxtId", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
IsOptional(),
|
|
80
|
-
IsString(),
|
|
81
|
-
__metadata("design:type", String)
|
|
82
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "contractTermsId", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
IsOptional(),
|
|
85
|
-
IsDateString(),
|
|
86
|
-
__metadata("design:type", String)
|
|
87
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "effectiveFrom", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
IsOptional(),
|
|
90
|
-
IsDateString(),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], UpdateActiveAdditionalChargeDTO.prototype, "effectiveTo", void 0);
|
|
93
|
-
//# sourceMappingURL=update.active.additional.charge.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.active.additional.charge.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/query/update.active.additional.charge.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,cAAc,EACd,UAAU,EACV,UAAU,EACV,cAAc,GACd,MAAM,0BAA0B,CAAC;AAElC,MAAM,OAAO,+BAA+B;IAsE3C,YAAY,GAA8C;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAvEA;IADC,MAAM,EAAE;;oEACW;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;8DACI;AAIf;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,UAAU,CAAC;;kEACI;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;sEACQ;AAI/B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;iEACO;AAIlB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACK;AAIhB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,UAAU,CAAC;;sEACQ;AAI3B;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;yEACW;AAI1B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;kEACQ;AAIpB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+EACqB;AAIjC;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;uEACS;AAIhC;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;uEACa;AAIxB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACc;AAIzB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oEACU;AAIrB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACc;AAMzB;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;sEACe;AAI9B;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;oEACa"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsBoolean, IsEnum, IsOptional, IsUUID } from 'class-validator';
|
|
3
|
-
import { TripAuthType } from '../../enums/src/trip.auth.type.enum';
|
|
4
|
-
export class UpdateLTRLogConfirmationConfigDTO {
|
|
5
|
-
}
|
|
6
|
-
__decorate([
|
|
7
|
-
IsUUID(),
|
|
8
|
-
__metadata("design:type", String)
|
|
9
|
-
], UpdateLTRLogConfirmationConfigDTO.prototype, "clientPersonaId", void 0);
|
|
10
|
-
__decorate([
|
|
11
|
-
IsOptional(),
|
|
12
|
-
IsEnum(TripAuthType),
|
|
13
|
-
__metadata("design:type", String)
|
|
14
|
-
], UpdateLTRLogConfirmationConfigDTO.prototype, "confirmationType", void 0);
|
|
15
|
-
__decorate([
|
|
16
|
-
IsOptional(),
|
|
17
|
-
IsBoolean(),
|
|
18
|
-
__metadata("design:type", Boolean)
|
|
19
|
-
], UpdateLTRLogConfirmationConfigDTO.prototype, "allowSkipOtp", void 0);
|
|
20
|
-
//# sourceMappingURL=update.ltr.log.confirmation.config.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.ltr.log.confirmation.config.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/update.ltr.log.confirmation.config.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,OAAO,iCAAiC;CAc7C;AAZA;IADC,MAAM,EAAE;;0EACe;AAKxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,YAAY,CAAC;;2EACU;AAM/B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;uEACU"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsInt, IsUUID, Min } from 'class-validator';
|
|
3
|
-
export class UpdateMasterCityDeadMileageDTO {
|
|
4
|
-
constructor(obj) {
|
|
5
|
-
Object.assign(this, obj);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
__decorate([
|
|
9
|
-
IsUUID(),
|
|
10
|
-
__metadata("design:type", String)
|
|
11
|
-
], UpdateMasterCityDeadMileageDTO.prototype, "cityId", void 0);
|
|
12
|
-
__decorate([
|
|
13
|
-
IsInt(),
|
|
14
|
-
Min(0),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UpdateMasterCityDeadMileageDTO.prototype, "deadMileageKms", void 0);
|
|
17
|
-
//# sourceMappingURL=update.master.city.dead.mileage.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.master.city.dead.mileage.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/update.master.city.dead.mileage.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,OAAO,8BAA8B;IAQ1C,YAAY,GAA6C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AATA;IADC,MAAM,EAAE;;8DACM;AAIf;IAFC,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;sEACgB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Transform } from 'class-transformer';
|
|
3
|
-
import { IsBoolean, IsInt, IsOptional, IsString, IsUUID, Min, } from 'class-validator';
|
|
4
|
-
export class UpdateVehicleServicePostponeDTO {
|
|
5
|
-
constructor(obj) {
|
|
6
|
-
Object.assign(this, obj);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
IsUUID(),
|
|
11
|
-
__metadata("design:type", String)
|
|
12
|
-
], UpdateVehicleServicePostponeDTO.prototype, "vehicleId", void 0);
|
|
13
|
-
__decorate([
|
|
14
|
-
IsOptional(),
|
|
15
|
-
IsInt(),
|
|
16
|
-
Min(0),
|
|
17
|
-
__metadata("design:type", Number)
|
|
18
|
-
], UpdateVehicleServicePostponeDTO.prototype, "kms", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
IsOptional(),
|
|
21
|
-
IsString(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], UpdateVehicleServicePostponeDTO.prototype, "reason", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
IsOptional(),
|
|
26
|
-
IsBoolean(),
|
|
27
|
-
Transform((_) => String(_) === 'true'),
|
|
28
|
-
__metadata("design:type", Boolean)
|
|
29
|
-
], UpdateVehicleServicePostponeDTO.prototype, "cancellation", void 0);
|
|
30
|
-
//# sourceMappingURL=update.vehicle.service.postpone.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.vehicle.service.postpone.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/update.vehicle.service.postpone.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,SAAS,EACT,KAAK,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,GACH,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,+BAA+B;IAoB3C,YAAY,GAA8C;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AArBA;IADC,MAAM,EAAE;;kEACS;AAOlB;IAHC,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;4DACM;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACK;AAKhB;IAHC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;;qEAChB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lifecycle state of a client contract (ContractTerms).
|
|
3
|
-
*
|
|
4
|
-
* Only Cancelled is stored (as the `cnclAt` timestamp). The other three are
|
|
5
|
-
* derived from the contract's date range against today's IST calendar day —
|
|
6
|
-
* see `deriveContractState`. Nothing should persist a derived state, or it
|
|
7
|
-
* will go stale the moment the clock rolls past a boundary.
|
|
8
|
-
*/
|
|
9
|
-
export declare enum ContractState {
|
|
10
|
-
/** Start date is in the future. */
|
|
11
|
-
Scheduled = "Scheduled",
|
|
12
|
-
/** Today falls within [start, end], inclusive of both days. */
|
|
13
|
-
Active = "Active",
|
|
14
|
-
/** End date has passed. Revivable by extending the end date. */
|
|
15
|
-
Expired = "Expired",
|
|
16
|
-
/** Manually cancelled. Terminal — a replacement must be created instead. */
|
|
17
|
-
Cancelled = "Cancelled"
|
|
18
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lifecycle state of a client contract (ContractTerms).
|
|
3
|
-
*
|
|
4
|
-
* Only Cancelled is stored (as the `cnclAt` timestamp). The other three are
|
|
5
|
-
* derived from the contract's date range against today's IST calendar day —
|
|
6
|
-
* see `deriveContractState`. Nothing should persist a derived state, or it
|
|
7
|
-
* will go stale the moment the clock rolls past a boundary.
|
|
8
|
-
*/
|
|
9
|
-
export var ContractState;
|
|
10
|
-
(function (ContractState) {
|
|
11
|
-
/** Start date is in the future. */
|
|
12
|
-
ContractState["Scheduled"] = "Scheduled";
|
|
13
|
-
/** Today falls within [start, end], inclusive of both days. */
|
|
14
|
-
ContractState["Active"] = "Active";
|
|
15
|
-
/** End date has passed. Revivable by extending the end date. */
|
|
16
|
-
ContractState["Expired"] = "Expired";
|
|
17
|
-
/** Manually cancelled. Terminal — a replacement must be created instead. */
|
|
18
|
-
ContractState["Cancelled"] = "Cancelled";
|
|
19
|
-
})(ContractState || (ContractState = {}));
|
|
20
|
-
//# sourceMappingURL=contract.state.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contract.state.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/contract.state.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACxB,mCAAmC;IACnC,wCAAuB,CAAA;IACvB,+DAA+D;IAC/D,kCAAiB,CAAA;IACjB,gEAAgE;IAChE,oCAAmB,CAAA;IACnB,4EAA4E;IAC5E,wCAAuB,CAAA;AACxB,CAAC,EATW,aAAa,KAAb,aAAa,QASxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ltr.font.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/ltr.font.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,iCAAmB,CAAA;IACnB,oCAAsB,CAAA;IACtB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Which operation a RetryTask row replays. The processor maps each type to a
|
|
3
|
-
* handler, so adding a retryable operation means adding a type + handler rather
|
|
4
|
-
* than another bespoke column/scan.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum RetryTaskType {
|
|
7
|
-
/** Re-push an allocation to MMI after the original push failed. */
|
|
8
|
-
MMIPush = "MMIPush",
|
|
9
|
-
/** Re-attach an external duty slip that failed to upload on duty close. */
|
|
10
|
-
ExtDutySlipUpload = "ExtDutySlipUpload"
|
|
11
|
-
}
|
|
12
|
-
export declare enum RetryTaskStatus {
|
|
13
|
-
/** Waiting for its next attempt (see nextAttemptAt). */
|
|
14
|
-
Pending = "Pending",
|
|
15
|
-
/** Claimed by a processor tick; guards against double execution. */
|
|
16
|
-
InProgress = "InProgress",
|
|
17
|
-
/** Completed successfully — terminal. */
|
|
18
|
-
Succeeded = "Succeeded",
|
|
19
|
-
/** Gave up: hit maxAttempts, or failed in a way retrying can't fix. */
|
|
20
|
-
Exhausted = "Exhausted",
|
|
21
|
-
/**
|
|
22
|
-
* The row's own data is unusable for its type — a required field is missing
|
|
23
|
-
* or the payload doesn't match what the handler needs. Distinct from
|
|
24
|
-
* Exhausted: nothing was ever attempted, because no number of attempts could
|
|
25
|
-
* succeed. Retired without burning attempts or calling anything.
|
|
26
|
-
*/
|
|
27
|
-
Blacklisted = "Blacklisted"
|
|
28
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Which operation a RetryTask row replays. The processor maps each type to a
|
|
3
|
-
* handler, so adding a retryable operation means adding a type + handler rather
|
|
4
|
-
* than another bespoke column/scan.
|
|
5
|
-
*/
|
|
6
|
-
export var RetryTaskType;
|
|
7
|
-
(function (RetryTaskType) {
|
|
8
|
-
/** Re-push an allocation to MMI after the original push failed. */
|
|
9
|
-
RetryTaskType["MMIPush"] = "MMIPush";
|
|
10
|
-
/** Re-attach an external duty slip that failed to upload on duty close. */
|
|
11
|
-
RetryTaskType["ExtDutySlipUpload"] = "ExtDutySlipUpload";
|
|
12
|
-
})(RetryTaskType || (RetryTaskType = {}));
|
|
13
|
-
export var RetryTaskStatus;
|
|
14
|
-
(function (RetryTaskStatus) {
|
|
15
|
-
/** Waiting for its next attempt (see nextAttemptAt). */
|
|
16
|
-
RetryTaskStatus["Pending"] = "Pending";
|
|
17
|
-
/** Claimed by a processor tick; guards against double execution. */
|
|
18
|
-
RetryTaskStatus["InProgress"] = "InProgress";
|
|
19
|
-
/** Completed successfully — terminal. */
|
|
20
|
-
RetryTaskStatus["Succeeded"] = "Succeeded";
|
|
21
|
-
/** Gave up: hit maxAttempts, or failed in a way retrying can't fix. */
|
|
22
|
-
RetryTaskStatus["Exhausted"] = "Exhausted";
|
|
23
|
-
/**
|
|
24
|
-
* The row's own data is unusable for its type — a required field is missing
|
|
25
|
-
* or the payload doesn't match what the handler needs. Distinct from
|
|
26
|
-
* Exhausted: nothing was ever attempted, because no number of attempts could
|
|
27
|
-
* succeed. Retired without burning attempts or calling anything.
|
|
28
|
-
*/
|
|
29
|
-
RetryTaskStatus["Blacklisted"] = "Blacklisted";
|
|
30
|
-
})(RetryTaskStatus || (RetryTaskStatus = {}));
|
|
31
|
-
//# sourceMappingURL=retry.task.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retry.task.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/retry.task.enum.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,mEAAmE;IACnE,oCAAmB,CAAA;IACnB,2EAA2E;IAC3E,wDAAuC,CAAA;AACxC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,eAgBX;AAhBD,WAAY,eAAe;IAC1B,wDAAwD;IACxD,sCAAmB,CAAA;IACnB,oEAAoE;IACpE,4CAAyB,CAAA;IACzB,yCAAyC;IACzC,0CAAuB,CAAA;IACvB,uEAAuE;IACvE,0CAAuB,CAAA;IACvB;;;;;OAKG;IACH,8CAA2B,CAAA;AAC5B,CAAC,EAhBW,eAAe,KAAf,eAAe,QAgB1B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { TripAuthType } from '../../enums/src/trip.auth.type.enum';
|
|
2
|
-
export declare enum LTRLogConfirmationField {
|
|
3
|
-
ConfirmationType = "confirmationType",
|
|
4
|
-
AllowSkipOtp = "allowSkipOtp"
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* How a driver's completed LTR daily/monthly log is confirmed by the customer
|
|
8
|
-
* before it moves to billing. Configured per client.
|
|
9
|
-
*
|
|
10
|
-
* `confirmationType` reuses TripAuthType — the four cases line up exactly:
|
|
11
|
-
* Signature → customer signs on the driver's phone only
|
|
12
|
-
* OTP → verification code sent to the customer only
|
|
13
|
-
* Both → code first, then signature
|
|
14
|
-
* None → no confirmation; the log is accepted on driver submit
|
|
15
|
-
*
|
|
16
|
-
* `allowSkipOtp` gates the "Skip OTP" link on the driver's code-entry screen.
|
|
17
|
-
* Only meaningful when the flow includes an OTP step (OTP or Both).
|
|
18
|
-
*
|
|
19
|
-
* Absent config must behave as today: Both, with skipping disallowed.
|
|
20
|
-
* See LTR_LOG_CONFIRMATION_DEFAULT.
|
|
21
|
-
*/
|
|
22
|
-
export interface LTRLogConfirmation {
|
|
23
|
-
[LTRLogConfirmationField.ConfirmationType]: TripAuthType;
|
|
24
|
-
[LTRLogConfirmationField.AllowSkipOtp]: boolean;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Backward-compatible default applied when a client has no explicit config,
|
|
28
|
-
* so existing clients keep today's behaviour until an admin changes it.
|
|
29
|
-
*/
|
|
30
|
-
export declare const LTR_LOG_CONFIRMATION_DEFAULT: LTRLogConfirmation;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TripAuthType } from '../../enums/src/trip.auth.type.enum';
|
|
2
|
-
export var LTRLogConfirmationField;
|
|
3
|
-
(function (LTRLogConfirmationField) {
|
|
4
|
-
LTRLogConfirmationField["ConfirmationType"] = "confirmationType";
|
|
5
|
-
LTRLogConfirmationField["AllowSkipOtp"] = "allowSkipOtp";
|
|
6
|
-
})(LTRLogConfirmationField || (LTRLogConfirmationField = {}));
|
|
7
|
-
/**
|
|
8
|
-
* Backward-compatible default applied when a client has no explicit config,
|
|
9
|
-
* so existing clients keep today's behaviour until an admin changes it.
|
|
10
|
-
*/
|
|
11
|
-
export const LTR_LOG_CONFIRMATION_DEFAULT = {
|
|
12
|
-
[LTRLogConfirmationField.ConfirmationType]: TripAuthType.Both,
|
|
13
|
-
[LTRLogConfirmationField.AllowSkipOtp]: false,
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=ltr.log.confirmation.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ltr.log.confirmation.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/ltr.log.confirmation.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,gEAAqC,CAAA;IACrC,wDAA6B,CAAA;AAC9B,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAuBD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuB;IAC/D,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,EAAE,YAAY,CAAC,IAAI;IAC7D,CAAC,uBAAuB,CAAC,YAAY,CAAC,EAAE,KAAK;CAC7C,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { RetryTaskStatus, RetryTaskType } from '@autologix/shared/enums';
|
|
2
|
-
import { TypedModel } from './typed.model';
|
|
3
|
-
export declare enum RetryTaskField {
|
|
4
|
-
RetryTaskId = "retryTaskId",
|
|
5
|
-
/** Which operation to replay — selects the processor's handler. */
|
|
6
|
-
Type = "type",
|
|
7
|
-
/** Booking the failed operation belongs to (plain id, like AlertFallback). */
|
|
8
|
-
RequestId = "requestId",
|
|
9
|
-
/**
|
|
10
|
-
* Everything the handler needs to replay the operation without re-deriving
|
|
11
|
-
* it (e.g. the duty slip URL + tripId). Recording this at failure time is
|
|
12
|
-
* what lets the processor run off one indexed scan instead of reconstructing
|
|
13
|
-
* failures from activity logs.
|
|
14
|
-
*/
|
|
15
|
-
Payload = "payload",
|
|
16
|
-
Status = "status",
|
|
17
|
-
/** Attempts made so far; bounded by maxAttempts. */
|
|
18
|
-
Attempts = "attempts",
|
|
19
|
-
MaxAttempts = "maxAttempts",
|
|
20
|
-
/** Earliest time the next attempt may run — drives the backoff. */
|
|
21
|
-
NextAttemptAt = "nextAttemptAt",
|
|
22
|
-
/** Why the last attempt failed, for triage. */
|
|
23
|
-
LastError = "lastError",
|
|
24
|
-
CreatedAt = "createdAt",
|
|
25
|
-
UpdatedAt = "updatedAt"
|
|
26
|
-
}
|
|
27
|
-
/** Context for a RetryTaskType.ExtDutySlipUpload row. */
|
|
28
|
-
export interface IExtDutySlipRetryPayload {
|
|
29
|
-
/** Trip whose DutySlipFile / ExtDutyLip need stamping. */
|
|
30
|
-
tripId: string;
|
|
31
|
-
/** Original slip URL from the external trip sheet payload. */
|
|
32
|
-
url: string;
|
|
33
|
-
/** Booking number, used for the upload filename and logging. */
|
|
34
|
-
requestNumber?: string;
|
|
35
|
-
/** HTTP status of the failed download, when the failure was the fetch. */
|
|
36
|
-
httpStatus?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Step that failed: 'download' is MMI's URL being unavailable, 'upload' is
|
|
39
|
-
* our files-service, 'stamp' is the trip write. Lets triage separate
|
|
40
|
-
* unrecoverable sources from transient outages without reading logs.
|
|
41
|
-
*/
|
|
42
|
-
failedAt?: 'download' | 'upload' | 'stamp';
|
|
43
|
-
}
|
|
44
|
-
export interface IRetryTask extends TypedModel {
|
|
45
|
-
[RetryTaskField.RetryTaskId]: string;
|
|
46
|
-
[RetryTaskField.Type]: RetryTaskType;
|
|
47
|
-
[RetryTaskField.RequestId]?: string;
|
|
48
|
-
[RetryTaskField.Payload]?: Record<string, any>;
|
|
49
|
-
[RetryTaskField.Status]: RetryTaskStatus;
|
|
50
|
-
[RetryTaskField.Attempts]: number;
|
|
51
|
-
[RetryTaskField.MaxAttempts]: number;
|
|
52
|
-
[RetryTaskField.NextAttemptAt]: Date;
|
|
53
|
-
[RetryTaskField.LastError]?: string;
|
|
54
|
-
[RetryTaskField.CreatedAt]: Date;
|
|
55
|
-
[RetryTaskField.UpdatedAt]: Date;
|
|
56
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export var RetryTaskField;
|
|
2
|
-
(function (RetryTaskField) {
|
|
3
|
-
RetryTaskField["RetryTaskId"] = "retryTaskId";
|
|
4
|
-
/** Which operation to replay — selects the processor's handler. */
|
|
5
|
-
RetryTaskField["Type"] = "type";
|
|
6
|
-
/** Booking the failed operation belongs to (plain id, like AlertFallback). */
|
|
7
|
-
RetryTaskField["RequestId"] = "requestId";
|
|
8
|
-
/**
|
|
9
|
-
* Everything the handler needs to replay the operation without re-deriving
|
|
10
|
-
* it (e.g. the duty slip URL + tripId). Recording this at failure time is
|
|
11
|
-
* what lets the processor run off one indexed scan instead of reconstructing
|
|
12
|
-
* failures from activity logs.
|
|
13
|
-
*/
|
|
14
|
-
RetryTaskField["Payload"] = "payload";
|
|
15
|
-
RetryTaskField["Status"] = "status";
|
|
16
|
-
/** Attempts made so far; bounded by maxAttempts. */
|
|
17
|
-
RetryTaskField["Attempts"] = "attempts";
|
|
18
|
-
RetryTaskField["MaxAttempts"] = "maxAttempts";
|
|
19
|
-
/** Earliest time the next attempt may run — drives the backoff. */
|
|
20
|
-
RetryTaskField["NextAttemptAt"] = "nextAttemptAt";
|
|
21
|
-
/** Why the last attempt failed, for triage. */
|
|
22
|
-
RetryTaskField["LastError"] = "lastError";
|
|
23
|
-
RetryTaskField["CreatedAt"] = "createdAt";
|
|
24
|
-
RetryTaskField["UpdatedAt"] = "updatedAt";
|
|
25
|
-
})(RetryTaskField || (RetryTaskField = {}));
|
|
26
|
-
//# sourceMappingURL=retry.task.model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retry.task.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/retry.task.model.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,cAuBX;AAvBD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,mEAAmE;IACnE,+BAAa,CAAA;IACb,8EAA8E;IAC9E,yCAAuB,CAAA;IACvB;;;;;OAKG;IACH,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,oDAAoD;IACpD,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B,mEAAmE;IACnE,iDAA+B,CAAA;IAC/B,+CAA+C;IAC/C,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACxB,CAAC,EAvBW,cAAc,KAAd,cAAc,QAuBzB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BillTo } from '../../enums/src/index';
|
|
2
|
-
export declare function isBillToCompanyBooking(modeOfPayment: BillTo | null | undefined, clientBookedBilling: BillTo | null | undefined): boolean;
|
|
3
|
-
export declare enum InvoiceGenerationAlertDecision {
|
|
4
|
-
Send = "Send",
|
|
5
|
-
AlreadySent = "AlreadySent"
|
|
6
|
-
}
|
|
7
|
-
export declare function decideInvoiceGenerationAlert(mailCount: number): InvoiceGenerationAlertDecision;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BillTo } from '../../enums/src/index';
|
|
2
|
-
export function isBillToCompanyBooking(modeOfPayment, clientBookedBilling) {
|
|
3
|
-
return (modeOfPayment === BillTo.BillToClient ||
|
|
4
|
-
clientBookedBilling === BillTo.BillToClient);
|
|
5
|
-
}
|
|
6
|
-
export var InvoiceGenerationAlertDecision;
|
|
7
|
-
(function (InvoiceGenerationAlertDecision) {
|
|
8
|
-
InvoiceGenerationAlertDecision["Send"] = "Send";
|
|
9
|
-
InvoiceGenerationAlertDecision["AlreadySent"] = "AlreadySent";
|
|
10
|
-
})(InvoiceGenerationAlertDecision || (InvoiceGenerationAlertDecision = {}));
|
|
11
|
-
export function decideInvoiceGenerationAlert(mailCount) {
|
|
12
|
-
return mailCount > 0
|
|
13
|
-
? InvoiceGenerationAlertDecision.AlreadySent
|
|
14
|
-
: InvoiceGenerationAlertDecision.Send;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=invoice.generation.alert.util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.generation.alert.util.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/invoice.generation.alert.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,MAAM,UAAU,sBAAsB,CACrC,aAAwC,EACxC,mBAA8C;IAE9C,OAAO,CACN,aAAa,KAAK,MAAM,CAAC,YAAY;QACrC,mBAAmB,KAAK,MAAM,CAAC,YAAY,CAC3C,CAAC;AACH,CAAC;AAED,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACzC,+CAAa,CAAA;IACb,6DAA2B,CAAA;AAC5B,CAAC,EAHW,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,UAAU,4BAA4B,CAC3C,SAAiB;IAEjB,OAAO,SAAS,GAAG,CAAC;QACnB,CAAC,CAAC,8BAA8B,CAAC,WAAW;QAC5C,CAAC,CAAC,8BAA8B,CAAC,IAAI,CAAC;AACxC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function ltrCycleMonthIndex(anchor: Date, booking: Date): number;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IST_OFFSET_MS } from './ist';
|
|
2
|
-
export function ltrCycleMonthIndex(anchor, booking) {
|
|
3
|
-
const anchorIst = new Date(anchor.getTime() + IST_OFFSET_MS);
|
|
4
|
-
const bookingIst = new Date(booking.getTime() + IST_OFFSET_MS);
|
|
5
|
-
return ((bookingIst.getFullYear() - anchorIst.getFullYear()) * 12 +
|
|
6
|
-
(bookingIst.getMonth() - anchorIst.getMonth()) +
|
|
7
|
-
1);
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ltr.cycle.month.index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ltr.cycle.month.index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/utilities/src/ltr.cycle.month.index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,UAAU,kBAAkB,CAAC,MAAY,EAAE,OAAa;IAC7D,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,aAAa,CAAC,CAAC;IAC7D,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,aAAa,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,UAAU,CAAC,WAAW,EAAE,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE;QACzD,CAAC,UAAU,CAAC,QAAQ,EAAE,GAAG,SAAS,CAAC,QAAQ,EAAE,CAAC;QAC9C,CAAC,CACD,CAAC;AACH,CAAC"}
|