@fiado/type-kit 3.99.2 → 3.100.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 (85) hide show
  1. package/bin/index.d.ts +0 -1
  2. package/bin/index.js +1 -2
  3. package/bin/walletFunding/dtos/GetWalletFundingLimitRequest.d.ts +14 -0
  4. package/bin/{emailVerification/dtos/EmailConfirmRequest.js → walletFunding/dtos/GetWalletFundingLimitRequest.js} +19 -13
  5. package/bin/walletFunding/dtos/GetWalletFundingLimitResponse.d.ts +22 -0
  6. package/bin/walletFunding/dtos/GetWalletFundingLimitResponse.js +22 -0
  7. package/bin/walletFunding/dtos/index.d.ts +2 -0
  8. package/bin/walletFunding/dtos/index.js +2 -0
  9. package/package.json +1 -1
  10. package/src/index.ts +0 -1
  11. package/src/walletFunding/dtos/GetWalletFundingLimitRequest.ts +16 -0
  12. package/src/walletFunding/dtos/GetWalletFundingLimitResponse.ts +22 -0
  13. package/src/walletFunding/dtos/index.ts +2 -0
  14. package/_test_/unit/emailVerification/dtos/EmailConfirmRequest.test.ts +0 -38
  15. package/_test_/unit/emailVerification/dtos/EmailVerificationStartRequest.test.ts +0 -44
  16. package/_test_/unit/emailVerification/dtos/internal/PrimaryEmailByDirectoryRequest.test.ts +0 -22
  17. package/_test_/unit/emailVerification/enums/EmailVerificationStatusEnum.test.ts +0 -17
  18. package/bin/cognitoBackofficeConnector/dtos/MfaPoolConfig.d.ts +0 -7
  19. package/bin/cognitoBackofficeConnector/dtos/MfaPoolConfig.js +0 -36
  20. package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.d.ts +0 -20
  21. package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.js +0 -11
  22. package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.d.ts +0 -4
  23. package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.js +0 -6
  24. package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.d.ts +0 -17
  25. package/bin/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.js +0 -39
  26. package/bin/emailVerification/dtos/EmailConfirmRequest.d.ts +0 -9
  27. package/bin/emailVerification/dtos/EmailDeleteRequest.d.ts +0 -7
  28. package/bin/emailVerification/dtos/EmailDeleteRequest.js +0 -30
  29. package/bin/emailVerification/dtos/EmailDeleteResponse.d.ts +0 -7
  30. package/bin/emailVerification/dtos/EmailDeleteResponse.js +0 -27
  31. package/bin/emailVerification/dtos/EmailItem.d.ts +0 -12
  32. package/bin/emailVerification/dtos/EmailItem.js +0 -41
  33. package/bin/emailVerification/dtos/EmailListResponse.d.ts +0 -7
  34. package/bin/emailVerification/dtos/EmailListResponse.js +0 -23
  35. package/bin/emailVerification/dtos/EmailSetPrincipalRequest.d.ts +0 -7
  36. package/bin/emailVerification/dtos/EmailSetPrincipalRequest.js +0 -30
  37. package/bin/emailVerification/dtos/EmailSetPrincipalResponse.d.ts +0 -7
  38. package/bin/emailVerification/dtos/EmailSetPrincipalResponse.js +0 -27
  39. package/bin/emailVerification/dtos/EmailVerificationResendRequest.d.ts +0 -7
  40. package/bin/emailVerification/dtos/EmailVerificationResendRequest.js +0 -30
  41. package/bin/emailVerification/dtos/EmailVerificationResendResponse.d.ts +0 -8
  42. package/bin/emailVerification/dtos/EmailVerificationResendResponse.js +0 -28
  43. package/bin/emailVerification/dtos/EmailVerificationStartRequest.d.ts +0 -9
  44. package/bin/emailVerification/dtos/EmailVerificationStartRequest.js +0 -32
  45. package/bin/emailVerification/dtos/EmailVerificationStartResponse.d.ts +0 -9
  46. package/bin/emailVerification/dtos/EmailVerificationStartResponse.js +0 -32
  47. package/bin/emailVerification/dtos/EmailVerificationStatusRequest.d.ts +0 -7
  48. package/bin/emailVerification/dtos/EmailVerificationStatusRequest.js +0 -30
  49. package/bin/emailVerification/dtos/EmailVerificationStatusResponse.d.ts +0 -10
  50. package/bin/emailVerification/dtos/EmailVerificationStatusResponse.js +0 -36
  51. package/bin/emailVerification/dtos/internal/EmailsByDirectoryRequest.d.ts +0 -6
  52. package/bin/emailVerification/dtos/internal/EmailsByDirectoryRequest.js +0 -25
  53. package/bin/emailVerification/dtos/internal/EmailsByDirectoryResponse.d.ts +0 -7
  54. package/bin/emailVerification/dtos/internal/EmailsByDirectoryResponse.js +0 -23
  55. package/bin/emailVerification/dtos/internal/PrimaryEmailByDirectoryRequest.d.ts +0 -7
  56. package/bin/emailVerification/dtos/internal/PrimaryEmailByDirectoryRequest.js +0 -26
  57. package/bin/emailVerification/dtos/internal/PrimaryEmailResponse.d.ts +0 -9
  58. package/bin/emailVerification/dtos/internal/PrimaryEmailResponse.js +0 -32
  59. package/bin/emailVerification/enums/EmailVerificationStatusEnum.d.ts +0 -15
  60. package/bin/emailVerification/enums/EmailVerificationStatusEnum.js +0 -19
  61. package/bin/emailVerification/index.d.ts +0 -18
  62. package/bin/emailVerification/index.js +0 -34
  63. package/bin/rbac/enums/PoolKind.d.ts +0 -16
  64. package/bin/rbac/enums/PoolKind.js +0 -20
  65. package/bin/rbac/index.d.ts +0 -1
  66. package/bin/rbac/index.js +0 -17
  67. package/src/emailVerification/dtos/EmailConfirmRequest.ts +0 -19
  68. package/src/emailVerification/dtos/EmailDeleteRequest.ts +0 -15
  69. package/src/emailVerification/dtos/EmailDeleteResponse.ts +0 -12
  70. package/src/emailVerification/dtos/EmailItem.ts +0 -23
  71. package/src/emailVerification/dtos/EmailListResponse.ts +0 -10
  72. package/src/emailVerification/dtos/EmailSetPrincipalRequest.ts +0 -15
  73. package/src/emailVerification/dtos/EmailSetPrincipalResponse.ts +0 -12
  74. package/src/emailVerification/dtos/EmailVerificationResendRequest.ts +0 -15
  75. package/src/emailVerification/dtos/EmailVerificationResendResponse.ts +0 -13
  76. package/src/emailVerification/dtos/EmailVerificationStartRequest.ts +0 -17
  77. package/src/emailVerification/dtos/EmailVerificationStartResponse.ts +0 -16
  78. package/src/emailVerification/dtos/EmailVerificationStatusRequest.ts +0 -15
  79. package/src/emailVerification/dtos/EmailVerificationStatusResponse.ts +0 -19
  80. package/src/emailVerification/dtos/internal/EmailsByDirectoryRequest.ts +0 -11
  81. package/src/emailVerification/dtos/internal/EmailsByDirectoryResponse.ts +0 -10
  82. package/src/emailVerification/dtos/internal/PrimaryEmailByDirectoryRequest.ts +0 -12
  83. package/src/emailVerification/dtos/internal/PrimaryEmailResponse.ts +0 -16
  84. package/src/emailVerification/enums/EmailVerificationStatusEnum.ts +0 -15
  85. package/src/emailVerification/index.ts +0 -18
@@ -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.EmailItem = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const EmailVerificationStatusEnum_1 = require("../enums/EmailVerificationStatusEnum");
15
- /**
16
- * Item de email asociado a un directorio. Se reutiliza en EmailListResponse
17
- * (público) y en EmailsByDirectoryResponse (interno).
18
- */
19
- class EmailItem {
20
- }
21
- exports.EmailItem = EmailItem;
22
- __decorate([
23
- (0, class_transformer_1.Expose)(),
24
- __metadata("design:type", String)
25
- ], EmailItem.prototype, "email", void 0);
26
- __decorate([
27
- (0, class_transformer_1.Expose)(),
28
- __metadata("design:type", Boolean)
29
- ], EmailItem.prototype, "isVerified", void 0);
30
- __decorate([
31
- (0, class_transformer_1.Expose)(),
32
- __metadata("design:type", Boolean)
33
- ], EmailItem.prototype, "isPrincipal", void 0);
34
- __decorate([
35
- (0, class_transformer_1.Expose)(),
36
- __metadata("design:type", String)
37
- ], EmailItem.prototype, "status", void 0);
38
- __decorate([
39
- (0, class_transformer_1.Expose)(),
40
- __metadata("design:type", Number)
41
- ], EmailItem.prototype, "verifiedAt", void 0);
@@ -1,7 +0,0 @@
1
- import { EmailItem } from './EmailItem';
2
- /**
3
- * Lista de emails asociados a un directorio (endpoint público de listado).
4
- */
5
- export declare class EmailListResponse {
6
- items: EmailItem[];
7
- }
@@ -1,23 +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.EmailListResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- /**
15
- * Lista de emails asociados a un directorio (endpoint público de listado).
16
- */
17
- class EmailListResponse {
18
- }
19
- exports.EmailListResponse = EmailListResponse;
20
- __decorate([
21
- (0, class_transformer_1.Expose)(),
22
- __metadata("design:type", Array)
23
- ], EmailListResponse.prototype, "items", void 0);
@@ -1,7 +0,0 @@
1
- /**
2
- * Body para marcar un email como principal del directorio.
3
- */
4
- export declare class EmailSetPrincipalRequest {
5
- directoryId: string;
6
- email: string;
7
- }
@@ -1,30 +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.EmailSetPrincipalRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Body para marcar un email como principal del directorio.
17
- */
18
- class EmailSetPrincipalRequest {
19
- }
20
- exports.EmailSetPrincipalRequest = EmailSetPrincipalRequest;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], EmailSetPrincipalRequest.prototype, "directoryId", void 0);
26
- __decorate([
27
- (0, class_transformer_1.Expose)(),
28
- (0, class_validator_1.IsEmail)(),
29
- __metadata("design:type", String)
30
- ], EmailSetPrincipalRequest.prototype, "email", void 0);
@@ -1,7 +0,0 @@
1
- /**
2
- * Respuesta al marcar un email como principal.
3
- */
4
- export declare class EmailSetPrincipalResponse {
5
- email: string;
6
- isPrincipal: boolean;
7
- }
@@ -1,27 +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.EmailSetPrincipalResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- /**
15
- * Respuesta al marcar un email como principal.
16
- */
17
- class EmailSetPrincipalResponse {
18
- }
19
- exports.EmailSetPrincipalResponse = EmailSetPrincipalResponse;
20
- __decorate([
21
- (0, class_transformer_1.Expose)(),
22
- __metadata("design:type", String)
23
- ], EmailSetPrincipalResponse.prototype, "email", void 0);
24
- __decorate([
25
- (0, class_transformer_1.Expose)(),
26
- __metadata("design:type", Boolean)
27
- ], EmailSetPrincipalResponse.prototype, "isPrincipal", void 0);
@@ -1,7 +0,0 @@
1
- /**
2
- * Body para reenviar el correo de verificación de un email ya iniciado.
3
- */
4
- export declare class EmailVerificationResendRequest {
5
- directoryId: string;
6
- email: string;
7
- }
@@ -1,30 +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.EmailVerificationResendRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Body para reenviar el correo de verificación de un email ya iniciado.
17
- */
18
- class EmailVerificationResendRequest {
19
- }
20
- exports.EmailVerificationResendRequest = EmailVerificationResendRequest;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], EmailVerificationResendRequest.prototype, "directoryId", void 0);
26
- __decorate([
27
- (0, class_transformer_1.Expose)(),
28
- (0, class_validator_1.IsEmail)(),
29
- __metadata("design:type", String)
30
- ], EmailVerificationResendRequest.prototype, "email", void 0);
@@ -1,8 +0,0 @@
1
- import { EmailVerificationStatusEnum } from '../enums/EmailVerificationStatusEnum';
2
- /**
3
- * Respuesta al reenviar el correo de verificación.
4
- */
5
- export declare class EmailVerificationResendResponse {
6
- verificationId: string;
7
- status: EmailVerificationStatusEnum;
8
- }
@@ -1,28 +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.EmailVerificationResendResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const EmailVerificationStatusEnum_1 = require("../enums/EmailVerificationStatusEnum");
15
- /**
16
- * Respuesta al reenviar el correo de verificación.
17
- */
18
- class EmailVerificationResendResponse {
19
- }
20
- exports.EmailVerificationResendResponse = EmailVerificationResendResponse;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- __metadata("design:type", String)
24
- ], EmailVerificationResendResponse.prototype, "verificationId", void 0);
25
- __decorate([
26
- (0, class_transformer_1.Expose)(),
27
- __metadata("design:type", String)
28
- ], EmailVerificationResendResponse.prototype, "status", void 0);
@@ -1,9 +0,0 @@
1
- /**
2
- * Body para iniciar la verificación de un email asociado a un directorio.
3
- * `directoryId` es @IsString (NO @IsUUID): el cognitoSub de backoffice es UUID v7
4
- * y rompe la validación @IsUUID de class-validator.
5
- */
6
- export declare class EmailVerificationStartRequest {
7
- directoryId: string;
8
- email: string;
9
- }
@@ -1,32 +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.EmailVerificationStartRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Body para iniciar la verificación de un email asociado a un directorio.
17
- * `directoryId` es @IsString (NO @IsUUID): el cognitoSub de backoffice es UUID v7
18
- * y rompe la validación @IsUUID de class-validator.
19
- */
20
- class EmailVerificationStartRequest {
21
- }
22
- exports.EmailVerificationStartRequest = EmailVerificationStartRequest;
23
- __decorate([
24
- (0, class_transformer_1.Expose)(),
25
- (0, class_validator_1.IsString)(),
26
- __metadata("design:type", String)
27
- ], EmailVerificationStartRequest.prototype, "directoryId", void 0);
28
- __decorate([
29
- (0, class_transformer_1.Expose)(),
30
- (0, class_validator_1.IsEmail)(),
31
- __metadata("design:type", String)
32
- ], EmailVerificationStartRequest.prototype, "email", void 0);
@@ -1,9 +0,0 @@
1
- import { EmailVerificationStatusEnum } from '../enums/EmailVerificationStatusEnum';
2
- /**
3
- * Respuesta al iniciar la verificación de un email.
4
- */
5
- export declare class EmailVerificationStartResponse {
6
- verificationId: string;
7
- email: string;
8
- status: EmailVerificationStatusEnum;
9
- }
@@ -1,32 +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.EmailVerificationStartResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const EmailVerificationStatusEnum_1 = require("../enums/EmailVerificationStatusEnum");
15
- /**
16
- * Respuesta al iniciar la verificación de un email.
17
- */
18
- class EmailVerificationStartResponse {
19
- }
20
- exports.EmailVerificationStartResponse = EmailVerificationStartResponse;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- __metadata("design:type", String)
24
- ], EmailVerificationStartResponse.prototype, "verificationId", void 0);
25
- __decorate([
26
- (0, class_transformer_1.Expose)(),
27
- __metadata("design:type", String)
28
- ], EmailVerificationStartResponse.prototype, "email", void 0);
29
- __decorate([
30
- (0, class_transformer_1.Expose)(),
31
- __metadata("design:type", String)
32
- ], EmailVerificationStartResponse.prototype, "status", void 0);
@@ -1,7 +0,0 @@
1
- /**
2
- * Body para consultar el estado de verificación de un email.
3
- */
4
- export declare class EmailVerificationStatusRequest {
5
- directoryId: string;
6
- email: string;
7
- }
@@ -1,30 +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.EmailVerificationStatusRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Body para consultar el estado de verificación de un email.
17
- */
18
- class EmailVerificationStatusRequest {
19
- }
20
- exports.EmailVerificationStatusRequest = EmailVerificationStatusRequest;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], EmailVerificationStatusRequest.prototype, "directoryId", void 0);
26
- __decorate([
27
- (0, class_transformer_1.Expose)(),
28
- (0, class_validator_1.IsEmail)(),
29
- __metadata("design:type", String)
30
- ], EmailVerificationStatusRequest.prototype, "email", void 0);
@@ -1,10 +0,0 @@
1
- import { EmailVerificationStatusEnum } from '../enums/EmailVerificationStatusEnum';
2
- /**
3
- * Estado de verificación de un email puntual de un directorio.
4
- */
5
- export declare class EmailVerificationStatusResponse {
6
- email: string;
7
- status: EmailVerificationStatusEnum;
8
- isVerified: boolean;
9
- isPrincipal: boolean;
10
- }
@@ -1,36 +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.EmailVerificationStatusResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const EmailVerificationStatusEnum_1 = require("../enums/EmailVerificationStatusEnum");
15
- /**
16
- * Estado de verificación de un email puntual de un directorio.
17
- */
18
- class EmailVerificationStatusResponse {
19
- }
20
- exports.EmailVerificationStatusResponse = EmailVerificationStatusResponse;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- __metadata("design:type", String)
24
- ], EmailVerificationStatusResponse.prototype, "email", void 0);
25
- __decorate([
26
- (0, class_transformer_1.Expose)(),
27
- __metadata("design:type", String)
28
- ], EmailVerificationStatusResponse.prototype, "status", void 0);
29
- __decorate([
30
- (0, class_transformer_1.Expose)(),
31
- __metadata("design:type", Boolean)
32
- ], EmailVerificationStatusResponse.prototype, "isVerified", void 0);
33
- __decorate([
34
- (0, class_transformer_1.Expose)(),
35
- __metadata("design:type", Boolean)
36
- ], EmailVerificationStatusResponse.prototype, "isPrincipal", void 0);
@@ -1,6 +0,0 @@
1
- /**
2
- * Request interno (api-invoker) para listar todos los emails de un directorio.
3
- */
4
- export declare class EmailsByDirectoryRequest {
5
- directoryId: string;
6
- }
@@ -1,25 +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.EmailsByDirectoryRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Request interno (api-invoker) para listar todos los emails de un directorio.
17
- */
18
- class EmailsByDirectoryRequest {
19
- }
20
- exports.EmailsByDirectoryRequest = EmailsByDirectoryRequest;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], EmailsByDirectoryRequest.prototype, "directoryId", void 0);
@@ -1,7 +0,0 @@
1
- import { EmailItem } from '../EmailItem';
2
- /**
3
- * Lista interna de emails de un directorio. Reutiliza el EmailItem público.
4
- */
5
- export declare class EmailsByDirectoryResponse {
6
- items: EmailItem[];
7
- }
@@ -1,23 +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.EmailsByDirectoryResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- /**
15
- * Lista interna de emails de un directorio. Reutiliza el EmailItem público.
16
- */
17
- class EmailsByDirectoryResponse {
18
- }
19
- exports.EmailsByDirectoryResponse = EmailsByDirectoryResponse;
20
- __decorate([
21
- (0, class_transformer_1.Expose)(),
22
- __metadata("design:type", Array)
23
- ], EmailsByDirectoryResponse.prototype, "items", void 0);
@@ -1,7 +0,0 @@
1
- /**
2
- * Request interno (api-invoker) para obtener el email principal de un directorio.
3
- * `directoryId` es @IsString (cognitoSub UUID v7 — no usar @IsUUID).
4
- */
5
- export declare class PrimaryEmailByDirectoryRequest {
6
- directoryId: string;
7
- }
@@ -1,26 +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.PrimaryEmailByDirectoryRequest = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- /**
16
- * Request interno (api-invoker) para obtener el email principal de un directorio.
17
- * `directoryId` es @IsString (cognitoSub UUID v7 — no usar @IsUUID).
18
- */
19
- class PrimaryEmailByDirectoryRequest {
20
- }
21
- exports.PrimaryEmailByDirectoryRequest = PrimaryEmailByDirectoryRequest;
22
- __decorate([
23
- (0, class_transformer_1.Expose)(),
24
- (0, class_validator_1.IsString)(),
25
- __metadata("design:type", String)
26
- ], PrimaryEmailByDirectoryRequest.prototype, "directoryId", void 0);
@@ -1,9 +0,0 @@
1
- /**
2
- * Email principal de un directorio. `email` es null si el directorio todavía
3
- * no tiene un email principal definido.
4
- */
5
- export declare class PrimaryEmailResponse {
6
- directoryId: string;
7
- email: string | null;
8
- isVerified: boolean;
9
- }
@@ -1,32 +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.PrimaryEmailResponse = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- /**
15
- * Email principal de un directorio. `email` es null si el directorio todavía
16
- * no tiene un email principal definido.
17
- */
18
- class PrimaryEmailResponse {
19
- }
20
- exports.PrimaryEmailResponse = PrimaryEmailResponse;
21
- __decorate([
22
- (0, class_transformer_1.Expose)(),
23
- __metadata("design:type", String)
24
- ], PrimaryEmailResponse.prototype, "directoryId", void 0);
25
- __decorate([
26
- (0, class_transformer_1.Expose)(),
27
- __metadata("design:type", String)
28
- ], PrimaryEmailResponse.prototype, "email", void 0);
29
- __decorate([
30
- (0, class_transformer_1.Expose)(),
31
- __metadata("design:type", Boolean)
32
- ], PrimaryEmailResponse.prototype, "isVerified", void 0);
@@ -1,15 +0,0 @@
1
- /**
2
- * Estado del flujo de verificación de un email asociado a un directorio.
3
- * PENDING: creado, todavía no se envió el correo.
4
- * SENT: correo de verificación enviado.
5
- * VERIFIED: el usuario confirmó el email vía el link.
6
- * EXPIRED: el token de verificación venció sin confirmarse.
7
- * FAILED: el envío o la verificación falló de forma terminal.
8
- */
9
- export declare enum EmailVerificationStatusEnum {
10
- PENDING = "PENDING",
11
- SENT = "SENT",
12
- VERIFIED = "VERIFIED",
13
- EXPIRED = "EXPIRED",
14
- FAILED = "FAILED"
15
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmailVerificationStatusEnum = void 0;
4
- /**
5
- * Estado del flujo de verificación de un email asociado a un directorio.
6
- * PENDING: creado, todavía no se envió el correo.
7
- * SENT: correo de verificación enviado.
8
- * VERIFIED: el usuario confirmó el email vía el link.
9
- * EXPIRED: el token de verificación venció sin confirmarse.
10
- * FAILED: el envío o la verificación falló de forma terminal.
11
- */
12
- var EmailVerificationStatusEnum;
13
- (function (EmailVerificationStatusEnum) {
14
- EmailVerificationStatusEnum["PENDING"] = "PENDING";
15
- EmailVerificationStatusEnum["SENT"] = "SENT";
16
- EmailVerificationStatusEnum["VERIFIED"] = "VERIFIED";
17
- EmailVerificationStatusEnum["EXPIRED"] = "EXPIRED";
18
- EmailVerificationStatusEnum["FAILED"] = "FAILED";
19
- })(EmailVerificationStatusEnum || (exports.EmailVerificationStatusEnum = EmailVerificationStatusEnum = {}));
@@ -1,18 +0,0 @@
1
- export * from './enums/EmailVerificationStatusEnum';
2
- export * from './dtos/EmailVerificationStartRequest';
3
- export * from './dtos/EmailVerificationStartResponse';
4
- export * from './dtos/EmailVerificationResendRequest';
5
- export * from './dtos/EmailVerificationResendResponse';
6
- export * from './dtos/EmailVerificationStatusRequest';
7
- export * from './dtos/EmailVerificationStatusResponse';
8
- export * from './dtos/EmailItem';
9
- export * from './dtos/EmailListResponse';
10
- export * from './dtos/EmailSetPrincipalRequest';
11
- export * from './dtos/EmailSetPrincipalResponse';
12
- export * from './dtos/EmailDeleteRequest';
13
- export * from './dtos/EmailDeleteResponse';
14
- export * from './dtos/EmailConfirmRequest';
15
- export * from './dtos/internal/PrimaryEmailByDirectoryRequest';
16
- export * from './dtos/internal/PrimaryEmailResponse';
17
- export * from './dtos/internal/EmailsByDirectoryRequest';
18
- export * from './dtos/internal/EmailsByDirectoryResponse';