@fiado/type-kit 3.139.0 → 3.141.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/cognitoBackofficeConnector/dtos/MfaPoolConfig.d.ts +7 -0
- package/bin/{platformRbac/dtos/ResendSelfRegisterOtpRequest.js → cognitoBackofficeConnector/dtos/MfaPoolConfig.js} +18 -18
- package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.d.ts +20 -0
- package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.js +11 -0
- package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.d.ts +4 -0
- package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.js +6 -0
- package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.d.ts +17 -0
- package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.js +39 -0
- package/bin/rbac/enums/PoolKind.d.ts +16 -0
- package/bin/rbac/enums/PoolKind.js +20 -0
- package/bin/rbac/index.d.ts +1 -0
- package/bin/rbac/index.js +17 -0
- package/bin/remittance/dtos/RemittanceAuditLog.d.ts +42 -0
- package/bin/remittance/dtos/RemittanceAuditLog.js +62 -0
- package/bin/remittance/dtos/RemittanceBackofficeTransaction.d.ts +6 -0
- package/bin/remittance/dtos/RemittanceBackofficeUserView.d.ts +6 -0
- package/bin/remittance/dtos/RemittanceCohort.d.ts +62 -0
- package/bin/remittance/dtos/RemittanceCohort.js +105 -0
- package/bin/remittance/dtos/index.d.ts +2 -0
- package/bin/remittance/dtos/index.js +2 -0
- package/bin/remittance/dtos/internal/RemittanceCohortCount.d.ts +16 -0
- package/bin/remittance/dtos/internal/RemittanceCohortCount.js +34 -0
- package/bin/remittance/enums/AuditAction.d.ts +12 -0
- package/bin/remittance/enums/AuditAction.js +16 -0
- package/bin/remittance/enums/AuditEntityType.d.ts +12 -0
- package/bin/remittance/enums/AuditEntityType.js +16 -0
- package/bin/remittance/enums/CohortField.d.ts +23 -0
- package/bin/remittance/enums/CohortField.js +27 -0
- package/bin/remittance/enums/CohortOperator.d.ts +11 -0
- package/bin/remittance/enums/CohortOperator.js +15 -0
- package/bin/remittance/enums/CohortRefresh.d.ts +9 -0
- package/bin/remittance/enums/CohortRefresh.js +13 -0
- package/bin/remittance/enums/index.d.ts +5 -0
- package/bin/remittance/enums/index.js +5 -0
- package/bin/remittance/index.d.ts +1 -0
- package/bin/remittance/index.js +1 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.d.ts +5 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.js +31 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.d.ts +7 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.js +6 -0
- package/bin/walletFunding/dtos/CancelFundingRequest.d.ts +11 -0
- package/bin/{platformRbac/dtos/ResendOtpRequest.js → walletFunding/dtos/CancelFundingRequest.js} +13 -16
- package/bin/walletFunding/dtos/CancelFundingResponse.d.ts +14 -0
- package/bin/walletFunding/dtos/CancelFundingResponse.js +12 -0
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.d.ts +3 -0
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.js +21 -0
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.d.ts +7 -0
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.js +6 -0
- package/package.json +1 -1
- package/src/remittance/dtos/RemittanceAuditLog.ts +60 -0
- package/src/remittance/dtos/RemittanceBackofficeTransaction.ts +6 -0
- package/src/remittance/dtos/RemittanceBackofficeUserView.ts +6 -0
- package/src/remittance/dtos/RemittanceCohort.ts +112 -0
- package/src/remittance/dtos/index.ts +2 -0
- package/src/remittance/dtos/internal/RemittanceCohortCount.ts +24 -0
- package/src/remittance/enums/AuditAction.ts +12 -0
- package/src/remittance/enums/AuditEntityType.ts +12 -0
- package/src/remittance/enums/CohortField.ts +23 -0
- package/src/remittance/enums/CohortOperator.ts +11 -0
- package/src/remittance/enums/CohortRefresh.ts +9 -0
- package/src/remittance/enums/index.ts +5 -0
- package/src/remittance/index.ts +1 -0
- package/bin/platformRbac/dtos/ResendOtpRequest.d.ts +0 -22
- package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.d.ts +0 -11
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frecuencia de recálculo de un cohort. Un solo cron horario en remittance-business
|
|
3
|
+
* honra las 3 frecuencias respetando `nextCalculationAt` (+1h / +1d / +7d).
|
|
4
|
+
*/
|
|
5
|
+
export enum CohortRefresh {
|
|
6
|
+
HORARIO = "horario",
|
|
7
|
+
DIARIO = "diario",
|
|
8
|
+
SEMANAL = "semanal",
|
|
9
|
+
}
|
|
@@ -5,3 +5,8 @@ export * from "./RemittanceUserState";
|
|
|
5
5
|
export * from "./RemittanceCancelledByEnum";
|
|
6
6
|
export * from "./RemittanceCancelOutcomeEnum";
|
|
7
7
|
export * from "./FeeAbsorbedByEnum";
|
|
8
|
+
export * from "./CohortField";
|
|
9
|
+
export * from "./CohortOperator";
|
|
10
|
+
export * from "./CohortRefresh";
|
|
11
|
+
export * from "./AuditAction";
|
|
12
|
+
export * from "./AuditEntityType";
|
package/src/remittance/index.ts
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|