@fiado/type-kit 3.601.0 → 3.602.0
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.
|
@@ -18,4 +18,11 @@ export declare class AuthorizeCollectionMovementRequest {
|
|
|
18
18
|
* no romper a quien todavía no manda tarifa.
|
|
19
19
|
*/
|
|
20
20
|
pricing?: CollectionPricingDto;
|
|
21
|
+
/**
|
|
22
|
+
* La config del producto en el motor permite un reserve/débito PARCIAL cuando la wallet no cubre
|
|
23
|
+
* el monto completo. Presente en `true`, el procesador reserva/debita lo disponible por encima de
|
|
24
|
+
* su mínimo por moneda y responde `PARTIAL`. Ausente o `false` conserva el comportamiento de todo
|
|
25
|
+
* o nada: si el saldo no cubre el monto, responde `NONE`.
|
|
26
|
+
*/
|
|
27
|
+
allowPartial?: boolean;
|
|
21
28
|
}
|
|
@@ -63,3 +63,8 @@ __decorate([
|
|
|
63
63
|
(0, class_transformer_1.Type)(() => CollectionPricingDto_1.CollectionPricingDto),
|
|
64
64
|
__metadata("design:type", CollectionPricingDto_1.CollectionPricingDto)
|
|
65
65
|
], AuthorizeCollectionMovementRequest.prototype, "pricing", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsBoolean)(),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
70
|
+
], AuthorizeCollectionMovementRequest.prototype, "allowPartial", void 0);
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsString, IsEnum, IsOptional, ValidateNested, IsNumber } from 'class-validator';
|
|
1
|
+
import { IsString, IsEnum, IsOptional, ValidateNested, IsNumber, IsBoolean } from 'class-validator';
|
|
2
2
|
import { Type } from 'class-transformer';
|
|
3
3
|
import { MechanismType } from '../enums/MechanismType';
|
|
4
4
|
import { CurrencyId } from '../../currency/enums/CurrencyId';
|
|
@@ -22,4 +22,12 @@ export class AuthorizeCollectionMovementRequest {
|
|
|
22
22
|
* no romper a quien todavía no manda tarifa.
|
|
23
23
|
*/
|
|
24
24
|
@IsOptional() @ValidateNested() @Type(() => CollectionPricingDto) pricing?: CollectionPricingDto;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* La config del producto en el motor permite un reserve/débito PARCIAL cuando la wallet no cubre
|
|
28
|
+
* el monto completo. Presente en `true`, el procesador reserva/debita lo disponible por encima de
|
|
29
|
+
* su mínimo por moneda y responde `PARTIAL`. Ausente o `false` conserva el comportamiento de todo
|
|
30
|
+
* o nada: si el saldo no cubre el monto, responde `NONE`.
|
|
31
|
+
*/
|
|
32
|
+
@IsOptional() @IsBoolean() allowPartial?: boolean;
|
|
25
33
|
}
|