turf-common 1.0.19-beta.14 → 1.0.19-beta.16

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.
@@ -6,7 +6,7 @@ export interface ICreatePricingPlanResponse extends Modify<IPricingPlanEntity, {
6
6
  }
7
7
  export interface ICreatePricingPlanDtoRequest {
8
8
  effective_from_date: number;
9
- effective_to_date: number;
9
+ effective_to_date?: number;
10
10
  base_price: number;
11
11
  unit: string;
12
12
  pitch_slab: {
@@ -2,7 +2,7 @@ import { IModifyEntity, ITurf } from "../../@type";
2
2
  import { IBookingDetailsWithCode } from "../booking-details-with-code.interface";
3
3
  export interface IGetAllBookingOfTurfResponse {
4
4
  turfs: {
5
- [turfId: number]: ITurf;
5
+ [turfId: number]: IModifyEntity<ITurf>;
6
6
  };
7
7
  bookings: {
8
8
  [turfId: string]: {
@@ -1,6 +1,6 @@
1
1
  import { CronJobsNames, CronJobsStatus } from "../../@enum";
2
- import { ICronJobsEntity, IModifyEntity } from "../../@type";
3
- export interface IGetCronJobByDateRangeNameStatusResponse extends Array<IModifyEntity<ICronJobsEntity>> {
2
+ import { ICronJobsEntity } from "../../@type";
3
+ export interface IGetCronJobByDateRangeNameStatusResponse extends Array<ICronJobsEntity> {
4
4
  }
5
5
  export interface IGetCronJobByDateRangeNameStatusRequest {
6
6
  dateRange?: string;
@@ -6,11 +6,11 @@ export interface IUpdateBankDetailResponse extends Modify<IBankDetailsEntity, {
6
6
  }
7
7
  export interface IUpdateBankDetailRequest {
8
8
  qrCode?: IUploadedMulterFile;
9
- bankName: string;
10
- accountName: string;
11
- accountNo: string;
12
- ifscCode: string;
9
+ bankName?: string;
10
+ accountName?: string;
11
+ accountNo?: string;
12
+ ifscCode?: string;
13
13
  upiId?: string;
14
14
  bankAddress?: string;
15
- branch: string;
15
+ branch?: string;
16
16
  }
@@ -21,7 +21,7 @@ export interface IUpdateStaffMemberResponse {
21
21
  imageUrl: null | string;
22
22
  turfids?: string[];
23
23
  }
24
- export declare class IUpdateStaffMemberRequest {
24
+ export interface IUpdateStaffMemberRequest {
25
25
  firstname?: string;
26
26
  lastname?: string;
27
27
  phone?: number;
@@ -1,9 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IUpdateStaffMemberRequest = void 0;
4
- var IUpdateStaffMemberRequest = /** @class */ (function () {
5
- function IUpdateStaffMemberRequest() {
6
- }
7
- return IUpdateStaffMemberRequest;
8
- }());
9
- exports.IUpdateStaffMemberRequest = IUpdateStaffMemberRequest;
@@ -26,6 +26,7 @@ export interface IBookingDetailsWithCode {
26
26
  netTotal: number;
27
27
  amountPayable: number;
28
28
  refundPayable: number;
29
+ totalRefundedAmount: number;
29
30
  code: string;
30
31
  slot_cost: string;
31
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.19-beta.14",
3
+ "version": "1.0.19-beta.16",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",