@fiado/type-kit 3.212.0 → 3.213.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.
- package/bin/kyc/events/KycVerificationChangedV1.d.ts +16 -0
- package/bin/kyc/events/KycVerificationChangedV1.js +16 -0
- package/bin/loanConfig/enums/ModifiableByRoleEnum.d.ts +11 -0
- package/bin/loanConfig/enums/ModifiableByRoleEnum.js +15 -0
- package/bin/platformRbac/dtos/ResendOtpRequest.d.ts +22 -0
- package/bin/platformRbac/dtos/{CompleteMyProfileRequest.js → ResendOtpRequest.js} +14 -12
- package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.d.ts +11 -0
- package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.js +36 -0
- package/package.json +1 -1
- package/src/kyc/events/KycVerificationChangedV1.ts +20 -0
- package/bin/platformRbac/dtos/CompleteMyProfileRequest.d.ts +0 -9
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.d.ts +0 -14
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.js +0 -41
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.d.ts +0 -15
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.js +0 -13
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.d.ts +0 -3
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.js +0 -21
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.d.ts +0 -7
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.js +0 -6
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IdentificationDocumentStatus } from '../../identity/enums/IdentificationDocumentStatus';
|
|
2
2
|
import { KycVerificationStatusEnum } from '../enums/KycVerificationStatusEnum';
|
|
3
3
|
import { KycSubChecks } from '../dtos/KycSubChecks';
|
|
4
|
+
import { KycPersonData } from '../dtos/responses/KycPersonData';
|
|
5
|
+
import { AddressBase } from '../../address/dtos/AddressBase';
|
|
4
6
|
/**
|
|
5
7
|
* Cambio terminal de una verificación KYC, tal como lo publica `kyc-metamap-webhook` directo en
|
|
6
8
|
* `RetailKycInboundQueue` (el webhook manda un `SendMessage` cuando la verificación pasa a COMPLETED).
|
|
@@ -42,4 +44,18 @@ export declare class KycVerificationChangedV1 {
|
|
|
42
44
|
* HIT → oficial de cumplimiento, mala foto → reintento) vive del lado de SureKeep, NO aquí.
|
|
43
45
|
*/
|
|
44
46
|
subChecks?: KycSubChecks;
|
|
47
|
+
/**
|
|
48
|
+
* Identidad del cliente extraída del INE por `kyc-metamap-webhook` en el `verification_completed`.
|
|
49
|
+
* OPCIONAL y aditivo: un mensaje viejo sin `person` sigue validando. El consumer (SureKeep) la usa
|
|
50
|
+
* para el upsert del customer — sin ella el upsert falla en el boundary (`DatosKycIncompletos`),
|
|
51
|
+
* porque el estado autoritativo de `getByDirectory` no siempre trae la persona consolidada a tiempo.
|
|
52
|
+
* ⚠️ PII: nunca loguear esta estructura.
|
|
53
|
+
*/
|
|
54
|
+
person?: KycPersonData;
|
|
55
|
+
/**
|
|
56
|
+
* Domicilio del INE ya ESTRUCTURADO por `places-business` (paso 02e), listo para copiarse a
|
|
57
|
+
* `RetailCustomer.address` en el upsert. OPCIONAL y aditivo: el webhook lo puebla cuando la OCR trae
|
|
58
|
+
* domicilio y `places` resuelve; si no, el upsert corre sin dirección y se completa después. ⚠️ PII.
|
|
59
|
+
*/
|
|
60
|
+
address?: AddressBase;
|
|
45
61
|
}
|
|
@@ -15,6 +15,8 @@ const class_validator_1 = require("class-validator");
|
|
|
15
15
|
const IdentificationDocumentStatus_1 = require("../../identity/enums/IdentificationDocumentStatus");
|
|
16
16
|
const KycVerificationStatusEnum_1 = require("../enums/KycVerificationStatusEnum");
|
|
17
17
|
const KycSubChecks_1 = require("../dtos/KycSubChecks");
|
|
18
|
+
const KycPersonData_1 = require("../dtos/responses/KycPersonData");
|
|
19
|
+
const AddressBase_1 = require("../../address/dtos/AddressBase");
|
|
18
20
|
/**
|
|
19
21
|
* Cambio terminal de una verificación KYC, tal como lo publica `kyc-metamap-webhook` directo en
|
|
20
22
|
* `RetailKycInboundQueue` (el webhook manda un `SendMessage` cuando la verificación pasa a COMPLETED).
|
|
@@ -82,3 +84,17 @@ __decorate([
|
|
|
82
84
|
(0, class_transformer_1.Type)(() => KycSubChecks_1.KycSubChecks),
|
|
83
85
|
__metadata("design:type", KycSubChecks_1.KycSubChecks)
|
|
84
86
|
], KycVerificationChangedV1.prototype, "subChecks", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
(0, class_validator_1.IsOptional)(),
|
|
90
|
+
(0, class_validator_1.ValidateNested)(),
|
|
91
|
+
(0, class_transformer_1.Type)(() => KycPersonData_1.KycPersonData),
|
|
92
|
+
__metadata("design:type", KycPersonData_1.KycPersonData)
|
|
93
|
+
], KycVerificationChangedV1.prototype, "person", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
(0, class_validator_1.IsOptional)(),
|
|
97
|
+
(0, class_validator_1.ValidateNested)(),
|
|
98
|
+
(0, class_transformer_1.Type)(() => AddressBase_1.AddressBase),
|
|
99
|
+
__metadata("design:type", AddressBase_1.AddressBase)
|
|
100
|
+
], KycVerificationChangedV1.prototype, "address", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rol RBAC mínimo que puede modificar un parámetro (RBAC a nivel de parámetro, modelo-datos §8).
|
|
3
|
+
* `retailer_admin` = "Admin VentasLuga" de M6 §8. Valores = identificadores de rol de RBAC F0.
|
|
4
|
+
* TD-004: confirmar mapeo super_admin ↔ platform_super_admin con el naming real de F0.
|
|
5
|
+
* @enum {string}
|
|
6
|
+
*/
|
|
7
|
+
export declare enum ModifiableByRoleEnum {
|
|
8
|
+
SUPER_ADMIN = "super_admin",
|
|
9
|
+
SOFOM_ADMIN = "sofom_admin",
|
|
10
|
+
RETAILER_ADMIN = "retailer_admin"
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModifiableByRoleEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Rol RBAC mínimo que puede modificar un parámetro (RBAC a nivel de parámetro, modelo-datos §8).
|
|
6
|
+
* `retailer_admin` = "Admin VentasLuga" de M6 §8. Valores = identificadores de rol de RBAC F0.
|
|
7
|
+
* TD-004: confirmar mapeo super_admin ↔ platform_super_admin con el naming real de F0.
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
var ModifiableByRoleEnum;
|
|
11
|
+
(function (ModifiableByRoleEnum) {
|
|
12
|
+
ModifiableByRoleEnum["SUPER_ADMIN"] = "super_admin";
|
|
13
|
+
ModifiableByRoleEnum["SOFOM_ADMIN"] = "sofom_admin";
|
|
14
|
+
ModifiableByRoleEnum["RETAILER_ADMIN"] = "retailer_admin";
|
|
15
|
+
})(ModifiableByRoleEnum || (exports.ModifiableByRoleEnum = ModifiableByRoleEnum = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MfaMethodEnum } from '../enums/MfaMethodEnum';
|
|
2
|
+
/**
|
|
3
|
+
* Body del POST /auth/resend-otp (público, anónimo). DEC-RBAC-054.
|
|
4
|
+
* Reenvía el OTP del login re-disparando el challenge real CUSTOM_AUTH (EMAIL_OTP) para la
|
|
5
|
+
* identidad SIN password. `tenantId` obligatorio (DEC-064 — el picker ya lo resolvió, NO "solo email").
|
|
6
|
+
* El email se normaliza lowercase server-side. Postura anti-enumeración: respuesta 200 genérica
|
|
7
|
+
* siempre, sin filtrar existencia (ver AuthLoginManager.resendChallengeOtp).
|
|
8
|
+
*/
|
|
9
|
+
export declare class ResendOtpRequest {
|
|
10
|
+
email: string;
|
|
11
|
+
tenantId: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Respuesta del resend-otp. `session`/`mfaMethod` frescos del nuevo challenge CUSTOM_AUTH.
|
|
15
|
+
* Plain sin validators (no validamos lo que mandamos al cliente — fiado-validation-and-dtos § 7).
|
|
16
|
+
* Ambos opcionales: en los caminos de rechazo silencioso (anti-enumeración) o ramas sin CUSTOM_AUTH
|
|
17
|
+
* el server responde 200 genérico sin session ni método.
|
|
18
|
+
*/
|
|
19
|
+
export interface ResendOtpResponse {
|
|
20
|
+
session?: string;
|
|
21
|
+
mfaMethod?: MfaMethodEnum;
|
|
22
|
+
}
|
|
@@ -9,26 +9,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.ResendOtpRequest = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
/**
|
|
16
|
-
* Body del
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* Body del POST /auth/resend-otp (público, anónimo). DEC-RBAC-054.
|
|
17
|
+
* Reenvía el OTP del login re-disparando el challenge real CUSTOM_AUTH (EMAIL_OTP) para la
|
|
18
|
+
* identidad SIN password. `tenantId` obligatorio (DEC-064 — el picker ya lo resolvió, NO "solo email").
|
|
19
|
+
* El email se normaliza lowercase server-side. Postura anti-enumeración: respuesta 200 genérica
|
|
20
|
+
* siempre, sin filtrar existencia (ver AuthLoginManager.resendChallengeOtp).
|
|
19
21
|
*/
|
|
20
|
-
class
|
|
22
|
+
class ResendOtpRequest {
|
|
21
23
|
}
|
|
22
|
-
exports.
|
|
24
|
+
exports.ResendOtpRequest = ResendOtpRequest;
|
|
23
25
|
__decorate([
|
|
24
26
|
(0, class_transformer_1.Expose)(),
|
|
25
|
-
(0, class_validator_1.
|
|
27
|
+
(0, class_validator_1.IsEmail)(),
|
|
26
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
27
29
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
30
|
+
], ResendOtpRequest.prototype, "email", void 0);
|
|
29
31
|
__decorate([
|
|
30
32
|
(0, class_transformer_1.Expose)(),
|
|
31
|
-
(0, class_validator_1.
|
|
32
|
-
(0, class_validator_1.
|
|
33
|
-
__metadata("design:type",
|
|
34
|
-
],
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ResendOtpRequest.prototype, "tenantId", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Body del POST /self-register/resend-otp (público, anónimo). DEC-RBAC-054.
|
|
3
|
+
* Re-envía el OTP del autoregistro (mecanismo messages-business, NO Cognito) tras validar un
|
|
4
|
+
* `pending` existente. Misma postura anti-enumeración del start. El email se normaliza lowercase
|
|
5
|
+
* server-side. DTO propio por endpoint (NO reusa SelfRegisterStartRequest, que exige roleId/scope/
|
|
6
|
+
* scopeRef, ni SelfRegisterVerifyOtpRequest, que exige otp).
|
|
7
|
+
*/
|
|
8
|
+
export declare class ResendSelfRegisterOtpRequest {
|
|
9
|
+
tenantId: string;
|
|
10
|
+
email: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ResendSelfRegisterOtpRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
/**
|
|
16
|
+
* Body del POST /self-register/resend-otp (público, anónimo). DEC-RBAC-054.
|
|
17
|
+
* Re-envía el OTP del autoregistro (mecanismo messages-business, NO Cognito) tras validar un
|
|
18
|
+
* `pending` existente. Misma postura anti-enumeración del start. El email se normaliza lowercase
|
|
19
|
+
* server-side. DTO propio por endpoint (NO reusa SelfRegisterStartRequest, que exige roleId/scope/
|
|
20
|
+
* scopeRef, ni SelfRegisterVerifyOtpRequest, que exige otp).
|
|
21
|
+
*/
|
|
22
|
+
class ResendSelfRegisterOtpRequest {
|
|
23
|
+
}
|
|
24
|
+
exports.ResendSelfRegisterOtpRequest = ResendSelfRegisterOtpRequest;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ResendSelfRegisterOtpRequest.prototype, "tenantId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_validator_1.IsEmail)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ResendSelfRegisterOtpRequest.prototype, "email", void 0);
|
package/package.json
CHANGED
|
@@ -3,6 +3,8 @@ import { IsEnum, IsISO8601, IsNotEmpty, IsOptional, IsString, ValidateNested } f
|
|
|
3
3
|
import { IdentificationDocumentStatus } from '../../identity/enums/IdentificationDocumentStatus';
|
|
4
4
|
import { KycVerificationStatusEnum } from '../enums/KycVerificationStatusEnum';
|
|
5
5
|
import { KycSubChecks } from '../dtos/KycSubChecks';
|
|
6
|
+
import { KycPersonData } from '../dtos/responses/KycPersonData';
|
|
7
|
+
import { AddressBase } from '../../address/dtos/AddressBase';
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Cambio terminal de una verificación KYC, tal como lo publica `kyc-metamap-webhook` directo en
|
|
@@ -60,4 +62,22 @@ export class KycVerificationChangedV1 {
|
|
|
60
62
|
*/
|
|
61
63
|
@Expose() @IsOptional() @ValidateNested() @Type(() => KycSubChecks)
|
|
62
64
|
subChecks?: KycSubChecks;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Identidad del cliente extraída del INE por `kyc-metamap-webhook` en el `verification_completed`.
|
|
68
|
+
* OPCIONAL y aditivo: un mensaje viejo sin `person` sigue validando. El consumer (SureKeep) la usa
|
|
69
|
+
* para el upsert del customer — sin ella el upsert falla en el boundary (`DatosKycIncompletos`),
|
|
70
|
+
* porque el estado autoritativo de `getByDirectory` no siempre trae la persona consolidada a tiempo.
|
|
71
|
+
* ⚠️ PII: nunca loguear esta estructura.
|
|
72
|
+
*/
|
|
73
|
+
@Expose() @IsOptional() @ValidateNested() @Type(() => KycPersonData)
|
|
74
|
+
person?: KycPersonData;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Domicilio del INE ya ESTRUCTURADO por `places-business` (paso 02e), listo para copiarse a
|
|
78
|
+
* `RetailCustomer.address` en el upsert. OPCIONAL y aditivo: el webhook lo puebla cuando la OCR trae
|
|
79
|
+
* domicilio y `places` resuelve; si no, el upsert corre sin dirección y se completa después. ⚠️ PII.
|
|
80
|
+
*/
|
|
81
|
+
@Expose() @IsOptional() @ValidateNested() @Type(() => AddressBase)
|
|
82
|
+
address?: AddressBase;
|
|
63
83
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Body del PUT /me/profile/complete (autenticado, gate post-MFA del autoregistro). DEC-RBAC-034.
|
|
3
|
-
* Opera sobre el propio usuario (cognitoSub del token). Valida nombre + los `userFieldDefs` requeridos
|
|
4
|
-
* del tenant (422 MISSING_REQUIRED_FIELDS si faltan) y flipea `profileComplete=true`.
|
|
5
|
-
*/
|
|
6
|
-
export declare class CompleteMyProfileRequest {
|
|
7
|
-
displayName: string;
|
|
8
|
-
customFields?: Record<string, string>;
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Body para cancelar una referencia de funding ya creada. La referencia/fundingId
|
|
3
|
-
* viaja en la URL (`/funding/{moduleName}/{fundingId}/cancel`); este body aporta
|
|
4
|
-
* el contexto del solicitante + idempotencia.
|
|
5
|
-
*
|
|
6
|
-
* NOTA: shape inferido desde el uso en `@fiado/api-invoker`
|
|
7
|
-
* (benefits-marketplace / equality-connector) — confirmar con el dueño del
|
|
8
|
-
* módulo walletFunding / el lambda equality-connector que implementa el cancel.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CancelFundingReferenceRequest {
|
|
11
|
-
directoryId: string;
|
|
12
|
-
reason?: string;
|
|
13
|
-
idempotencyKey: string;
|
|
14
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CancelFundingReferenceRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
/**
|
|
15
|
-
* Body para cancelar una referencia de funding ya creada. La referencia/fundingId
|
|
16
|
-
* viaja en la URL (`/funding/{moduleName}/{fundingId}/cancel`); este body aporta
|
|
17
|
-
* el contexto del solicitante + idempotencia.
|
|
18
|
-
*
|
|
19
|
-
* NOTA: shape inferido desde el uso en `@fiado/api-invoker`
|
|
20
|
-
* (benefits-marketplace / equality-connector) — confirmar con el dueño del
|
|
21
|
-
* módulo walletFunding / el lambda equality-connector que implementa el cancel.
|
|
22
|
-
*/
|
|
23
|
-
class CancelFundingReferenceRequest {
|
|
24
|
-
}
|
|
25
|
-
exports.CancelFundingReferenceRequest = CancelFundingReferenceRequest;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_validator_1.MaxLength)(64),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], CancelFundingReferenceRequest.prototype, "directoryId", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.MaxLength)(256),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CancelFundingReferenceRequest.prototype, "reason", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_validator_1.MaxLength)(64),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], CancelFundingReferenceRequest.prototype, "idempotencyKey", void 0);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
|
|
2
|
-
import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
|
|
3
|
-
/**
|
|
4
|
-
* Respuesta de la cancelación de una referencia de funding. Mismo estilo que
|
|
5
|
-
* CreateFundingReferenceResponse.
|
|
6
|
-
*
|
|
7
|
-
* NOTA: shape inferido desde el uso en `@fiado/api-invoker` — confirmar con el
|
|
8
|
-
* dueño del módulo walletFunding / el lambda equality-connector.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CancelFundingReferenceResponse {
|
|
11
|
-
/** Referencia cancelada (misma PK que se creó). */
|
|
12
|
-
reference: string;
|
|
13
|
-
status: BenefitPaymentStatusEnum;
|
|
14
|
-
errorCode?: WalletFundingErrorCodeEnum;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CancelFundingReferenceResponse = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Respuesta de la cancelación de una referencia de funding. Mismo estilo que
|
|
6
|
-
* CreateFundingReferenceResponse.
|
|
7
|
-
*
|
|
8
|
-
* NOTA: shape inferido desde el uso en `@fiado/api-invoker` — confirmar con el
|
|
9
|
-
* dueño del módulo walletFunding / el lambda equality-connector.
|
|
10
|
-
*/
|
|
11
|
-
class CancelFundingReferenceResponse {
|
|
12
|
-
}
|
|
13
|
-
exports.CancelFundingReferenceResponse = CancelFundingReferenceResponse;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CancelWalletFundingRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class CancelWalletFundingRequest {
|
|
15
|
-
}
|
|
16
|
-
exports.CancelWalletFundingRequest = CancelWalletFundingRequest;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.MaxLength)(64),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CancelWalletFundingRequest.prototype, "idempotencyKey", void 0);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
|
|
2
|
-
import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
|
|
3
|
-
export declare class CancelWalletFundingResponse {
|
|
4
|
-
status: BenefitPaymentStatusEnum;
|
|
5
|
-
errorCode?: WalletFundingErrorCodeEnum;
|
|
6
|
-
fundingId?: string;
|
|
7
|
-
}
|