@fiado/type-kit 3.92.0 → 3.93.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.
@@ -1,12 +1,14 @@
1
- import { WalletFundingReferenceStatusEnum } from "../enums/WalletFundingReferenceStatusEnum";
1
+ import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
2
2
  import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
3
3
  /**
4
4
  * Response del cancel via Centro de Beneficios (spec 13 v2.0).
5
- * Idempotente: si ya estaba cancelada, devuelve `CANCELLED` sin error.
5
+ * `status` reusa `BenefitPaymentStatusEnum` (APPROVED = cancel aceptado;
6
+ * REJECTED = no se pudo) para consistencia con `CancelFundingReferenceResponse`
7
+ * (marketplace ↔ connector). Idempotente: re-cancelar devuelve APPROVED.
6
8
  */
7
9
  export declare class CancelFundingResponse {
8
10
  fundingId: string;
9
- status: WalletFundingReferenceStatusEnum;
11
+ status: BenefitPaymentStatusEnum;
10
12
  errorCode?: WalletFundingErrorCodeEnum;
11
13
  message?: string;
12
14
  }
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancelFundingResponse = void 0;
4
4
  /**
5
5
  * Response del cancel via Centro de Beneficios (spec 13 v2.0).
6
- * Idempotente: si ya estaba cancelada, devuelve `CANCELLED` sin error.
6
+ * `status` reusa `BenefitPaymentStatusEnum` (APPROVED = cancel aceptado;
7
+ * REJECTED = no se pudo) para consistencia con `CancelFundingReferenceResponse`
8
+ * (marketplace ↔ connector). Idempotente: re-cancelar devuelve APPROVED.
7
9
  */
8
10
  class CancelFundingResponse {
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.92.0",
3
+ "version": "3.93.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,13 +1,15 @@
1
- import { WalletFundingReferenceStatusEnum } from "../enums/WalletFundingReferenceStatusEnum";
1
+ import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
2
2
  import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
3
3
 
4
4
  /**
5
5
  * Response del cancel via Centro de Beneficios (spec 13 v2.0).
6
- * Idempotente: si ya estaba cancelada, devuelve `CANCELLED` sin error.
6
+ * `status` reusa `BenefitPaymentStatusEnum` (APPROVED = cancel aceptado;
7
+ * REJECTED = no se pudo) para consistencia con `CancelFundingReferenceResponse`
8
+ * (marketplace ↔ connector). Idempotente: re-cancelar devuelve APPROVED.
7
9
  */
8
10
  export class CancelFundingResponse {
9
11
  fundingId!: string;
10
- status!: WalletFundingReferenceStatusEnum;
12
+ status!: BenefitPaymentStatusEnum;
11
13
  errorCode?: WalletFundingErrorCodeEnum;
12
14
  message?: string;
13
15
  }