@fiado/type-kit 1.0.92 → 1.0.93
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/account/dtos/CreateBankAccountInput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountInput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +14 -0
- package/bin/account/dtos/CreateBankAccountUserInput.js +6 -0
- package/bin/card/dtos/CardApplicationRequest.d.ts +9 -4
- package/bin/card/dtos/CardApplicationRequest.js +25 -10
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/tern/dtos/TernAddress.d.ts +8 -0
- package/bin/tern/dtos/TernAddress.js +40 -0
- package/bin/tern/dtos/TernCreateAccountRequest.d.ts +7 -0
- package/bin/tern/dtos/TernCreateAccountRequest.js +33 -0
- package/bin/tern/dtos/TernCreateAccountResponse.d.ts +5 -0
- package/bin/tern/dtos/TernCreateAccountResponse.js +25 -0
- package/bin/tern/dtos/TernCreateUserRequest.d.ts +15 -0
- package/bin/tern/dtos/TernCreateUserRequest.js +70 -0
- package/bin/tern/dtos/TernCreateUserResponse.d.ts +8 -0
- package/bin/tern/dtos/TernCreateUserResponse.js +37 -0
- package/bin/tern/dtos/TernGetAccountRequest.d.ts +5 -0
- package/bin/tern/dtos/TernGetAccountRequest.js +25 -0
- package/bin/tern/dtos/TernGetAccountResponse.d.ts +22 -0
- package/bin/tern/dtos/TernGetAccountResponse.js +87 -0
- package/bin/tern/dtos/TernGetUserRequest.d.ts +3 -0
- package/bin/tern/dtos/TernGetUserRequest.js +20 -0
- package/bin/tern/dtos/TernGetUserResponse.d.ts +24 -0
- package/bin/tern/dtos/TernGetUserResponse.js +96 -0
- package/bin/tern/enums/TernAccountStatusEnum.d.ts +4 -0
- package/bin/tern/enums/TernAccountStatusEnum.js +8 -0
- package/bin/tern/enums/TernAccountTypeEnum.d.ts +5 -0
- package/bin/tern/enums/TernAccountTypeEnum.js +9 -0
- package/bin/tern/index.d.ts +11 -0
- package/bin/tern/index.js +29 -0
- package/package.json +1 -1
- package/src/card/dtos/CardApplicationRequest.ts +24 -10
- package/.idea/aws.xml +0 -11
- package/.idea/fiado-type-kit.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/sonarlint/issuestore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
- package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
- package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
- package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
- package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/issuestore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
- package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/issuestore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
- package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/issuestore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
- package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/issuestore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
- package/.idea/sonarlint/issuestore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
- package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/issuestore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
- package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
- package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/issuestore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
- package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/issuestore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
- package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
- package/.idea/sonarlint/issuestore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +0 -104
- package/.idea/sonarlint/securityhotspotstore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +0 -104
- package/.idea/vcs.xml +0 -6
|
@@ -0,0 +1,96 @@
|
|
|
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.TernGetUserResponse = void 0;
|
|
13
|
+
const identity_1 = require("../../identity");
|
|
14
|
+
const TernAccountStatusEnum_1 = require("../enums/TernAccountStatusEnum");
|
|
15
|
+
const TernAddress_1 = require("./TernAddress");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const IsPhoneNumberConstraint_1 = require("../../card/validations/IsPhoneNumberConstraint");
|
|
18
|
+
class TernGetUserResponse {
|
|
19
|
+
}
|
|
20
|
+
exports.TernGetUserResponse = TernGetUserResponse;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], TernGetUserResponse.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], TernGetUserResponse.prototype, "typeOfUserId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TernGetUserResponse.prototype, "dob", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TernGetUserResponse.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TernGetUserResponse.prototype, "lastName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, IsPhoneNumberConstraint_1.IsPhoneNumberFiado)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TernGetUserResponse.prototype, "phoneNumber", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsEmail)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], TernGetUserResponse.prototype, "email", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.ValidateNested)(),
|
|
51
|
+
__metadata("design:type", TernAddress_1.TernAddress)
|
|
52
|
+
], TernGetUserResponse.prototype, "address", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsEnum)(TernAccountStatusEnum_1.TernAccountStatusEnum),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], TernGetUserResponse.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsEnum)(identity_1.SexDocument),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], TernGetUserResponse.prototype, "sex", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], TernGetUserResponse.prototype, "documentNumber", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], TernGetUserResponse.prototype, "typeOfDocumentId", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], TernGetUserResponse.prototype, "countryId", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsArray)(),
|
|
75
|
+
__metadata("design:type", Array)
|
|
76
|
+
], TernGetUserResponse.prototype, "userAccountIds", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsString)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], TernGetUserResponse.prototype, "createdDate", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], TernGetUserResponse.prototype, "updatedDate", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], TernGetUserResponse.prototype, "deletedDate", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], TernGetUserResponse.prototype, "updatedBy", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_validator_1.IsArray)(),
|
|
95
|
+
__metadata("design:type", Array)
|
|
96
|
+
], TernGetUserResponse.prototype, "accountIds", void 0);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TernAccountStatusEnum = void 0;
|
|
4
|
+
var TernAccountStatusEnum;
|
|
5
|
+
(function (TernAccountStatusEnum) {
|
|
6
|
+
TernAccountStatusEnum["ACTIVE"] = "ACTIVE";
|
|
7
|
+
TernAccountStatusEnum["INACTIVE"] = "INACTIVE";
|
|
8
|
+
})(TernAccountStatusEnum || (exports.TernAccountStatusEnum = TernAccountStatusEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TernAccountTypeEnum = void 0;
|
|
4
|
+
var TernAccountTypeEnum;
|
|
5
|
+
(function (TernAccountTypeEnum) {
|
|
6
|
+
TernAccountTypeEnum["CARD_ISSUING"] = "Card Issuing";
|
|
7
|
+
TernAccountTypeEnum["USER"] = "USER";
|
|
8
|
+
TernAccountTypeEnum["BUSINESS"] = "BUSINESS";
|
|
9
|
+
})(TernAccountTypeEnum || (exports.TernAccountTypeEnum = TernAccountTypeEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './dtos/TernCreateUserRequest';
|
|
2
|
+
export * from './dtos/TernCreateUserResponse';
|
|
3
|
+
export * from './dtos/TernCreateAccountRequest';
|
|
4
|
+
export * from './dtos/TernCreateAccountResponse';
|
|
5
|
+
export * from './dtos/TernGetAccountRequest';
|
|
6
|
+
export * from './dtos/TernGetAccountResponse';
|
|
7
|
+
export * from './dtos/TernGetUserRequest';
|
|
8
|
+
export * from './dtos/TernGetUserResponse';
|
|
9
|
+
export * from './dtos/TernAddress';
|
|
10
|
+
export * from './enums/TernAccountTypeEnum';
|
|
11
|
+
export * from './enums/TernAccountStatusEnum';
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
// DTOs
|
|
18
|
+
__exportStar(require("./dtos/TernCreateUserRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/TernCreateUserResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/TernCreateAccountRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/TernCreateAccountResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/TernGetAccountRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/TernGetAccountResponse"), exports);
|
|
24
|
+
__exportStar(require("./dtos/TernGetUserRequest"), exports);
|
|
25
|
+
__exportStar(require("./dtos/TernGetUserResponse"), exports);
|
|
26
|
+
__exportStar(require("./dtos/TernAddress"), exports);
|
|
27
|
+
// ENUMS
|
|
28
|
+
__exportStar(require("./enums/TernAccountTypeEnum"), exports);
|
|
29
|
+
__exportStar(require("./enums/TernAccountStatusEnum"), exports);
|
package/package.json
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
import { IsEnum, IsNotEmpty,
|
|
4
|
-
import { Type } from 'class-transformer';
|
|
3
|
+
import { IsEnum, IsNotEmpty, IsOptional } from 'class-validator';
|
|
5
4
|
import { CountryId } from '../../country/enums/CountryId';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { CreditOrDebit } from '../enums/CreditOrDebit';
|
|
6
|
+
import { VirtualOrPhysical } from '../enums/VirtualOrPhysical';
|
|
7
|
+
import { DeliveryChannel } from '../enums/DeliveryChannel';
|
|
8
8
|
|
|
9
9
|
export class CardApplicationRequest {
|
|
10
|
+
|
|
11
|
+
@IsNotEmpty()
|
|
10
12
|
@IsEnum(CountryId)
|
|
11
|
-
countryId:
|
|
13
|
+
countryId: CountryId;
|
|
14
|
+
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsEnum(CreditOrDebit)
|
|
17
|
+
creditOrDebit: string;
|
|
12
18
|
|
|
13
|
-
@
|
|
14
|
-
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsEnum(VirtualOrPhysical)
|
|
21
|
+
virtualOrPhysical: VirtualOrPhysical = VirtualOrPhysical.PHYSICAL;
|
|
15
22
|
|
|
16
23
|
@IsNotEmpty()
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
addressId: string;
|
|
25
|
+
|
|
26
|
+
@IsEnum(DeliveryChannel)
|
|
27
|
+
deliveryChannel: DeliveryChannel
|
|
28
|
+
|
|
29
|
+
constructor(partial: Partial<CardApplicationRequest>) {
|
|
30
|
+
Object.assign(this, partial);
|
|
31
|
+
// Asegura que virtualOrPhysical tenga un valor por defecto si no se provee
|
|
32
|
+
this.virtualOrPhysical = this.virtualOrPhysical || VirtualOrPhysical.PHYSICAL;
|
|
33
|
+
}
|
|
20
34
|
}
|
package/.idea/aws.xml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="accountSettings">
|
|
4
|
-
<option name="activeRegion" value="us-east-1" />
|
|
5
|
-
<option name="recentlyUsedRegions">
|
|
6
|
-
<list>
|
|
7
|
-
<option value="us-east-1" />
|
|
8
|
-
</list>
|
|
9
|
-
</option>
|
|
10
|
-
</component>
|
|
11
|
-
</project>
|
package/.idea/fiado-type-kit.iml
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$">
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
9
|
-
<orderEntry type="inheritedJdk" />
|
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
</component>
|
|
12
|
-
</module>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/fiado-type-kit.iml" filepath="$PROJECT_DIR$/.idea/fiado-type-kit.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
9
|
|
3
|
-
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
-
A
|
|
5
|
-
src/card/index.ts,1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd
|
|
6
|
-
<
|
|
7
|
-
src/index.ts,c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1
|
|
8
|
-
Q
|
|
9
|
-
!src/notificationMessages/index.ts,6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54
|
|
10
|
-
p
|
|
11
|
-
@src/notificationMessages/dtos/NotificationQueueMessageRequest.ts,3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d
|
|
12
|
-
h
|
|
13
|
-
8src/notificationMessages/dtos/QueueMessageDestination.ts,2/5/25497cc140764f84080ed16d4d408b09b411525a
|
|
14
|
-
k
|
|
15
|
-
;src/notificationMessages/dtos/QueueMessageVariableValues.ts,7/3/73eee44012dacbb17c6d2e2d988e6def209267b8
|
|
16
|
-
<
|
|
17
|
-
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
18
|
-
K
|
|
19
|
-
src/servicePayment/index.ts,8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec
|
|
20
|
-
6
|
|
21
|
-
.npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
|
|
22
|
-
T
|
|
23
|
-
$src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
|
|
24
|
-
T
|
|
25
|
-
$src/group/dtos/GroupUpdateRequest.ts,7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99
|
|
26
|
-
X
|
|
27
|
-
(src/account/dtos/AccountCreateRequest.ts,6/4/646b88aafc1ca8453d1a111ea33d258c52e07851
|
|
28
|
-
Y
|
|
29
|
-
)src/account/entities/AccountEntityBase.ts,3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1
|
|
30
|
-
Y
|
|
31
|
-
)src/account/dtos/AccountCreateResponse.ts,9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430
|
|
32
|
-
`
|
|
33
|
-
0src/account/dtos/CreateBankAccountUserRequest.ts,4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6
|
|
34
|
-
D
|
|
35
|
-
src/account/index.ts,5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531
|
|
36
|
-
]
|
|
37
|
-
-src/account/dtos/CreateBankAccountResponse.ts,3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7
|
|
38
|
-
a
|
|
39
|
-
1src/account/dtos/CreateBankAccountUserResponse.ts,9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2
|
|
40
|
-
\
|
|
41
|
-
,src/account/dtos/CreateBankAccountRequest.ts,f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5
|
|
42
|
-
]
|
|
43
|
-
-src/account/dtos/GetBankAccountUserRequest.ts,1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350
|
|
44
|
-
^
|
|
45
|
-
.src/account/dtos/GetBankAccountUserResponse.ts,a/9/a903e3bfc804794d9b9535cbb530c68383652b5d
|
|
46
|
-
N
|
|
47
|
-
src/provider/enums/Provider.ts,6/1/619fe0b2aa30704d95a60035674b31d432fc5a75
|
|
48
|
-
Y
|
|
49
|
-
)src/account/dtos/GetBankAccountRequest.ts,7/7/77a3404a468e41376864800c0ab63d69287e6eab
|
|
50
|
-
Z
|
|
51
|
-
*src/account/dtos/GetBankAccountResponse.ts,5/5/55792c374cceb362b99620756061abf16563279b
|
|
52
|
-
^
|
|
53
|
-
.src/account/dtos/BankAccountExternalAddress.ts,f/9/f9d6327040914014594d301e0dc6361a476a5ff4
|
|
54
|
-
\
|
|
55
|
-
,src/account/enums/AccountEntityStatusEnum.ts,6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4
|
|
56
|
-
Y
|
|
57
|
-
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
58
|
-
N
|
|
59
|
-
src/directory/enums/Profile.ts,6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1
|
|
60
|
-
E
|
|
61
|
-
src/currency/index.ts,c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f
|
|
62
|
-
U
|
|
63
|
-
%src/currency/dtos/CurrencyResponse.ts,7/3/73d3690344e0bf29ccdba246e5f3450707458c0a
|
|
64
|
-
]
|
|
65
|
-
-src/exchangeRate/dtos/ExchangeRateResponse.ts,5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8
|
|
66
|
-
N
|
|
67
|
-
src/country/enums/CountryId.ts,8/c/8ce69d617cb074433c15518eed688652cbc8c164
|
|
68
|
-
_
|
|
69
|
-
/src/card/validations/IsPhoneNumberConstraint.ts,5/6/566db33aef0142b767c76568b2fca29caaa1b423
|
|
70
|
-
M
|
|
71
|
-
src/helpers/constans/regex.ts,0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e
|
|
72
|
-
U
|
|
73
|
-
%src/account/enums/AccountLevelEnum.ts,c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5
|
|
74
|
-
]
|
|
75
|
-
-src/account/dtos/GetAccountBalanceResponse.ts,1/0/10612661d76edd5c482b60e71edd3a7f74505d5e
|
|
76
|
-
\
|
|
77
|
-
,src/account/dtos/GetPocketBalanceResponse.ts,2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde
|
|
78
|
-
U
|
|
79
|
-
%src/account/dtos/GetPocketResponse.ts,9/8/98a520adeec585ead0013d974a18f679393b6997
|
|
80
|
-
S
|
|
81
|
-
#src/account/entities/AccountInfo.ts,8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c
|
|
82
|
-
R
|
|
83
|
-
"src/account/entities/PocketItem.ts,5/9/59861d131fb0f6508d57801b470735455669e76f
|
|
84
|
-
T
|
|
85
|
-
$src/account/entities/ExchangeInfo.ts,a/5/a545ebf840220599f323a01614431575a770e319
|
|
86
|
-
`
|
|
87
|
-
0src/account/dtos/UpdateBankAccountUserRequest.ts,4/1/4110de41994be7f0e890b6711ba86bb4fb50f602
|
|
88
|
-
O
|
|
89
|
-
src/account/dtos/AccountInfo.ts,5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50
|
|
90
|
-
N
|
|
91
|
-
src/account/dtos/PocketItem.ts,0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55
|
|
92
|
-
P
|
|
93
|
-
src/account/dtos/ExchangeInfo.ts,d/2/d24fe332e92475452d840d36f81c9af7b70887e7
|
|
94
|
-
`
|
|
95
|
-
0src/exchangeRate/dtos/GetExchangeRatesRequest.ts,5/2/52124373285180cc9fc913380c1cf02a160f9e62
|
|
96
|
-
I
|
|
97
|
-
src/exchangeRate/index.ts,b/c/bc5b896ed63da1497d081036364d9f2384f2ea37
|
|
98
|
-
:
|
|
99
|
-
|
|
100
|
-
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
|
|
101
|
-
U
|
|
102
|
-
%src/account/dtos/PocketBalanceItem.ts,9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f
|
|
103
|
-
V
|
|
104
|
-
&src/account/dtos/GetAccountResponse.ts,8/1/81c76302465b6fb29ef101681712a023c52c8f00
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|