@fiado/type-kit 1.0.61 → 1.0.63
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/account/entities/AccountEntityBase.d.ts +10 -0
- package/bin/account/entities/AccountEntityBase.js +6 -0
- package/bin/account/enums/AccountEntityStatusEnum.d.ts +4 -0
- package/bin/account/enums/AccountEntityStatusEnum.js +8 -0
- package/bin/account/enums/BankAccountTypeEnum.d.ts +3 -0
- package/bin/account/enums/BankAccountTypeEnum.js +7 -0
- package/bin/account/index.d.ts +4 -0
- package/bin/account/index.js +5 -0
- package/package.json +1 -1
- package/src/account/dtos/CreateBankAccountInput.ts +11 -0
- package/src/account/dtos/CreateBankAccountUserInput.ts +18 -0
- package/src/account/entities/AccountEntityBase.ts +11 -0
- package/src/account/enums/AccountEntityStatusEnum.ts +4 -0
- package/src/account/enums/BankAccountTypeEnum.ts +3 -0
- package/src/account/index.ts +7 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AddressBase } from "../../address/dtos/AddressBase";
|
|
2
|
+
export declare class CreateBankAccountUserInput {
|
|
3
|
+
directoryId: string;
|
|
4
|
+
typeOfDirectoryId: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
phoneNumber: string;
|
|
8
|
+
address: AddressBase;
|
|
9
|
+
email: string;
|
|
10
|
+
dob: string;
|
|
11
|
+
documentNumber: string;
|
|
12
|
+
documentType?: string;
|
|
13
|
+
gender?: "M" | "F";
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccountEntityStatusEnum } from "../enums/AccountEntityStatusEnum";
|
|
2
|
+
export declare class AccountEntityBase {
|
|
3
|
+
id: string;
|
|
4
|
+
directoryId: string;
|
|
5
|
+
typeOfDirectoryId: string;
|
|
6
|
+
peopleId: string;
|
|
7
|
+
currencyId: string;
|
|
8
|
+
status: AccountEntityStatusEnum;
|
|
9
|
+
tenantId: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountEntityStatusEnum = void 0;
|
|
4
|
+
var AccountEntityStatusEnum;
|
|
5
|
+
(function (AccountEntityStatusEnum) {
|
|
6
|
+
AccountEntityStatusEnum["ENABLED"] = "ENABLED";
|
|
7
|
+
AccountEntityStatusEnum["DISABLED"] = "DISABLED";
|
|
8
|
+
})(AccountEntityStatusEnum || (exports.AccountEntityStatusEnum = AccountEntityStatusEnum = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankAccountTypeEnum = void 0;
|
|
4
|
+
var BankAccountTypeEnum;
|
|
5
|
+
(function (BankAccountTypeEnum) {
|
|
6
|
+
BankAccountTypeEnum["CARD_ISSUING"] = "Card Issuing";
|
|
7
|
+
})(BankAccountTypeEnum || (exports.BankAccountTypeEnum = BankAccountTypeEnum = {}));
|
package/bin/account/index.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export * from './dtos/AccountCreateRequest';
|
|
2
|
+
export * from './dtos/CreateBankAccountInput';
|
|
3
|
+
export * from './dtos/CreateBankAccountUserInput';
|
|
2
4
|
export * from './dtos/AccountCreateResponse';
|
|
5
|
+
export * from './entities/AccountEntityBase';
|
|
6
|
+
export * from './enums/BankAccountTypeEnum';
|
package/bin/account/index.js
CHANGED
|
@@ -16,4 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
//dtos
|
|
18
18
|
__exportStar(require("./dtos/AccountCreateRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/CreateBankAccountInput"), exports);
|
|
20
|
+
__exportStar(require("./dtos/CreateBankAccountUserInput"), exports);
|
|
19
21
|
__exportStar(require("./dtos/AccountCreateResponse"), exports);
|
|
22
|
+
__exportStar(require("./entities/AccountEntityBase"), exports);
|
|
23
|
+
//Enums
|
|
24
|
+
__exportStar(require("./enums/BankAccountTypeEnum"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AddressBase } from "../../address/dtos/AddressBase";
|
|
2
|
+
import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
|
|
3
|
+
|
|
4
|
+
export class CreateBankAccountUserInput {
|
|
5
|
+
directoryId: string;
|
|
6
|
+
typeOfDirectoryId: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
address: AddressBase;
|
|
11
|
+
email: string;
|
|
12
|
+
dob: string;
|
|
13
|
+
documentNumber: string;
|
|
14
|
+
documentType?: string;
|
|
15
|
+
gender?: "M"|"F";
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountEntityStatusEnum } from "../enums/AccountEntityStatusEnum"
|
|
2
|
+
|
|
3
|
+
export class AccountEntityBase{
|
|
4
|
+
id:string
|
|
5
|
+
directoryId:string
|
|
6
|
+
typeOfDirectoryId:string
|
|
7
|
+
peopleId:string
|
|
8
|
+
currencyId:string
|
|
9
|
+
status:AccountEntityStatusEnum
|
|
10
|
+
tenantId:string
|
|
11
|
+
}
|
package/src/account/index.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
//dtos
|
|
2
2
|
export * from './dtos/AccountCreateRequest';
|
|
3
|
+
export * from './dtos/CreateBankAccountInput';
|
|
4
|
+
export * from './dtos/CreateBankAccountUserInput';
|
|
3
5
|
export * from './dtos/AccountCreateResponse';
|
|
6
|
+
export * from './entities/AccountEntityBase';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
//Enums
|
|
10
|
+
export * from './enums/BankAccountTypeEnum';
|
|
4
11
|
|
|
@@ -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);
|