@fiado/type-kit 1.5.7 → 1.5.8
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/CreateBankAccountOutput.d.ts +5 -0
- package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
- package/bin/directory/dtos/DirectoryBackofficeUpdateRequest.d.ts +6 -6
- package/bin/transaction/TransactionCreateRequest.d.ts +2 -0
- package/bin/transaction/TransactionCreateRequest.js +6 -0
- package/bin/transaction/TransactionCreateResponse.d.ts +2 -0
- package/bin/transaction/TransactionCreateResponse.js +6 -0
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +5 -0
- package/bin/transaction/dtos/TransactionSourceEnum.js +9 -0
- package/package.json +1 -1
- package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +6 -6
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { InstrumentEnum } from "../enums/InstrumentEnum";
|
|
3
|
+
export default class CreditContractCreateRequest {
|
|
4
|
+
directoryUserId: string;
|
|
5
|
+
relatedTransaction: string;
|
|
6
|
+
peopleId: string;
|
|
7
|
+
currencyId: CountryId;
|
|
8
|
+
creditNotional: number;
|
|
9
|
+
creditFee: number;
|
|
10
|
+
creditTax: number;
|
|
11
|
+
creditTotal: number;
|
|
12
|
+
instrument: InstrumentEnum;
|
|
13
|
+
amountBlocked: number;
|
|
14
|
+
relatedPocketId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
const class_validator_1 = require("class-validator");
|
|
13
|
+
const country_1 = require("../../country");
|
|
14
|
+
const InstrumentEnum_1 = require("../enums/InstrumentEnum");
|
|
15
|
+
class CreditContractCreateRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.default = CreditContractCreateRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreditContractCreateRequest.prototype, "peopleId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CreditContractCreateRequest.prototype, "currencyId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsNumber)(),
|
|
40
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CreditContractCreateRequest.prototype, "creditNotional", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsNumber)(),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreditContractCreateRequest.prototype, "creditFee", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsNumber)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], CreditContractCreateRequest.prototype, "creditTax", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsNumber)(),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], CreditContractCreateRequest.prototype, "creditTotal", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsEnum)(InstrumentEnum_1.InstrumentEnum),
|
|
60
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], CreditContractCreateRequest.prototype, "instrument", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsNumber)(),
|
|
65
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DirectoryBackofficeStatusEnum } from '../enums/DirectoryBackofficeStatusEnum';
|
|
2
2
|
export declare class DirectoryBackofficeUpdateRequest {
|
|
3
|
-
fullName
|
|
4
|
-
jobTitle
|
|
5
|
-
email
|
|
6
|
-
status
|
|
7
|
-
identityId
|
|
8
|
-
updatedBy
|
|
3
|
+
fullName?: string;
|
|
4
|
+
jobTitle?: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
status?: DirectoryBackofficeStatusEnum;
|
|
7
|
+
identityId?: string;
|
|
8
|
+
updatedBy?: string;
|
|
9
9
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionSourceEnum = void 0;
|
|
4
|
+
var TransactionSourceEnum;
|
|
5
|
+
(function (TransactionSourceEnum) {
|
|
6
|
+
TransactionSourceEnum["FIADO_INC"] = "FIADO_INC";
|
|
7
|
+
TransactionSourceEnum["FIADO_IFPE"] = "FIADO_IFPE";
|
|
8
|
+
TransactionSourceEnum["FIADO_SA"] = "FIADO_SA";
|
|
9
|
+
})(TransactionSourceEnum || (exports.TransactionSourceEnum = TransactionSourceEnum = {}));
|
package/package.json
CHANGED
|
@@ -8,27 +8,27 @@ export class DirectoryBackofficeUpdateRequest {
|
|
|
8
8
|
@IsString()
|
|
9
9
|
@IsOptional()
|
|
10
10
|
@IsNotEmpty()
|
|
11
|
-
fullName
|
|
11
|
+
fullName?: string;
|
|
12
12
|
|
|
13
13
|
@IsString()
|
|
14
14
|
@IsOptional()
|
|
15
|
-
jobTitle
|
|
15
|
+
jobTitle?: string;
|
|
16
16
|
|
|
17
17
|
@IsString()
|
|
18
18
|
@IsOptional()
|
|
19
19
|
@IsNotEmpty()
|
|
20
|
-
email
|
|
20
|
+
email?: string;
|
|
21
21
|
|
|
22
22
|
@IsEnum(DirectoryBackofficeStatusEnum)
|
|
23
23
|
@IsOptional()
|
|
24
|
-
status
|
|
24
|
+
status?: DirectoryBackofficeStatusEnum;
|
|
25
25
|
|
|
26
26
|
@IsString()
|
|
27
27
|
@IsOptional()
|
|
28
|
-
identityId
|
|
28
|
+
identityId?: string;
|
|
29
29
|
|
|
30
30
|
@IsString()
|
|
31
31
|
@IsNotEmpty()
|
|
32
|
-
updatedBy
|
|
32
|
+
updatedBy?: string;
|
|
33
33
|
|
|
34
34
|
}
|
|
@@ -1,22 +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.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
-
}
|
|
16
|
-
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.Length)(1, 20),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|