@konplit-services/common 1.0.366 → 1.0.367

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.
@@ -1,4 +1,4 @@
1
- import { CURRENCY_TYPE } from "../../../helper";
1
+ import { BANK_ACCOUNT_TYPE, CURRENCY_TYPE } from "../../../helper";
2
2
  import { StreamEvent, StreamName, Subjects } from "../../subjects";
3
3
  export interface BankAccountCreatedEvent {
4
4
  subject: Subjects.BANKACCOUNT_CREATED;
@@ -11,6 +11,7 @@ export interface BankAccountCreatedEvent {
11
11
  bankName: string;
12
12
  accountNumber: string;
13
13
  accountName: string;
14
+ bankAccountType: BANK_ACCOUNT_TYPE;
14
15
  bankId: string;
15
16
  currency?: CURRENCY_TYPE;
16
17
  bvn?: string;
@@ -1,4 +1,4 @@
1
- import { CURRENCY_TYPE } from "../../../helper";
1
+ import { BANK_ACCOUNT_TYPE, CURRENCY_TYPE } from "../../../helper";
2
2
  import { StreamEvent, StreamName, Subjects } from "../../subjects";
3
3
  export interface BankAccountUpdatedEvent {
4
4
  subject: Subjects.BANKACCOUNT_UPDATED;
@@ -11,6 +11,7 @@ export interface BankAccountUpdatedEvent {
11
11
  bankName: string;
12
12
  accountNumber: string;
13
13
  accountName: string;
14
+ bankAccountType: BANK_ACCOUNT_TYPE;
14
15
  bankId: string;
15
16
  currency?: CURRENCY_TYPE;
16
17
  bvn?: string;
@@ -0,0 +1,4 @@
1
+ export declare enum BANK_ACCOUNT_TYPE {
2
+ main = "main",
3
+ sub = "sub"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BANK_ACCOUNT_TYPE = void 0;
4
+ var BANK_ACCOUNT_TYPE;
5
+ (function (BANK_ACCOUNT_TYPE) {
6
+ BANK_ACCOUNT_TYPE["main"] = "main";
7
+ BANK_ACCOUNT_TYPE["sub"] = "sub";
8
+ })(BANK_ACCOUNT_TYPE = exports.BANK_ACCOUNT_TYPE || (exports.BANK_ACCOUNT_TYPE = {}));
@@ -48,3 +48,4 @@ export * from "./wallet-transaction.types";
48
48
  export * from "./generate-query-params";
49
49
  export * from "./subscription-cron-expression";
50
50
  export * from "./encryptions";
51
+ export * from "./bank-account-types";
@@ -64,3 +64,4 @@ __exportStar(require("./wallet-transaction.types"), exports);
64
64
  __exportStar(require("./generate-query-params"), exports);
65
65
  __exportStar(require("./subscription-cron-expression"), exports);
66
66
  __exportStar(require("./encryptions"), exports);
67
+ __exportStar(require("./bank-account-types"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.366",
3
+ "version": "1.0.367",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",