turf-common 1.0.16-beta.52 → 1.0.16-beta.55

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.
@@ -3,15 +3,15 @@ import { IUserEntityWithoutPassword } from "./userentity-without-password.interf
3
3
  export interface IGetOrganizationByOrgId {
4
4
  id: number;
5
5
  name: string;
6
- email: string;
7
- contact_no: string;
6
+ email: string | null;
7
+ contact_no: string | null;
8
8
  type: string;
9
9
  pan_no: string;
10
10
  pan_file_path: string;
11
- gst_no: string;
12
- gst_file_path: string;
13
- deed: any;
14
- deed_file_path: any;
11
+ gst_no: string | null;
12
+ gst_file_path: string | null;
13
+ deed: string | null;
14
+ deed_file_path: string | null;
15
15
  createdOn: Date;
16
16
  updatedOn: Date;
17
17
  createdBy: number;
@@ -8,15 +8,15 @@ export interface IGetRegistration {
8
8
  [id: string]: {
9
9
  id: number;
10
10
  name: string;
11
- email: string;
12
- contact_no: string;
11
+ email: string | null;
12
+ contact_no: string | null;
13
13
  type: string;
14
14
  pan_no: string;
15
15
  pan_file_path: string;
16
- gst_no: string;
17
- gst_file_path: string;
18
- deed: string;
19
- deed_file_path: string;
16
+ gst_no: string | null;
17
+ gst_file_path: string | null;
18
+ deed: string | null;
19
+ deed_file_path: string | null;
20
20
  createdBy: number;
21
21
  createdOn: Date;
22
22
  updatedBy: number;
@@ -7,15 +7,15 @@ export interface IGetRegistrationEntityById {
7
7
  [id: string]: {
8
8
  id: number;
9
9
  name: string;
10
- email: string;
11
- contact_no: string;
10
+ email: string | null;
11
+ contact_no: string | null;
12
12
  type: string;
13
13
  pan_no: string;
14
14
  pan_file_path: string;
15
- gst_no: string;
16
- gst_file_path: string;
17
- deed: string;
18
- deed_file_path: string;
15
+ gst_no: string | null;
16
+ gst_file_path: string | null;
17
+ deed: string | null;
18
+ deed_file_path: string | null;
19
19
  createdBy: number;
20
20
  createdOn: Date;
21
21
  updatedBy: number;
@@ -17,7 +17,7 @@ export interface IUpdateRecurringBooking extends IBookingDetailsEntity {
17
17
  updatedOn: Date;
18
18
  createdBy: number;
19
19
  updatedBy: number;
20
- email: string;
20
+ email: string | null;
21
21
  status: BookingDetailsStatus;
22
22
  sport: string;
23
23
  initialBookingGrossAmount: number;
@@ -14,10 +14,10 @@ export interface IBookingDetailsWithCode {
14
14
  updatedOn: Date;
15
15
  createdBy: number;
16
16
  updatedBy: number;
17
- email: string;
17
+ email: string | null;
18
18
  status: BookingDetailsStatus;
19
19
  sport: string;
20
- remarks: string;
20
+ remarks: string | null;
21
21
  initialBookingGrossAmount: number;
22
22
  additionalBookingGrossAmount: number;
23
23
  discountAmount: number;
@@ -5,7 +5,7 @@ export interface IBankDetailsEntity extends IEntityAuditColumn {
5
5
  accountNo: string;
6
6
  ifscCode: string;
7
7
  upiId: string;
8
- qrCode: string;
8
+ qrCode: string | null;
9
9
  bankAddress: string;
10
10
  branch: string;
11
11
  accountName: string;
@@ -3,6 +3,6 @@ export interface IBookingCustomerEntity extends IEntityAuditColumn {
3
3
  contactNo: string;
4
4
  turfId: number;
5
5
  name: string;
6
- email: string;
6
+ email: string | null;
7
7
  pitchNo: number;
8
8
  }
@@ -11,10 +11,10 @@ export interface IBookingDetailsEntity extends IEntityAuditColumn {
11
11
  totalCost: number;
12
12
  discountedCost: number;
13
13
  amountPaid: number;
14
- email: string;
14
+ email: string | null;
15
15
  status: BookingDetailsStatus;
16
16
  sport: string;
17
- remarks: string;
17
+ remarks: string | null;
18
18
  initialBookingGrossAmount: number;
19
19
  additionalBookingGrossAmount: number;
20
20
  discountAmount: number;
@@ -14,7 +14,7 @@ export interface IBookingHistoryEntity extends IEntityAuditColumn {
14
14
  discountedCost: number;
15
15
  amountPaid: number;
16
16
  operationType: BookingHistoryOperationType;
17
- email: string;
17
+ email: string | null;
18
18
  bookingCodes: string;
19
19
  cancellationAmount: number;
20
20
  refundAmount: number;
@@ -1,10 +1,10 @@
1
- import { CronJobsNames } from '../../enums/cron-jobs-name.enum';
2
- import { CronJobsStatus } from '../../enums/cron-jobs-status.enum';
1
+ import { CronJobsNames } from "../../enums/cron-jobs-name.enum";
2
+ import { CronJobsStatus } from "../../enums/cron-jobs-status.enum";
3
3
  export interface ICronJobsEntity {
4
4
  id: number;
5
5
  job: CronJobsNames;
6
6
  startTime: Date;
7
- endTime: Date;
7
+ endTime: Date | null;
8
8
  message: string;
9
9
  error: string;
10
10
  data: string;
@@ -5,15 +5,15 @@ import { ITurfEntity } from "./turf-entity.interface";
5
5
  export interface IOrganizationEntity extends IEntityAuditColumn, IOrganizationEntityRel {
6
6
  id: number;
7
7
  name: string;
8
- email: string;
9
- contact_no: string;
8
+ email: string | null;
9
+ contact_no: string | null;
10
10
  type: string;
11
11
  pan_no: string;
12
12
  pan_file_path: string;
13
- gst_no: string;
14
- gst_file_path: string;
15
- deed: string;
16
- deed_file_path: string;
13
+ gst_no: string | null;
14
+ gst_file_path: string | null;
15
+ deed: string | null;
16
+ deed_file_path: string | null;
17
17
  status: OrganizationStatus;
18
18
  registrationId: number;
19
19
  }
@@ -7,6 +7,6 @@ export interface IRegistrationEntity extends IEntityAuditColumn {
7
7
  email: string;
8
8
  pitchPlan: string;
9
9
  status: RegistrationStatus;
10
- comments: string;
11
- token: string;
10
+ comments: string | null;
11
+ token: string | null;
12
12
  }
@@ -15,6 +15,6 @@ export interface ISubscriptionEntity extends IEntityAuditColumn {
15
15
  remarks: string;
16
16
  registrationId: number;
17
17
  pricingPlanId: number;
18
- previousSubscriptionIds: string;
18
+ previousSubscriptionIds: string | null;
19
19
  }
20
20
  export type ISubscriptionModel = ISubscriptionEntity;
@@ -15,10 +15,10 @@ export type IBookingDetailsWithBooking = {
15
15
  totalCost: number;
16
16
  discountedCost: number;
17
17
  amountPaid: number;
18
- email: string;
18
+ email: string | null;
19
19
  status: BookingDetailsStatus;
20
20
  sport: string;
21
- remarks: string;
21
+ remarks: string | null;
22
22
  initialBookingGrossAmount: number;
23
23
  additionalBookingGrossAmount: number;
24
24
  discountAmount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.16-beta.52",
3
+ "version": "1.0.16-beta.55",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",