turf-common 1.0.16-beta.10 → 1.0.16-beta.12

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,12 @@
1
+ import { IEntityAuditColumn } from "./entity-audit-column.type";
2
+ export interface IBankDetailsEntity extends IEntityAuditColumn {
3
+ id: number;
4
+ bankName: string;
5
+ accountNo: string;
6
+ ifscCode: string;
7
+ upiId: string;
8
+ qrCode: string;
9
+ bankAddress: string;
10
+ branch: string;
11
+ accountName: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { IEntityAuditColumn } from "./entity-audit-column.type";
2
+ import { IOrganizationEntity } from "./organization-entity.type";
3
+ export interface ICouponEntity extends IEntityAuditColumn {
4
+ id: number;
5
+ code: string;
6
+ org_id: number;
7
+ }
8
+ export interface ICouponRel {
9
+ organization: IOrganizationEntity;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,7 @@
1
1
  import { OrganizationStatus } from "../../enums/organization-status.enum";
2
+ import { IEntityAuditColumn } from "./entity-audit-column.type";
2
3
  import { ITurfEntity } from "./turf-entity.type";
3
- export type IOrganizationEntity = {
4
+ export interface IOrganizationEntity extends IEntityAuditColumn {
4
5
  id: number;
5
6
  name: string;
6
7
  email: string;
@@ -14,7 +15,7 @@ export type IOrganizationEntity = {
14
15
  deed_file_path: string;
15
16
  status: OrganizationStatus;
16
17
  registrationId: number;
17
- };
18
+ }
18
19
  export interface IOrganizationRel {
19
20
  turfs: ITurfEntity[];
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.16-beta.10",
3
+ "version": "1.0.16-beta.12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",