@fiado/type-kit 3.217.0 → 3.218.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.
Files changed (30) hide show
  1. package/bin/index.d.ts +1 -0
  2. package/bin/index.js +4 -1
  3. package/bin/phoneSales/CreateDeviceVariantRequestDto.d.ts +6 -0
  4. package/bin/{platformRbac/dtos/ResendOtpRequest.js → phoneSales/CreateDeviceVariantRequestDto.js} +15 -18
  5. package/bin/phoneSales/CreateSaleRequestDto.d.ts +5 -0
  6. package/bin/{platformRbac/dtos/ResendSelfRegisterOtpRequest.js → phoneSales/CreateSaleRequestDto.js} +10 -18
  7. package/bin/phoneSales/DeviceVariantResponseDto.d.ts +8 -0
  8. package/bin/phoneSales/DeviceVariantResponseDto.js +6 -0
  9. package/bin/phoneSales/RedeemSaleCodeRequestDto.d.ts +4 -0
  10. package/bin/phoneSales/RedeemSaleCodeRequestDto.js +24 -0
  11. package/bin/phoneSales/SaleResponseDto.d.ts +11 -0
  12. package/bin/phoneSales/SaleResponseDto.js +6 -0
  13. package/bin/phoneSales/index.d.ts +5 -0
  14. package/bin/phoneSales/index.js +21 -0
  15. package/package.json +1 -1
  16. package/src/index.ts +3 -0
  17. package/src/phoneSales/CreateDeviceVariantRequestDto.ts +16 -0
  18. package/src/phoneSales/CreateSaleRequestDto.ts +12 -0
  19. package/src/phoneSales/DeviceVariantResponseDto.ts +8 -0
  20. package/src/phoneSales/RedeemSaleCodeRequestDto.ts +9 -0
  21. package/src/phoneSales/SaleResponseDto.ts +11 -0
  22. package/src/phoneSales/index.ts +5 -0
  23. package/bin/benefitCenter/enums/BenefitFlowEnum.d.ts +0 -11
  24. package/bin/benefitCenter/enums/BenefitFlowEnum.js +0 -15
  25. package/bin/loanConfig/enums/ModifiableByRoleEnum.d.ts +0 -11
  26. package/bin/loanConfig/enums/ModifiableByRoleEnum.js +0 -15
  27. package/bin/places/dtos/CashInFeeDto.d.ts +0 -17
  28. package/bin/places/dtos/CashInFeeDto.js +0 -12
  29. package/bin/platformRbac/dtos/ResendOtpRequest.d.ts +0 -22
  30. package/bin/platformRbac/dtos/ResendSelfRegisterOtpRequest.d.ts +0 -11
package/bin/index.d.ts CHANGED
@@ -102,3 +102,4 @@ export * as LoanScoring from './loanScoring';
102
102
  export * as Kyc from './kyc';
103
103
  export * from './messaging';
104
104
  export * from './complaint';
105
+ export * as PhoneSales from './phoneSales';
package/bin/index.js CHANGED
@@ -38,7 +38,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Device = exports.Observations = exports.IssuanceBusiness = exports.Blacklist = exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BenefitCenter = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.TransactionAnalytics = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.UserTags = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.AppContent = exports.App = exports.Offices = exports.Places = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = exports.Crypto = void 0;
40
40
  exports.LoanCredit = exports.LoanCollectorAssignment = exports.LoanOfferings = exports.Shortlink = exports.LoanConfig = exports.RetailWizard = exports.RetailCustomer = exports.RetailCards = exports.RetailCatalog = exports.RetailOrg = exports.EmailVerification = exports.NetworkConnector = exports.Modelias = exports.TotpSecurity = exports.Passport = exports.WalletFunding = exports.Remittance = exports.PlatformRbac = exports.CognitoBackofficeConnector = exports.TwilioConnector = exports.MessagesConnector = exports.Mdm = exports.MilestoneBusiness = exports.CirculoCredito = exports.CreditStatements = exports.Sentry = exports.AiEngine = exports.Funnel = exports.TeamsConnector = exports.PlatformErrorEvents = exports.CustomerFile = exports.CreditBackoffice = exports.CreditDashboard = exports.CreditEngine = exports.Credit = exports.ComissionBusiness = exports.ReferralBusiness = exports.ZendeskMessaging = exports.NotificationWS = exports.Event = exports.PayrollBusiness = exports.Cnbv = exports.DirectorySetting = exports.InvoiceCollector = exports.Collector = exports.Pricelist = exports.Company = exports.Services = exports.AccountIssuanceBusiness = exports.AppSelectionData = void 0;
41
- exports.Kyc = exports.LoanScoring = void 0;
41
+ exports.PhoneSales = exports.Kyc = exports.LoanScoring = void 0;
42
42
  exports.Crypto = __importStar(require("./crypto"));
43
43
  exports.Account = __importStar(require("./account"));
44
44
  exports.Activity = __importStar(require("./activity"));
@@ -181,3 +181,6 @@ exports.LoanScoring = __importStar(require("./loanScoring"));
181
181
  exports.Kyc = __importStar(require("./kyc"));
182
182
  __exportStar(require("./messaging"), exports);
183
183
  __exportStar(require("./complaint"), exports);
184
+ // PhoneSales: DTOs del lambda cell-phone-sales-business — variantes de dispositivo (modelo/color/
185
+ // storage/precio/stock), venta con delivery PICKUP|HOME y redención de código de referencia.
186
+ exports.PhoneSales = __importStar(require("./phoneSales"));
@@ -0,0 +1,6 @@
1
+ export declare class CreateDeviceVariantRequestDto {
2
+ model: string;
3
+ color: string;
4
+ storage: string;
5
+ price: number;
6
+ }
@@ -9,28 +9,25 @@ 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.ResendOtpRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
12
+ exports.CreateDeviceVariantRequestDto = void 0;
14
13
  const class_validator_1 = require("class-validator");
15
- /**
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).
21
- */
22
- class ResendOtpRequest {
14
+ class CreateDeviceVariantRequestDto {
23
15
  }
24
- exports.ResendOtpRequest = ResendOtpRequest;
16
+ exports.CreateDeviceVariantRequestDto = CreateDeviceVariantRequestDto;
25
17
  __decorate([
26
- (0, class_transformer_1.Expose)(),
27
- (0, class_validator_1.IsEmail)(),
28
- (0, class_validator_1.IsNotEmpty)(),
18
+ (0, class_validator_1.IsString)(),
29
19
  __metadata("design:type", String)
30
- ], ResendOtpRequest.prototype, "email", void 0);
20
+ ], CreateDeviceVariantRequestDto.prototype, "model", void 0);
31
21
  __decorate([
32
- (0, class_transformer_1.Expose)(),
33
22
  (0, class_validator_1.IsString)(),
34
- (0, class_validator_1.IsNotEmpty)(),
35
23
  __metadata("design:type", String)
36
- ], ResendOtpRequest.prototype, "tenantId", void 0);
24
+ ], CreateDeviceVariantRequestDto.prototype, "color", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], CreateDeviceVariantRequestDto.prototype, "storage", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsNumber)(),
31
+ (0, class_validator_1.Min)(0),
32
+ __metadata("design:type", Number)
33
+ ], CreateDeviceVariantRequestDto.prototype, "price", void 0);
@@ -0,0 +1,5 @@
1
+ export declare class CreateSaleRequestDto {
2
+ variantId: string;
3
+ deliveryType: 'PICKUP' | 'HOME';
4
+ deliveryData: Record<string, unknown>;
5
+ }
@@ -9,28 +9,20 @@ 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.ResendSelfRegisterOtpRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
12
+ exports.CreateSaleRequestDto = void 0;
14
13
  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 {
14
+ class CreateSaleRequestDto {
23
15
  }
24
- exports.ResendSelfRegisterOtpRequest = ResendSelfRegisterOtpRequest;
16
+ exports.CreateSaleRequestDto = CreateSaleRequestDto;
25
17
  __decorate([
26
- (0, class_transformer_1.Expose)(),
27
18
  (0, class_validator_1.IsString)(),
28
- (0, class_validator_1.IsNotEmpty)(),
29
19
  __metadata("design:type", String)
30
- ], ResendSelfRegisterOtpRequest.prototype, "tenantId", void 0);
20
+ ], CreateSaleRequestDto.prototype, "variantId", void 0);
31
21
  __decorate([
32
- (0, class_transformer_1.Expose)(),
33
- (0, class_validator_1.IsEmail)(),
34
- (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsIn)(['PICKUP', 'HOME']),
35
23
  __metadata("design:type", String)
36
- ], ResendSelfRegisterOtpRequest.prototype, "email", void 0);
24
+ ], CreateSaleRequestDto.prototype, "deliveryType", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsObject)(),
27
+ __metadata("design:type", Object)
28
+ ], CreateSaleRequestDto.prototype, "deliveryData", void 0);
@@ -0,0 +1,8 @@
1
+ export declare class DeviceVariantResponseDto {
2
+ id: string;
3
+ model: string;
4
+ color: string;
5
+ storage: string;
6
+ price: number;
7
+ stock: number;
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeviceVariantResponseDto = void 0;
4
+ class DeviceVariantResponseDto {
5
+ }
6
+ exports.DeviceVariantResponseDto = DeviceVariantResponseDto;
@@ -0,0 +1,4 @@
1
+ export declare class RedeemSaleCodeRequestDto {
2
+ referenceCode: string;
3
+ newAccountDirectorId: string;
4
+ }
@@ -0,0 +1,24 @@
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.RedeemSaleCodeRequestDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class RedeemSaleCodeRequestDto {
15
+ }
16
+ exports.RedeemSaleCodeRequestDto = RedeemSaleCodeRequestDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], RedeemSaleCodeRequestDto.prototype, "referenceCode", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], RedeemSaleCodeRequestDto.prototype, "newAccountDirectorId", void 0);
@@ -0,0 +1,11 @@
1
+ export declare class SaleResponseDto {
2
+ id: string;
3
+ referenceCode: string;
4
+ variantId: string;
5
+ buyerDirectorId: string;
6
+ newAccountDirectorId: string | null;
7
+ deliveryType: 'PICKUP' | 'HOME';
8
+ trackingCode: string | null;
9
+ providerStatus: string | null;
10
+ status: string;
11
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SaleResponseDto = void 0;
4
+ class SaleResponseDto {
5
+ }
6
+ exports.SaleResponseDto = SaleResponseDto;
@@ -0,0 +1,5 @@
1
+ export * from './DeviceVariantResponseDto';
2
+ export * from './CreateDeviceVariantRequestDto';
3
+ export * from './CreateSaleRequestDto';
4
+ export * from './SaleResponseDto';
5
+ export * from './RedeemSaleCodeRequestDto';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DeviceVariantResponseDto"), exports);
18
+ __exportStar(require("./CreateDeviceVariantRequestDto"), exports);
19
+ __exportStar(require("./CreateSaleRequestDto"), exports);
20
+ __exportStar(require("./SaleResponseDto"), exports);
21
+ __exportStar(require("./RedeemSaleCodeRequestDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.217.0",
3
+ "version": "3.218.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
package/src/index.ts CHANGED
@@ -140,3 +140,6 @@ export * as LoanScoring from './loanScoring';
140
140
  export * as Kyc from './kyc';
141
141
  export * from './messaging';
142
142
  export * from './complaint';
143
+ // PhoneSales: DTOs del lambda cell-phone-sales-business — variantes de dispositivo (modelo/color/
144
+ // storage/precio/stock), venta con delivery PICKUP|HOME y redención de código de referencia.
145
+ export * as PhoneSales from './phoneSales';
@@ -0,0 +1,16 @@
1
+ import { IsString, IsNumber, Min } from 'class-validator';
2
+
3
+ export class CreateDeviceVariantRequestDto {
4
+ @IsString()
5
+ model!: string;
6
+
7
+ @IsString()
8
+ color!: string;
9
+
10
+ @IsString()
11
+ storage!: string;
12
+
13
+ @IsNumber()
14
+ @Min(0)
15
+ price!: number;
16
+ }
@@ -0,0 +1,12 @@
1
+ import { IsString, IsIn, IsObject } from 'class-validator';
2
+
3
+ export class CreateSaleRequestDto {
4
+ @IsString()
5
+ variantId!: string;
6
+
7
+ @IsIn(['PICKUP', 'HOME'])
8
+ deliveryType!: 'PICKUP' | 'HOME';
9
+
10
+ @IsObject()
11
+ deliveryData!: Record<string, unknown>;
12
+ }
@@ -0,0 +1,8 @@
1
+ export class DeviceVariantResponseDto {
2
+ id!: string;
3
+ model!: string;
4
+ color!: string;
5
+ storage!: string;
6
+ price!: number;
7
+ stock!: number;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { IsString } from 'class-validator';
2
+
3
+ export class RedeemSaleCodeRequestDto {
4
+ @IsString()
5
+ referenceCode!: string;
6
+
7
+ @IsString()
8
+ newAccountDirectorId!: string;
9
+ }
@@ -0,0 +1,11 @@
1
+ export class SaleResponseDto {
2
+ id!: string;
3
+ referenceCode!: string;
4
+ variantId!: string;
5
+ buyerDirectorId!: string;
6
+ newAccountDirectorId!: string | null;
7
+ deliveryType!: 'PICKUP' | 'HOME';
8
+ trackingCode!: string | null;
9
+ providerStatus!: string | null;
10
+ status!: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ export * from './DeviceVariantResponseDto';
2
+ export * from './CreateDeviceVariantRequestDto';
3
+ export * from './CreateSaleRequestDto';
4
+ export * from './SaleResponseDto';
5
+ export * from './RedeemSaleCodeRequestDto';
@@ -1,11 +0,0 @@
1
- export declare enum BenefitFlowEnum {
2
- TOPUPS = "TOPUPS",
3
- BILL_PAYMENT = "BILL_PAYMENT",
4
- CREDIT = "CREDIT",
5
- INSURANCE = "INSURANCE",
6
- DONATION = "DONATION",
7
- PHARMACY = "PHARMACY",
8
- REMITTANCE = "REMITTANCE",
9
- /** Fondeo de wallet PCF con efectivo via provider externo (Equality/Passport, OpenPay, …) — spec 13. */
10
- WALLET_FUNDING = "WALLET_FUNDING"
11
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BenefitFlowEnum = void 0;
4
- var BenefitFlowEnum;
5
- (function (BenefitFlowEnum) {
6
- BenefitFlowEnum["TOPUPS"] = "TOPUPS";
7
- BenefitFlowEnum["BILL_PAYMENT"] = "BILL_PAYMENT";
8
- BenefitFlowEnum["CREDIT"] = "CREDIT";
9
- BenefitFlowEnum["INSURANCE"] = "INSURANCE";
10
- BenefitFlowEnum["DONATION"] = "DONATION";
11
- BenefitFlowEnum["PHARMACY"] = "PHARMACY";
12
- BenefitFlowEnum["REMITTANCE"] = "REMITTANCE";
13
- /** Fondeo de wallet PCF con efectivo via provider externo (Equality/Passport, OpenPay, …) — spec 13. */
14
- BenefitFlowEnum["WALLET_FUNDING"] = "WALLET_FUNDING";
15
- })(BenefitFlowEnum || (exports.BenefitFlowEnum = BenefitFlowEnum = {}));
@@ -1,11 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 = {}));
@@ -1,17 +0,0 @@
1
- import { CurrencyId } from '../../currency/enums/CurrencyId';
2
- /**
3
- * Comisión que cobra un punto de cash-in (lo que el lambda MUESTRA, no cobra).
4
- * - GreenDot (US): representativo por cadena → `fixed` + `cap` (cada tienda cobra hasta el tope).
5
- * - Passport (MX): por red → `fixed` + `percentage`.
6
- * Response DTO — sin decoradores de validación.
7
- */
8
- export declare class CashInFeeDto {
9
- /** Comisión fija, en la moneda del país. */
10
- fixed?: number;
11
- /** Porcentaje del monto depositado (0–100). */
12
- percentage?: number;
13
- /** Tope máximo de comisión (GreenDot: el asociado cobra hasta este cap). */
14
- cap?: number;
15
- /** Moneda del fee: USD (GreenDot) | MXN (Passport). */
16
- currency: CurrencyId;
17
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CashInFeeDto = void 0;
4
- /**
5
- * Comisión que cobra un punto de cash-in (lo que el lambda MUESTRA, no cobra).
6
- * - GreenDot (US): representativo por cadena → `fixed` + `cap` (cada tienda cobra hasta el tope).
7
- * - Passport (MX): por red → `fixed` + `percentage`.
8
- * Response DTO — sin decoradores de validación.
9
- */
10
- class CashInFeeDto {
11
- }
12
- exports.CashInFeeDto = CashInFeeDto;
@@ -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
- }