@fiado/type-kit 1.8.41 → 1.8.43

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,13 @@
1
+ import { ExternalAccountTypeEnum } from "../enums/ExternalAccountTypeEnum";
2
+ import { ExternalAccountOwnershipEnum } from "../enums/ExternalAccountOwnershipEnum";
3
+ export declare class CreateExternalBankAccountRequest {
4
+ accountHolderName: string;
5
+ countryId?: string;
6
+ accountNumber?: string;
7
+ routingNumber?: string;
8
+ alias?: string;
9
+ accountType: ExternalAccountTypeEnum;
10
+ bankId?: string;
11
+ bankName?: string;
12
+ ownership?: ExternalAccountOwnershipEnum;
13
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateExternalBankAccountRequest = void 0;
4
+ class CreateExternalBankAccountRequest {
5
+ }
6
+ exports.CreateExternalBankAccountRequest = CreateExternalBankAccountRequest;
@@ -8,7 +8,6 @@ export default class GetExternalBankAccountResponse {
8
8
  directoryId: string;
9
9
  typeOfDirectoryId: string;
10
10
  accountHolderName: string;
11
- email: string | null;
12
11
  accountType: ExternalAccountTypeEnum;
13
12
  bankName: string | null;
14
13
  iconUrl: string | null;
@@ -0,0 +1,4 @@
1
+ export declare enum ExternalAccountOwnershipEnum {
2
+ SELF = "SELF",
3
+ OTHER = "OTHER"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalAccountOwnershipEnum = void 0;
4
+ var ExternalAccountOwnershipEnum;
5
+ (function (ExternalAccountOwnershipEnum) {
6
+ ExternalAccountOwnershipEnum["SELF"] = "SELF";
7
+ ExternalAccountOwnershipEnum["OTHER"] = "OTHER";
8
+ })(ExternalAccountOwnershipEnum || (exports.ExternalAccountOwnershipEnum = ExternalAccountOwnershipEnum = {}));
@@ -0,0 +1,7 @@
1
+ export declare enum ExternalAccountStatusEnum {
2
+ PENDING = "PENDING",
3
+ FAILED = "FAILED",
4
+ VERIFIED = "VERIFIED",
5
+ PRE_VERIFIED = "PRE_VERIFIED",
6
+ MANUALLY_APPROVED = "MANUALLY_APPROVED"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalAccountStatusEnum = void 0;
4
+ var ExternalAccountStatusEnum;
5
+ (function (ExternalAccountStatusEnum) {
6
+ ExternalAccountStatusEnum["PENDING"] = "PENDING";
7
+ ExternalAccountStatusEnum["FAILED"] = "FAILED";
8
+ ExternalAccountStatusEnum["VERIFIED"] = "VERIFIED";
9
+ ExternalAccountStatusEnum["PRE_VERIFIED"] = "PRE_VERIFIED";
10
+ ExternalAccountStatusEnum["MANUALLY_APPROVED"] = "MANUALLY_APPROVED";
11
+ })(ExternalAccountStatusEnum || (exports.ExternalAccountStatusEnum = ExternalAccountStatusEnum = {}));
@@ -2,3 +2,7 @@ export * from './dtos/ExternalAccountCurrency';
2
2
  export * from './dtos/GetExternalBankAccountRequest';
3
3
  export * from './dtos/GetExternalBankAccountResponse';
4
4
  export * from './dtos/GetExternalBankResponse';
5
+ export * from './dtos/CreateExternalBankAccountRequest';
6
+ export * from './enums/ExternalAccountOwnershipEnum';
7
+ export * from './enums/ExternalAccountStatusEnum';
8
+ export * from './enums/ExternalAccountTypeEnum';
@@ -18,3 +18,7 @@ __exportStar(require("./dtos/ExternalAccountCurrency"), exports);
18
18
  __exportStar(require("./dtos/GetExternalBankAccountRequest"), exports);
19
19
  __exportStar(require("./dtos/GetExternalBankAccountResponse"), exports);
20
20
  __exportStar(require("./dtos/GetExternalBankResponse"), exports);
21
+ __exportStar(require("./dtos/CreateExternalBankAccountRequest"), exports);
22
+ __exportStar(require("./enums/ExternalAccountOwnershipEnum"), exports);
23
+ __exportStar(require("./enums/ExternalAccountStatusEnum"), exports);
24
+ __exportStar(require("./enums/ExternalAccountTypeEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.8.41",
3
+ "version": "1.8.43",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,14 @@
1
+ import {ExternalAccountTypeEnum} from "../enums/ExternalAccountTypeEnum";
2
+ import {ExternalAccountOwnershipEnum} from "../enums/ExternalAccountOwnershipEnum";
3
+
4
+ export class CreateExternalBankAccountRequest {
5
+ accountHolderName: string;
6
+ countryId?: string;
7
+ accountNumber?: string;
8
+ routingNumber?: string;
9
+ alias?: string;
10
+ accountType: ExternalAccountTypeEnum;
11
+ bankId?: string;
12
+ bankName?: string;
13
+ ownership?: ExternalAccountOwnershipEnum;
14
+ }
@@ -9,7 +9,6 @@ export default class GetExternalBankAccountResponse {
9
9
  directoryId: string;
10
10
  typeOfDirectoryId: string;
11
11
  accountHolderName: string;
12
- email: string | null;
13
12
  accountType: ExternalAccountTypeEnum;
14
13
  bankName: string | null;
15
14
  iconUrl: string | null
@@ -0,0 +1,4 @@
1
+ export enum ExternalAccountOwnershipEnum {
2
+ SELF = "SELF",
3
+ OTHER = "OTHER"
4
+ }
@@ -0,0 +1,7 @@
1
+ export enum ExternalAccountStatusEnum {
2
+ PENDING = "PENDING",
3
+ FAILED = "FAILED",
4
+ VERIFIED = "VERIFIED",
5
+ PRE_VERIFIED = "PRE_VERIFIED",
6
+ MANUALLY_APPROVED = "MANUALLY_APPROVED"
7
+ }
@@ -1,4 +1,9 @@
1
1
  export * from './dtos/ExternalAccountCurrency';
2
2
  export * from './dtos/GetExternalBankAccountRequest';
3
3
  export * from './dtos/GetExternalBankAccountResponse';
4
- export * from './dtos/GetExternalBankResponse';
4
+ export * from './dtos/GetExternalBankResponse';
5
+ export * from './dtos/CreateExternalBankAccountRequest';
6
+
7
+ export * from './enums/ExternalAccountOwnershipEnum';
8
+ export * from './enums/ExternalAccountStatusEnum';
9
+ export * from './enums/ExternalAccountTypeEnum';