@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.
@@ -0,0 +1,8 @@
1
+ import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
2
+ export declare class CreateBankAccountInput {
3
+ externalClientId?: string;
4
+ externalUserId?: string;
5
+ name: string;
6
+ lastName: string;
7
+ type: BankAccountTypeEnum;
8
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBankAccountInput = void 0;
4
+ class CreateBankAccountInput {
5
+ }
6
+ exports.CreateBankAccountInput = CreateBankAccountInput;
@@ -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,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBankAccountUserInput = void 0;
4
+ class CreateBankAccountUserInput {
5
+ }
6
+ exports.CreateBankAccountUserInput = CreateBankAccountUserInput;
@@ -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,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccountEntityBase = void 0;
4
+ class AccountEntityBase {
5
+ }
6
+ exports.AccountEntityBase = AccountEntityBase;
@@ -0,0 +1,4 @@
1
+ export declare enum AccountEntityStatusEnum {
2
+ ENABLED = "ENABLED",
3
+ DISABLED = "DISABLED"
4
+ }
@@ -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,3 @@
1
+ export declare enum BankAccountTypeEnum {
2
+ CARD_ISSUING = "Card Issuing"
3
+ }
@@ -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 = {}));
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,11 @@
1
+ import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
2
+
3
+ export class CreateBankAccountInput {
4
+ externalClientId?: string;
5
+ externalUserId?: string;
6
+ name: string;
7
+ lastName: string;
8
+ type: BankAccountTypeEnum;
9
+ }
10
+
11
+
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ export enum AccountEntityStatusEnum {
2
+ ENABLED = "ENABLED",
3
+ DISABLED = "DISABLED"
4
+ }
@@ -0,0 +1,3 @@
1
+ export enum BankAccountTypeEnum {
2
+ CARD_ISSUING = "Card Issuing"
3
+ }
@@ -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,3 +0,0 @@
1
- export declare class GroupDirectoryRetationsUpdateRequest {
2
- agent: string;
3
- }
@@ -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);