@fiado/type-kit 3.453.0 → 3.454.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.
@@ -27,6 +27,18 @@ export declare class TransactionCreateRequest {
27
27
  sessionId: string;
28
28
  disputeOrFraudFolio?: string;
29
29
  disputeOrFraudId?: string;
30
+ /**
31
+ * UUID del `DisputeOrFraudLog` que originó esta transacción (típicamente un
32
+ * reintegro PCF). Se persiste en `PagoConfiadoTx_GT.disputeOrFraudLogId`, que
33
+ * indexa el GSI `disputeOrFraudLogId-createdAt-index` usado por el Dashboard
34
+ * y por el reporte R27 CNBV para conectar el ledger con el folio.
35
+ *
36
+ * Antes del rediseño refund/eventos R27 este campo no viajaba en el
37
+ * `TransactionCreateRequest` y quedaba en "ND" en el ledger — el join
38
+ * folio↔tx sólo era posible por `disputeOrFraudFolio` (el folio humano), que
39
+ * no basta cuando un mismo folio genera dos movimientos (REFUND + REVERSAL).
40
+ */
41
+ disputeOrFraudLogId?: string;
30
42
  currencyId: CountryId;
31
43
  operation: OperationEnum;
32
44
  notional: Notional;
@@ -121,6 +121,11 @@ __decorate([
121
121
  (0, class_validator_1.IsOptional)(),
122
122
  __metadata("design:type", String)
123
123
  ], TransactionCreateRequest.prototype, "disputeOrFraudId", void 0);
124
+ __decorate([
125
+ (0, class_validator_1.IsString)(),
126
+ (0, class_validator_1.IsOptional)(),
127
+ __metadata("design:type", String)
128
+ ], TransactionCreateRequest.prototype, "disputeOrFraudLogId", void 0);
124
129
  __decorate([
125
130
  (0, class_validator_1.IsNotEmpty)(),
126
131
  (0, class_validator_1.IsEnum)(country_1.CountryId),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.453.0",
3
+ "version": "3.454.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -93,6 +93,21 @@ export class TransactionCreateRequest {
93
93
  @IsOptional()
94
94
  disputeOrFraudId?: string;
95
95
 
96
+ /**
97
+ * UUID del `DisputeOrFraudLog` que originó esta transacción (típicamente un
98
+ * reintegro PCF). Se persiste en `PagoConfiadoTx_GT.disputeOrFraudLogId`, que
99
+ * indexa el GSI `disputeOrFraudLogId-createdAt-index` usado por el Dashboard
100
+ * y por el reporte R27 CNBV para conectar el ledger con el folio.
101
+ *
102
+ * Antes del rediseño refund/eventos R27 este campo no viajaba en el
103
+ * `TransactionCreateRequest` y quedaba en "ND" en el ledger — el join
104
+ * folio↔tx sólo era posible por `disputeOrFraudFolio` (el folio humano), que
105
+ * no basta cuando un mismo folio genera dos movimientos (REFUND + REVERSAL).
106
+ */
107
+ @IsString()
108
+ @IsOptional()
109
+ disputeOrFraudLogId?: string;
110
+
96
111
  @IsNotEmpty()
97
112
  @IsEnum(CountryId)
98
113
  currencyId: CountryId;