@fiado/type-kit 1.6.9 → 1.6.11
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/AccountCreateRequest.d.ts +2 -4
- package/bin/account/dtos/AccountCreateRequest.js +2 -13
- package/bin/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.d.ts +4 -0
- package/bin/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.js +6 -0
- package/bin/centralPayments/index.d.ts +1 -0
- package/bin/centralPayments/index.js +17 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/package.json +1 -1
- package/src/account/dtos/AccountCreateRequest.ts +3 -12
- package/src/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.ts +4 -0
- package/src/centralPayments/index.ts +1 -0
- package/src/index.ts +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AddressResponse } from "../../address";
|
|
2
2
|
import { CountryId } from "../../country";
|
|
3
|
-
import { SexDocument } from '../../identity';
|
|
3
|
+
import { IdentificationDocument, SexDocument } from '../../identity';
|
|
4
4
|
import { Profile } from "../../directory/enums/Profile";
|
|
5
5
|
import { AccountLevelEnum } from "../enums/AccountLevelEnum";
|
|
6
6
|
export declare class AccountCreateRequest {
|
|
@@ -20,9 +20,7 @@ export declare class AccountCreateRequest {
|
|
|
20
20
|
email: string;
|
|
21
21
|
dob: string;
|
|
22
22
|
isHost?: boolean;
|
|
23
|
-
|
|
24
|
-
documentType: string;
|
|
25
|
-
documentCountry?: string;
|
|
23
|
+
documentInfo?: IdentificationDocument;
|
|
26
24
|
gender: SexDocument;
|
|
27
25
|
countryId: CountryId;
|
|
28
26
|
userProfile: Profile;
|
|
@@ -96,20 +96,9 @@ __decorate([
|
|
|
96
96
|
__metadata("design:type", Boolean)
|
|
97
97
|
], AccountCreateRequest.prototype, "isHost", void 0);
|
|
98
98
|
__decorate([
|
|
99
|
-
(0, class_validator_1.IsString)(),
|
|
100
|
-
(0, class_validator_1.Length)(1, 30),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], AccountCreateRequest.prototype, "documentNumber", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, class_validator_1.IsString)(),
|
|
105
|
-
(0, class_validator_1.Length)(1, 30),
|
|
106
|
-
__metadata("design:type", String)
|
|
107
|
-
], AccountCreateRequest.prototype, "documentType", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
(0, class_validator_1.IsString)(),
|
|
110
99
|
(0, class_validator_1.IsOptional)(),
|
|
111
|
-
__metadata("design:type",
|
|
112
|
-
], AccountCreateRequest.prototype, "
|
|
100
|
+
__metadata("design:type", identity_1.IdentificationDocument)
|
|
101
|
+
], AccountCreateRequest.prototype, "documentInfo", void 0);
|
|
113
102
|
__decorate([
|
|
114
103
|
(0, class_validator_1.IsOptional)(),
|
|
115
104
|
(0, class_validator_1.IsEnum)(identity_1.SexDocument),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos/SubmitOOWQuestionAnswersRequest';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./dtos/SubmitOOWQuestionAnswersRequest"), exports);
|
package/bin/index.d.ts
CHANGED
package/bin/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = void 0;
|
|
26
|
+
exports.CentralPayments = exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = exports.RiskProfile = exports.FraudPreventionEngine = exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Activity = exports.Account = void 0;
|
|
27
27
|
exports.Account = __importStar(require("./account"));
|
|
28
28
|
exports.Activity = __importStar(require("./activity"));
|
|
29
29
|
exports.Beneficiary = __importStar(require("./beneficiary"));
|
|
@@ -62,3 +62,4 @@ exports.LegalDocumentsBusiness = __importStar(require("./legal-documents-busines
|
|
|
62
62
|
exports.Auth = __importStar(require("./auth"));
|
|
63
63
|
exports.FiadoApiResponse = __importStar(require("./apiResponse"));
|
|
64
64
|
exports.Helpdesk = __importStar(require("./helpdesk"));
|
|
65
|
+
exports.CentralPayments = __importStar(require("./centralPayments"));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { CountryId } from "../../country";
|
|
|
4
4
|
import { regexUuidV4 } from '../../helpers/constans/regex';
|
|
5
5
|
import { TypeOfDirectoryId } from '../../directory';
|
|
6
6
|
import { IsPhoneNumberFiado } from '../../card/validations/IsPhoneNumberConstraint';
|
|
7
|
-
import { SexDocument
|
|
7
|
+
import {IdentificationDocument, SexDocument} from '../../identity';
|
|
8
8
|
import { Profile } from "../../directory/enums/Profile";
|
|
9
9
|
import {AccountLevelEnum} from "../enums/AccountLevelEnum";
|
|
10
10
|
|
|
@@ -69,19 +69,10 @@ export class AccountCreateRequest {
|
|
|
69
69
|
dob: string;
|
|
70
70
|
|
|
71
71
|
@IsBoolean()
|
|
72
|
-
isHost?: boolean;
|
|
72
|
+
isHost?: boolean;
|
|
73
73
|
|
|
74
|
-
@IsString()
|
|
75
|
-
@Length(1, 30)
|
|
76
|
-
documentNumber: string;
|
|
77
|
-
|
|
78
|
-
@IsString()
|
|
79
|
-
@Length(1, 30)
|
|
80
|
-
documentType: string;
|
|
81
|
-
|
|
82
|
-
@IsString()
|
|
83
74
|
@IsOptional()
|
|
84
|
-
|
|
75
|
+
documentInfo?: IdentificationDocument;
|
|
85
76
|
|
|
86
77
|
@IsOptional()
|
|
87
78
|
@IsEnum(SexDocument)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos/SubmitOOWQuestionAnswersRequest';
|
package/src/index.ts
CHANGED
|
@@ -36,6 +36,7 @@ export * as LegalDocumentsBusiness from './legal-documents-business';
|
|
|
36
36
|
export * as Auth from './auth';
|
|
37
37
|
export * as FiadoApiResponse from './apiResponse';
|
|
38
38
|
export * as Helpdesk from './helpdesk';
|
|
39
|
+
export * as CentralPayments from "./centralPayments";
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
|